saddr 17 arch/alpha/include/asm/checksum.h __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, saddr 20 arch/alpha/include/asm/checksum.h __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, saddr 69 arch/alpha/include/asm/checksum.h extern __sum16 csum_ipv6_magic(const struct in6_addr *saddr, saddr 45 arch/alpha/lib/checksum.c __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, saddr 49 arch/alpha/lib/checksum.c (__force u64)saddr + (__force u64)daddr + saddr 54 arch/alpha/lib/checksum.c __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, saddr 59 arch/alpha/lib/checksum.c result = (__force u64)saddr + (__force u64)daddr + saddr 70 arch/arc/include/asm/checksum.h csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, saddr 80 arch/arc/include/asm/checksum.h : "r"(saddr), "r"(daddr), saddr 88 arch/arm/include/asm/checksum.h csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, saddr 102 arch/arm/include/asm/checksum.h : "r" (daddr), "r" (saddr), "r" (lenprot) saddr 115 arch/arm/include/asm/checksum.h : "r" (sum), "r" (daddr), "r" (saddr), "r" (lenprot) saddr 125 arch/arm/include/asm/checksum.h csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, saddr 128 arch/arm/include/asm/checksum.h return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); saddr 144 arch/arm/include/asm/checksum.h __csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, __be32 len, saddr 148 arch/arm/include/asm/checksum.h csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, saddr 151 arch/arm/include/asm/checksum.h return csum_fold(__csum_ipv6_magic(saddr, daddr, htonl(len), saddr 125 arch/arm64/mm/hugetlbpage.c unsigned long i, saddr = addr; saddr 144 arch/arm64/mm/hugetlbpage.c flush_tlb_range(&vma, saddr, addr); saddr 165 arch/arm64/mm/hugetlbpage.c unsigned long i, saddr = addr; saddr 170 arch/arm64/mm/hugetlbpage.c flush_tlb_range(&vma, saddr, addr); saddr 10 arch/c6x/include/asm/checksum.h csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, saddr 24 arch/c6x/include/asm/checksum.h : "a" (saddr), "a" (daddr), "a" (proto)); saddr 26 arch/csky/include/asm/checksum.h static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, saddr 36 arch/csky/include/asm/checksum.h : "r"((__force u32)saddr), "r"((__force u32)daddr), saddr 28 arch/hexagon/include/asm/checksum.h __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, saddr 32 arch/hexagon/include/asm/checksum.h __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, saddr 50 arch/hexagon/lib/checksum.c __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, saddr 54 arch/hexagon/lib/checksum.c (__force u64)saddr + (__force u64)daddr + saddr 58 arch/hexagon/lib/checksum.c __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, saddr 63 arch/hexagon/lib/checksum.c result = (__force u64)saddr + (__force u64)daddr + saddr 20 arch/ia64/include/asm/checksum.h extern __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, saddr 23 arch/ia64/include/asm/checksum.h extern __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, saddr 72 arch/ia64/include/asm/checksum.h extern __sum16 csum_ipv6_magic(const struct in6_addr *saddr, saddr 38 arch/ia64/lib/checksum.c csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, saddr 42 arch/ia64/lib/checksum.c (__force u64)saddr + (__force u64)daddr + saddr 49 arch/ia64/lib/checksum.c csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, saddr 54 arch/ia64/lib/checksum.c result = (__force u64)saddr + (__force u64)daddr + saddr 82 arch/m68k/include/asm/checksum.h csum_tcpudp_nofold(__be32 saddr, __be32 daddr, unsigned short len, saddr 90 arch/m68k/include/asm/checksum.h : "=&d" (sum), "=d" (saddr) saddr 91 arch/m68k/include/asm/checksum.h : "g" (daddr), "1" (saddr), "d" (len + proto), saddr 102 arch/m68k/include/asm/checksum.h csum_tcpudp_magic(__be32 saddr, __be32 daddr, unsigned short len, saddr 105 arch/m68k/include/asm/checksum.h return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); saddr 120 arch/m68k/include/asm/checksum.h csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, saddr 143 arch/m68k/include/asm/checksum.h : "a" (saddr), "a" (daddr), "d" (len + proto), saddr 19 arch/microblaze/include/asm/checksum.h csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, saddr 27 arch/microblaze/include/asm/checksum.h : "d" (saddr), "d" (daddr), saddr 163 arch/mips/include/asm/checksum.h static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, saddr 196 arch/mips/include/asm/checksum.h "r" ((__force unsigned long)saddr), saddr 218 arch/mips/include/asm/checksum.h static __inline__ __sum16 csum_ipv6_magic(const struct in6_addr *saddr, saddr 278 arch/mips/include/asm/checksum.h : "r" (saddr), "r" (daddr), saddr 185 arch/mips/include/asm/octeon/cvmx-dpi-defs.h uint64_t saddr:33; saddr 189 arch/mips/include/asm/octeon/cvmx-dpi-defs.h uint64_t saddr:33; saddr 203 arch/mips/include/asm/octeon/cvmx-dpi-defs.h uint64_t saddr:29; saddr 207 arch/mips/include/asm/octeon/cvmx-dpi-defs.h uint64_t saddr:29; saddr 967 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t saddr:29; saddr 971 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t saddr:29; saddr 979 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t saddr:29; saddr 983 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t saddr:29; saddr 600 arch/mips/include/asm/octeon/cvmx-npi-defs.h uint64_t saddr:36; saddr 602 arch/mips/include/asm/octeon/cvmx-npi-defs.h uint64_t saddr:36; saddr 1546 arch/mips/include/asm/octeon/cvmx-npi-defs.h uint64_t saddr:36; saddr 1548 arch/mips/include/asm/octeon/cvmx-npi-defs.h uint64_t saddr:36; saddr 47 arch/nios2/include/asm/checksum.h static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, saddr 61 arch/nios2/include/asm/checksum.h : "=r" (sum), "=r" (saddr) saddr 64 arch/nios2/include/asm/checksum.h "1" (saddr) saddr 70 arch/nios2/include/asm/checksum.h static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, saddr 74 arch/nios2/include/asm/checksum.h return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); saddr 88 arch/parisc/include/asm/checksum.h static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, saddr 98 arch/parisc/include/asm/checksum.h : "r" (daddr), "r"(saddr), "r"(proto+len), "0"(sum)); saddr 106 arch/parisc/include/asm/checksum.h static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, saddr 110 arch/parisc/include/asm/checksum.h return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); saddr 124 arch/parisc/include/asm/checksum.h static __inline__ __sum16 csum_ipv6_magic(const struct in6_addr *saddr, saddr 182 arch/parisc/include/asm/checksum.h : "=r" (sum), "=r" (saddr), "=r" (daddr), "=r" (len) saddr 183 arch/parisc/include/asm/checksum.h : "0" (sum), "1" (saddr), "2" (daddr), "3" (len), "r" (proto) saddr 123 arch/parisc/kernel/unaligned.c unsigned long saddr = regs->ior; saddr 144 arch/parisc/kernel/unaligned.c : "0" (val), "r" (saddr), "r" (regs->isr) saddr 157 arch/parisc/kernel/unaligned.c unsigned long saddr = regs->ior; saddr 182 arch/parisc/kernel/unaligned.c : "0" (val), "r" (saddr), "r" (regs->isr) saddr 196 arch/parisc/kernel/unaligned.c unsigned long saddr = regs->ior; saddr 226 arch/parisc/kernel/unaligned.c : "0" (val), "r" (saddr), "r" (regs->isr) saddr 252 arch/parisc/kernel/unaligned.c : "0" (valh), "1" (vall), "r" (saddr), "r" (regs->isr) saddr 57 arch/powerpc/include/asm/checksum.h static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, saddr 63 arch/powerpc/include/asm/checksum.h s += (__force u32)saddr; saddr 79 arch/powerpc/include/asm/checksum.h : "r" (daddr), "r"(saddr), "r"(proto + len), "0"(sum)); saddr 88 arch/powerpc/include/asm/checksum.h static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, saddr 91 arch/powerpc/include/asm/checksum.h return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); saddr 210 arch/powerpc/include/asm/checksum.h __sum16 csum_ipv6_magic(const struct in6_addr *saddr, saddr 173 arch/powerpc/platforms/ps3/gelic_udbg.c h_ip->saddr = 0x00000000; saddr 153 arch/powerpc/sysdev/fsl_rmu.c u32 saddr; saddr 693 arch/powerpc/sysdev/fsl_rmu.c desc->saddr = 0x00000004 saddr 95 arch/s390/include/asm/checksum.h csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, __u8 proto, saddr 100 arch/s390/include/asm/checksum.h csum += (__force __u32)saddr; saddr 101 arch/s390/include/asm/checksum.h if (csum < (__force __u32)saddr) saddr 121 arch/s390/include/asm/checksum.h csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, __u8 proto, saddr 124 arch/s390/include/asm/checksum.h return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); saddr 156 arch/s390/include/asm/cio.h __u32 saddr; saddr 125 arch/s390/include/asm/gmap.h int gmap_shadow_r2t(struct gmap *sg, unsigned long saddr, unsigned long r2t, saddr 127 arch/s390/include/asm/gmap.h int gmap_shadow_r3t(struct gmap *sg, unsigned long saddr, unsigned long r3t, saddr 129 arch/s390/include/asm/gmap.h int gmap_shadow_sgt(struct gmap *sg, unsigned long saddr, unsigned long sgt, saddr 131 arch/s390/include/asm/gmap.h int gmap_shadow_pgt(struct gmap *sg, unsigned long saddr, unsigned long pgt, saddr 133 arch/s390/include/asm/gmap.h int gmap_shadow_pgt_lookup(struct gmap *sg, unsigned long saddr, saddr 135 arch/s390/include/asm/gmap.h int gmap_shadow_page(struct gmap *sg, unsigned long saddr, pte_t pte); saddr 1149 arch/s390/include/asm/pgtable.h int ptep_shadow_pte(struct mm_struct *mm, unsigned long saddr, saddr 1151 arch/s390/include/asm/pgtable.h void ptep_unshadow_pte(struct mm_struct *mm, unsigned long saddr, pte_t *ptep); saddr 982 arch/s390/kvm/gaccess.c static int kvm_s390_shadow_tables(struct gmap *sg, unsigned long saddr, saddr 995 arch/s390/kvm/gaccess.c vaddr.addr = saddr; saddr 1050 arch/s390/kvm/gaccess.c rc = gmap_shadow_r2t(sg, saddr, rfte.val, *fake); saddr 1076 arch/s390/kvm/gaccess.c rc = gmap_shadow_r3t(sg, saddr, rste.val, *fake); saddr 1111 arch/s390/kvm/gaccess.c rc = gmap_shadow_sgt(sg, saddr, rtte.val, *fake); saddr 1142 arch/s390/kvm/gaccess.c rc = gmap_shadow_pgt(sg, saddr, ste.val, *fake); saddr 1165 arch/s390/kvm/gaccess.c unsigned long saddr) saddr 1181 arch/s390/kvm/gaccess.c rc = gmap_shadow_pgt_lookup(sg, saddr, &pgt, &dat_protection, &fake); saddr 1183 arch/s390/kvm/gaccess.c rc = kvm_s390_shadow_tables(sg, saddr, &pgt, &dat_protection, saddr 1186 arch/s390/kvm/gaccess.c vaddr.addr = saddr; saddr 1200 arch/s390/kvm/gaccess.c rc = gmap_shadow_page(sg, saddr, __pte(pte.val)); saddr 363 arch/s390/kvm/gaccess.h unsigned long saddr); saddr 1734 arch/s390/mm/gmap.c int gmap_shadow_r2t(struct gmap *sg, unsigned long saddr, unsigned long r2t, saddr 1753 arch/s390/mm/gmap.c table = gmap_table_walk(sg, saddr, 4); /* get region-1 pointer */ saddr 1780 arch/s390/mm/gmap.c raddr = (saddr & _REGION1_MASK) | _SHADOW_RMAP_REGION1; saddr 1787 arch/s390/mm/gmap.c table = gmap_table_walk(sg, saddr, 4); saddr 1818 arch/s390/mm/gmap.c int gmap_shadow_r3t(struct gmap *sg, unsigned long saddr, unsigned long r3t, saddr 1837 arch/s390/mm/gmap.c table = gmap_table_walk(sg, saddr, 3); /* get region-2 pointer */ saddr 1864 arch/s390/mm/gmap.c raddr = (saddr & _REGION2_MASK) | _SHADOW_RMAP_REGION2; saddr 1871 arch/s390/mm/gmap.c table = gmap_table_walk(sg, saddr, 3); saddr 1902 arch/s390/mm/gmap.c int gmap_shadow_sgt(struct gmap *sg, unsigned long saddr, unsigned long sgt, saddr 1921 arch/s390/mm/gmap.c table = gmap_table_walk(sg, saddr, 2); /* get region-3 pointer */ saddr 1948 arch/s390/mm/gmap.c raddr = (saddr & _REGION3_MASK) | _SHADOW_RMAP_REGION3; saddr 1955 arch/s390/mm/gmap.c table = gmap_table_walk(sg, saddr, 2); saddr 1986 arch/s390/mm/gmap.c int gmap_shadow_pgt_lookup(struct gmap *sg, unsigned long saddr, saddr 1996 arch/s390/mm/gmap.c table = gmap_table_walk(sg, saddr, 1); /* get segment pointer */ saddr 2026 arch/s390/mm/gmap.c int gmap_shadow_pgt(struct gmap *sg, unsigned long saddr, unsigned long pgt, saddr 2045 arch/s390/mm/gmap.c table = gmap_table_walk(sg, saddr, 1); /* get segment pointer */ saddr 2069 arch/s390/mm/gmap.c raddr = (saddr & _SEGMENT_MASK) | _SHADOW_RMAP_SEGMENT; saddr 2074 arch/s390/mm/gmap.c table = gmap_table_walk(sg, saddr, 1); saddr 2105 arch/s390/mm/gmap.c int gmap_shadow_page(struct gmap *sg, unsigned long saddr, pte_t pte) saddr 2122 arch/s390/mm/gmap.c rmap->raddr = (saddr & PAGE_MASK) | _SHADOW_RMAP_PGTABLE; saddr 2139 arch/s390/mm/gmap.c tptep = (pte_t *) gmap_table_walk(sg, saddr, 0); saddr 2146 arch/s390/mm/gmap.c rc = ptep_shadow_pte(sg->mm, saddr, sptep, tptep, pte); saddr 630 arch/s390/mm/pgtable.c int ptep_shadow_pte(struct mm_struct *mm, unsigned long saddr, saddr 657 arch/s390/mm/pgtable.c void ptep_unshadow_pte(struct mm_struct *mm, unsigned long saddr, pte_t *ptep) saddr 665 arch/s390/mm/pgtable.c ptep_flush_direct(mm, saddr, ptep, nodat); saddr 114 arch/sh/include/asm/checksum_32.h static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, saddr 130 arch/sh/include/asm/checksum_32.h : "r" (daddr), "r" (saddr), "1" (len_proto), "0" (sum) saddr 140 arch/sh/include/asm/checksum_32.h static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, saddr 144 arch/sh/include/asm/checksum_32.h return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); saddr 157 arch/sh/include/asm/checksum_32.h static inline __sum16 csum_ipv6_magic(const struct in6_addr *saddr, saddr 184 arch/sh/include/asm/checksum_32.h : "r" (saddr), "r" (daddr), saddr 173 arch/sparc/include/asm/checksum_32.h static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, saddr 181 arch/sparc/include/asm/checksum_32.h : "=r" (sum), "=r" (saddr) saddr 183 arch/sparc/include/asm/checksum_32.h "1" (saddr) saddr 192 arch/sparc/include/asm/checksum_32.h static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, saddr 196 arch/sparc/include/asm/checksum_32.h return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); saddr 201 arch/sparc/include/asm/checksum_32.h static inline __sum16 csum_ipv6_magic(const struct in6_addr *saddr, saddr 226 arch/sparc/include/asm/checksum_32.h : "r" (saddr), "r" (daddr), saddr 99 arch/sparc/include/asm/checksum_64.h static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, saddr 108 arch/sparc/include/asm/checksum_64.h : "=r" (sum), "=r" (saddr) saddr 109 arch/sparc/include/asm/checksum_64.h : "r" (daddr), "r" (proto + len), "0" (sum), "1" (saddr) saddr 118 arch/sparc/include/asm/checksum_64.h static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, saddr 122 arch/sparc/include/asm/checksum_64.h return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); saddr 127 arch/sparc/include/asm/checksum_64.h static inline __sum16 csum_ipv6_magic(const struct in6_addr *saddr, saddr 152 arch/sparc/include/asm/checksum_64.h : "r" (saddr), "r" (daddr), "r"(htonl(len)), saddr 175 arch/sparc/kernel/unaligned_32.c unsigned long *saddr, int is_signed); saddr 198 arch/sparc/kernel/unaligned_64.c unsigned long *saddr, int is_signed, int asi); saddr 20 arch/unicore32/include/asm/checksum.h csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, saddr 30 arch/unicore32/include/asm/checksum.h : "r" (sum), "r" (daddr), "r" (saddr), "r" (len), "Ir" (htons(proto)) saddr 114 arch/x86/include/asm/checksum_32.h static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, saddr 123 arch/x86/include/asm/checksum_32.h : "g" (daddr), "g"(saddr), saddr 132 arch/x86/include/asm/checksum_32.h static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, saddr 136 arch/x86/include/asm/checksum_32.h return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); saddr 150 arch/x86/include/asm/checksum_32.h static inline __sum16 csum_ipv6_magic(const struct in6_addr *saddr, saddr 166 arch/x86/include/asm/checksum_32.h : "r" (saddr), "r" (daddr), saddr 88 arch/x86/include/asm/checksum_64.h csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, saddr 96 arch/x86/include/asm/checksum_64.h : "g" (daddr), "g" (saddr), saddr 113 arch/x86/include/asm/checksum_64.h static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, saddr 117 arch/x86/include/asm/checksum_64.h return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); saddr 180 arch/x86/include/asm/checksum_64.h csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, saddr 137 arch/x86/lib/csum-wrappers_64.c __sum16 csum_ipv6_magic(const struct in6_addr *saddr, saddr 153 arch/x86/lib/csum-wrappers_64.c : "[sum]" (rest), [saddr] "r" (saddr), [daddr] "r" (daddr)); saddr 91 arch/x86/um/asm/checksum.h csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, saddr 99 arch/x86/um/asm/checksum.h : "g" (daddr), "g" (saddr), "g" ((len + proto) << 8), "0" (sum)); saddr 107 arch/x86/um/asm/checksum.h static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, saddr 111 arch/x86/um/asm/checksum.h return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); saddr 14 arch/x86/um/asm/checksum_32.h static __inline__ __sum16 csum_ipv6_magic(const struct in6_addr *saddr, saddr 32 arch/x86/um/asm/checksum_32.h : "r" (saddr), "r" (daddr), saddr 125 arch/xtensa/include/asm/checksum.h static __inline__ __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, saddr 150 arch/xtensa/include/asm/checksum.h : "r" (daddr), "r" (saddr), "1" (len_proto), "0" (sum)); saddr 158 arch/xtensa/include/asm/checksum.h static __inline__ __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, saddr 162 arch/xtensa/include/asm/checksum.h return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); saddr 176 arch/xtensa/include/asm/checksum.h static __inline__ __sum16 csum_ipv6_magic(const struct in6_addr *saddr, saddr 231 arch/xtensa/include/asm/checksum.h : "r" (saddr), "r" (daddr), saddr 2290 drivers/char/ipmi/ipmi_msghandler.c unsigned char *saddr, saddr 2297 drivers/char/ipmi/ipmi_msghandler.c *saddr = intf->addrinfo[addr->channel].address; saddr 2310 drivers/char/ipmi/ipmi_msghandler.c unsigned char saddr = 0, lun = 0; saddr 2320 drivers/char/ipmi/ipmi_msghandler.c rv = check_addr(user->intf, addr, &saddr, &lun); saddr 2330 drivers/char/ipmi/ipmi_msghandler.c saddr, saddr 2349 drivers/char/ipmi/ipmi_msghandler.c unsigned char saddr = 0, lun = 0; saddr 2359 drivers/char/ipmi/ipmi_msghandler.c rv = check_addr(user->intf, addr, &saddr, &lun); saddr 2370 drivers/char/ipmi/ipmi_msghandler.c saddr, saddr 495 drivers/crypto/ccp/ccp-dev-v5.c struct ccp_dma_info *saddr = &op->src.u.dma; saddr 518 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_LEN(&desc) = saddr->length; saddr 1049 drivers/crypto/chelsio/chtls/chtls_cm.c n = dst_neigh_lookup(dst, &iph->saddr); saddr 1072 drivers/crypto/chelsio/chtls/chtls_cm.c newinet->inet_daddr = iph->saddr; saddr 1225 drivers/crypto/chelsio/chtls/chtls_cm.c chtls_set_req_addr(oreq, iph->daddr, iph->saddr); saddr 1613 drivers/crypto/hifn_795x.c static int ablkcipher_get(void *saddr, unsigned int *srestp, unsigned int offset, saddr 1627 drivers/crypto/hifn_795x.c memcpy(daddr + dst->offset + offset, saddr, copy); saddr 1633 drivers/crypto/hifn_795x.c saddr += copy; saddr 1671 drivers/crypto/hifn_795x.c void *saddr; saddr 1689 drivers/crypto/hifn_795x.c saddr = kmap_atomic(sg_page(t)); saddr 1691 drivers/crypto/hifn_795x.c err = ablkcipher_get(saddr, &t->length, t->offset, saddr 1694 drivers/crypto/hifn_795x.c kunmap_atomic(saddr); saddr 1699 drivers/crypto/hifn_795x.c kunmap_atomic(saddr); saddr 772 drivers/dma/at_hdmac.c desc->lli.saddr = xt->src_start; saddr 845 drivers/dma/at_hdmac.c desc->lli.saddr = src + offset; saddr 901 drivers/dma/at_hdmac.c desc->lli.saddr = psrc; saddr 1125 drivers/dma/at_hdmac.c desc->lli.saddr = mem; saddr 1166 drivers/dma/at_hdmac.c desc->lli.saddr = reg; saddr 1244 drivers/dma/at_hdmac.c desc->lli.saddr = buf_addr + (period_len * period_index); saddr 1256 drivers/dma/at_hdmac.c desc->lli.saddr = sconfig->src_addr; saddr 167 drivers/dma/at_hdmac_regs.h dma_addr_t saddr; saddr 385 drivers/dma/at_hdmac_regs.h &lli->saddr, &lli->daddr, saddr 285 drivers/dma/fsl-edma-common.c cur_addr = edma_readl(fsl_chan->edma, ®s->tcd[ch].saddr); saddr 294 drivers/dma/fsl-edma-common.c dma_addr = le32_to_cpu(edesc->tcd[i].vtcd->saddr); saddr 353 drivers/dma/fsl-edma-common.c edma_writel(edma, le32_to_cpu(tcd->saddr), ®s->tcd[ch].saddr); saddr 386 drivers/dma/fsl-edma-common.c tcd->saddr = cpu_to_le32(src); saddr 71 drivers/dma/fsl-edma-common.h __le32 saddr; saddr 65 drivers/dma/k3dma.c u32 saddr; saddr 166 drivers/dma/k3dma.c writel_relaxed(hw->saddr, phy->base + CX_SRC); saddr 457 drivers/dma/k3dma.c ds->desc_hw[num].saddr = src; saddr 134 drivers/dma/mpc512x_dma.c u32 saddr; /* Source address */ saddr 660 drivers/dma/mpc512x_dma.c tcd->saddr = src; saddr 742 drivers/dma/mpc512x_dma.c tcd->saddr = per_paddr; saddr 751 drivers/dma/mpc512x_dma.c tcd->saddr = sg_dma_address(sg); saddr 138 drivers/dma/owl-dma.c u32 saddr; saddr 409 drivers/dma/owl-dma.c hw->saddr = src; saddr 336 drivers/dma/st_fdma.c hw_node->saddr = src; saddr 421 drivers/dma/st_fdma.c hw_node->saddr = fchan->cfg.dev_addr; saddr 494 drivers/dma/st_fdma.c hw_node->saddr = buf_addr + (i * period_len); saddr 540 drivers/dma/st_fdma.c hw_node->saddr = sg_dma_address(sg); saddr 53 drivers/dma/st_fdma.h u32 saddr; saddr 75 drivers/dma/zx_dma.c u32 saddr; saddr 156 drivers/dma/zx_dma.c writel_relaxed(hw->saddr, phy->base + REG_ZX_SRC_ADDR); saddr 412 drivers/dma/zx_dma.c ds->desc_hw[num].saddr = src; saddr 219 drivers/firewire/net.c const void *saddr, unsigned len) saddr 32 drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c uint64_t saddr, uint64_t daddr, int n) saddr 42 drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c r = amdgpu_copy_buffer(ring, saddr, daddr, size, NULL, &fence, saddr 79 drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c uint64_t saddr, daddr; saddr 108 drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c saddr = amdgpu_bo_gpu_offset(sobj); saddr 130 drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c time = amdgpu_benchmark_do_move(adev, size, saddr, daddr, n); saddr 2117 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c uint64_t saddr, uint64_t offset, saddr 2126 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (saddr & AMDGPU_GPU_PAGE_MASK || offset & AMDGPU_GPU_PAGE_MASK || saddr 2131 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c eaddr = saddr + size - 1; saddr 2132 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (saddr >= eaddr || saddr 2136 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c saddr /= AMDGPU_GPU_PAGE_SIZE; saddr 2139 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c tmp = amdgpu_vm_it_iter_first(&vm->va, saddr, eaddr); saddr 2143 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c "0x%010Lx-0x%010Lx\n", bo, saddr, eaddr, saddr 2152 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c mapping->start = saddr; saddr 2182 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c uint64_t saddr, uint64_t offset, saddr 2191 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (saddr & AMDGPU_GPU_PAGE_MASK || offset & AMDGPU_GPU_PAGE_MASK || saddr 2196 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c eaddr = saddr + size - 1; saddr 2197 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (saddr >= eaddr || saddr 2206 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c r = amdgpu_vm_bo_clear_mappings(adev, bo_va->base.vm, saddr, size); saddr 2212 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c saddr /= AMDGPU_GPU_PAGE_SIZE; saddr 2215 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c mapping->start = saddr; saddr 2241 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c uint64_t saddr) saddr 2247 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c saddr /= AMDGPU_GPU_PAGE_SIZE; saddr 2250 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (mapping->start == saddr) saddr 2258 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (mapping->start == saddr) saddr 2295 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c uint64_t saddr, uint64_t size) saddr 2301 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c eaddr = saddr + size - 1; saddr 2302 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c saddr /= AMDGPU_GPU_PAGE_SIZE; saddr 2319 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c tmp = amdgpu_vm_it_iter_first(&vm->va, saddr, eaddr); saddr 2322 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (tmp->start < saddr) { saddr 2324 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c before->last = saddr - 1; saddr 2345 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c tmp = amdgpu_vm_it_iter_next(tmp, saddr, eaddr); saddr 2353 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (tmp->start < saddr) saddr 2354 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c tmp->start = saddr; saddr 391 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h uint64_t saddr, uint64_t size); saddr 2060 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u32 saddr = nvbios_rd32(bios, init->offset + 1); saddr 2071 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c daddr, dmask, index, saddr, (sshift & 0x80) ? "<<" : ">>", saddr 2075 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c data = init_shift(init_rd32(init, saddr), sshift) & smask; saddr 36 drivers/gpu/drm/radeon/radeon_benchmark.c uint64_t saddr, uint64_t daddr, saddr 49 drivers/gpu/drm/radeon/radeon_benchmark.c fence = radeon_copy_dma(rdev, saddr, daddr, saddr 54 drivers/gpu/drm/radeon/radeon_benchmark.c fence = radeon_copy_blit(rdev, saddr, daddr, saddr 92 drivers/gpu/drm/radeon/radeon_benchmark.c uint64_t saddr, daddr; saddr 104 drivers/gpu/drm/radeon/radeon_benchmark.c r = radeon_bo_pin(sobj, sdomain, &saddr); saddr 123 drivers/gpu/drm/radeon/radeon_benchmark.c time = radeon_benchmark_do_move(rdev, size, saddr, daddr, saddr 134 drivers/gpu/drm/radeon/radeon_benchmark.c time = radeon_benchmark_do_move(rdev, size, saddr, daddr, saddr 398 drivers/infiniband/core/addr.c fl4.saddr = src_ip; saddr 405 drivers/infiniband/core/addr.c src_in->sin_addr.s_addr = fl4.saddr; saddr 427 drivers/infiniband/core/addr.c fl6.saddr = src_in->sin6_addr; saddr 435 drivers/infiniband/core/addr.c src_in->sin6_addr = fl6.saddr; saddr 1413 drivers/infiniband/core/cma.c saddr = src_addr->sin_addr.s_addr; saddr 1419 drivers/infiniband/core/cma.c if (ipv4_is_multicast(saddr) || ipv4_is_lbcast(saddr) || saddr 1420 drivers/infiniband/core/cma.c ipv4_is_lbcast(daddr) || ipv4_is_zeronet(saddr) || saddr 1422 drivers/infiniband/core/cma.c ipv4_is_loopback(saddr)) saddr 1428 drivers/infiniband/core/cma.c fl4.saddr = saddr; saddr 1464 drivers/infiniband/core/cma.c const struct sockaddr *saddr) saddr 1467 drivers/infiniband/core/cma.c const struct sockaddr_in *saddr4 = (const struct sockaddr_in *)saddr; saddr 1469 drivers/infiniband/core/cma.c const struct sockaddr_in6 *saddr6 = (const struct sockaddr_in6 *)saddr; saddr 1473 drivers/infiniband/core/cma.c return saddr->sa_family == AF_INET && saddr 1477 drivers/infiniband/core/cma.c return saddr->sa_family == AF_INET6 && saddr 3299 drivers/infiniband/core/cma.c struct sockaddr *saddr = cma_src_addr(id_priv); saddr 3317 drivers/infiniband/core/cma.c if (!cma_any_addr(saddr) && saddr 3319 drivers/infiniband/core/cma.c cma_addr_cmp(saddr, cur_saddr)) saddr 157 drivers/infiniband/core/ud_header.c { STRUCT_FIELD(ip4, saddr), saddr 296 drivers/infiniband/core/ud_header.c iph.saddr = header->ip4.saddr; saddr 703 drivers/infiniband/core/verbs.c &hdr->roce4grh.saddr, 4); saddr 1925 drivers/infiniband/hw/bnxt_re/ib_verbs.c memcpy(&qp->qp1_hdr.ip4.saddr, sgid_attr->gid.raw + 12, 4); saddr 4133 drivers/infiniband/hw/cxgb4/cm.c ntohl(iph->daddr), ntohs(tcph->dest), ntohl(iph->saddr), saddr 4137 drivers/infiniband/hw/cxgb4/cm.c iph->daddr, iph->saddr, tcph->dest, saddr 4184 drivers/infiniband/hw/cxgb4/cm.c send_fw_pass_open_req(dev, skb, iph->daddr, tcph->dest, iph->saddr, saddr 455 drivers/infiniband/hw/i40iw/i40iw_cm.c iph->saddr = htonl(cm_node->loc_addr[0]); saddr 482 drivers/infiniband/hw/i40iw/i40iw_cm.c i40iw_copy_ip_htonl(ip6h->saddr.in6_u.u6_addr32, saddr 2043 drivers/infiniband/hw/i40iw/i40iw_cm.c fl6.saddr = src_addr->sin6_addr; saddr 3164 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_info.rem_addr[0] = ntohl(iph->saddr); saddr 3172 drivers/infiniband/hw/i40iw/i40iw_cm.c ip6h->saddr.in6_u.u6_addr32); saddr 1411 drivers/infiniband/hw/i40iw/i40iw_utils.c rem_addr[0] = ntohl(iph->saddr); saddr 1415 drivers/infiniband/hw/i40iw/i40iw_utils.c i40iw_copy_ip_ntohl(rem_addr, ip6h->saddr.in6_u.u6_addr32); saddr 3143 drivers/infiniband/hw/mlx4/qp.c memcpy(&sqp->ud_header.ip4.saddr, saddr 136 drivers/infiniband/hw/ocrdma/ocrdma_ah.c ipv4.saddr = sgid_addr._sockaddr_in.sin_addr.s_addr; saddr 478 drivers/infiniband/hw/qedr/qedr_iw_cm.c fl6.saddr = src_in->sin6_addr; saddr 476 drivers/infiniband/hw/qedr/qedr_roce_cm.c udh->ip4.saddr = ipv4_addr; saddr 85 drivers/infiniband/sw/rxe/rxe_net.c struct in_addr *saddr, saddr 93 drivers/infiniband/sw/rxe/rxe_net.c memcpy(&fl.saddr, saddr, sizeof(*saddr)); saddr 108 drivers/infiniband/sw/rxe/rxe_net.c struct in6_addr *saddr, saddr 116 drivers/infiniband/sw/rxe/rxe_net.c memcpy(&fl6.saddr, saddr, sizeof(*saddr)); saddr 142 drivers/infiniband/sw/rxe/rxe_net.c struct in6_addr *saddr, saddr 164 drivers/infiniband/sw/rxe/rxe_net.c struct in_addr *saddr; saddr 167 drivers/infiniband/sw/rxe/rxe_net.c saddr = &av->sgid_addr._sockaddr_in.sin_addr; saddr 169 drivers/infiniband/sw/rxe/rxe_net.c dst = rxe_find_route4(ndev, saddr, daddr); saddr 290 drivers/infiniband/sw/rxe/rxe_net.c __be32 saddr, __be32 daddr, __u8 proto, saddr 312 drivers/infiniband/sw/rxe/rxe_net.c iph->saddr = saddr; saddr 321 drivers/infiniband/sw/rxe/rxe_net.c struct in6_addr *saddr, struct in6_addr *daddr, saddr 339 drivers/infiniband/sw/rxe/rxe_net.c ip6h->saddr = *saddr; saddr 350 drivers/infiniband/sw/rxe/rxe_net.c struct in_addr *saddr = &av->sgid_addr._sockaddr_in.sin_addr; saddr 362 drivers/infiniband/sw/rxe/rxe_net.c prepare_ipv4_hdr(dst, skb, saddr->s_addr, daddr->s_addr, IPPROTO_UDP, saddr 374 drivers/infiniband/sw/rxe/rxe_net.c struct in6_addr *saddr = &av->sgid_addr._sockaddr_in6.sin6_addr; saddr 386 drivers/infiniband/sw/rxe/rxe_net.c prepare_ipv6_hdr(dst, skb, saddr, daddr, IPPROTO_UDP, saddr 169 drivers/infiniband/sw/rxe/rxe_recv.c struct in_addr *saddr = saddr 174 drivers/infiniband/sw/rxe/rxe_recv.c if (ip_hdr(skb)->daddr != saddr->s_addr) { saddr 177 drivers/infiniband/sw/rxe/rxe_recv.c &saddr->s_addr); saddr 181 drivers/infiniband/sw/rxe/rxe_recv.c if (ip_hdr(skb)->saddr != daddr->s_addr) { saddr 183 drivers/infiniband/sw/rxe/rxe_recv.c &ip_hdr(skb)->saddr, saddr 189 drivers/infiniband/sw/rxe/rxe_recv.c struct in6_addr *saddr = saddr 194 drivers/infiniband/sw/rxe/rxe_recv.c if (memcmp(&ipv6_hdr(skb)->daddr, saddr, sizeof(*saddr))) { saddr 196 drivers/infiniband/sw/rxe/rxe_recv.c &ipv6_hdr(skb)->daddr, saddr); saddr 200 drivers/infiniband/sw/rxe/rxe_recv.c if (memcmp(&ipv6_hdr(skb)->saddr, daddr, sizeof(*daddr))) { saddr 202 drivers/infiniband/sw/rxe/rxe_recv.c &ipv6_hdr(skb)->saddr, daddr); saddr 397 drivers/infiniband/sw/rxe/rxe_recv.c &ipv6_hdr(skb)->saddr); saddr 400 drivers/infiniband/sw/rxe/rxe_recv.c &ip_hdr(skb)->saddr); saddr 1203 drivers/infiniband/ulp/ipoib/ipoib_main.c const void *saddr, saddr 147 drivers/infiniband/ulp/opa_vnic/opa_vnic_netdev.c struct sockaddr saddr; saddr 149 drivers/infiniband/ulp/opa_vnic/opa_vnic_netdev.c memcpy(saddr.sa_data, info->vport.base_mac_addr, saddr 152 drivers/infiniband/ulp/opa_vnic/opa_vnic_netdev.c eth_commit_mac_addr_change(netdev, &saddr); saddr 526 drivers/iommu/intel-svm.c long saddr = (long) addr; saddr 528 drivers/iommu/intel-svm.c return (((saddr << shift) >> shift) == saddr); saddr 46 drivers/media/usb/cx231xx/cx231xx-avcore.c static int verve_write_byte(struct cx231xx *dev, u8 saddr, u8 data) saddr 49 drivers/media/usb/cx231xx/cx231xx-avcore.c saddr, 1, data, 1); saddr 52 drivers/media/usb/cx231xx/cx231xx-avcore.c static int verve_read_byte(struct cx231xx *dev, u8 saddr, u8 *data) saddr 58 drivers/media/usb/cx231xx/cx231xx-avcore.c saddr, 1, &temp, 1); saddr 98 drivers/media/usb/cx231xx/cx231xx-avcore.c static int afe_write_byte(struct cx231xx *dev, u16 saddr, u8 data) saddr 101 drivers/media/usb/cx231xx/cx231xx-avcore.c saddr, 2, data, 1); saddr 104 drivers/media/usb/cx231xx/cx231xx-avcore.c static int afe_read_byte(struct cx231xx *dev, u16 saddr, u8 *data) saddr 110 drivers/media/usb/cx231xx/cx231xx-avcore.c saddr, 2, &temp, 1); saddr 513 drivers/media/usb/cx231xx/cx231xx-avcore.c static int vid_blk_write_byte(struct cx231xx *dev, u16 saddr, u8 data) saddr 516 drivers/media/usb/cx231xx/cx231xx-avcore.c saddr, 2, data, 1); saddr 519 drivers/media/usb/cx231xx/cx231xx-avcore.c static int vid_blk_read_byte(struct cx231xx *dev, u16 saddr, u8 *data) saddr 525 drivers/media/usb/cx231xx/cx231xx-avcore.c saddr, 2, &temp, 1); saddr 530 drivers/media/usb/cx231xx/cx231xx-avcore.c static int vid_blk_write_word(struct cx231xx *dev, u16 saddr, u32 data) saddr 533 drivers/media/usb/cx231xx/cx231xx-avcore.c saddr, 2, data, 4); saddr 536 drivers/media/usb/cx231xx/cx231xx-avcore.c static int vid_blk_read_word(struct cx231xx *dev, u16 saddr, u32 *data) saddr 539 drivers/media/usb/cx231xx/cx231xx-avcore.c saddr, 2, data, 4); saddr 1560 drivers/media/usb/cx231xx/cx231xx-core.c int cx231xx_read_i2c_master(struct cx231xx *dev, u8 dev_addr, u16 saddr, saddr 1568 drivers/media/usb/cx231xx/cx231xx-core.c saddr = 0; saddr 1570 drivers/media/usb/cx231xx/cx231xx-core.c saddr &= 0xff; saddr 1576 drivers/media/usb/cx231xx/cx231xx-core.c req_data.saddr_dat = saddr; saddr 1600 drivers/media/usb/cx231xx/cx231xx-core.c *data = value[saddr]; saddr 1606 drivers/media/usb/cx231xx/cx231xx-core.c int cx231xx_write_i2c_master(struct cx231xx *dev, u8 dev_addr, u16 saddr, saddr 1619 drivers/media/usb/cx231xx/cx231xx-core.c saddr = 0; saddr 1621 drivers/media/usb/cx231xx/cx231xx-core.c saddr &= 0xff; saddr 1627 drivers/media/usb/cx231xx/cx231xx-core.c req_data.saddr_dat = saddr; saddr 1645 drivers/media/usb/cx231xx/cx231xx-core.c int cx231xx_read_i2c_data(struct cx231xx *dev, u8 dev_addr, u16 saddr, saddr 1653 drivers/media/usb/cx231xx/cx231xx-core.c saddr = 0; saddr 1655 drivers/media/usb/cx231xx/cx231xx-core.c saddr &= 0xff; saddr 1661 drivers/media/usb/cx231xx/cx231xx-core.c req_data.saddr_dat = saddr; saddr 1681 drivers/media/usb/cx231xx/cx231xx-core.c int cx231xx_write_i2c_data(struct cx231xx *dev, u8 dev_addr, u16 saddr, saddr 1694 drivers/media/usb/cx231xx/cx231xx-core.c saddr = 0; saddr 1696 drivers/media/usb/cx231xx/cx231xx-core.c saddr &= 0xff; saddr 1702 drivers/media/usb/cx231xx/cx231xx-core.c req_data.saddr_dat = saddr; saddr 1762 drivers/media/usb/cx231xx/cx231xx-core.c u16 saddr, u32 mask, u32 value) saddr 1767 drivers/media/usb/cx231xx/cx231xx-core.c status = cx231xx_read_i2c_data(dev, dev_addr, saddr, 2, &temp, 4); saddr 1775 drivers/media/usb/cx231xx/cx231xx-core.c status = cx231xx_write_i2c_data(dev, dev_addr, saddr, 2, temp, 4); saddr 83 drivers/media/usb/cx231xx/cx231xx-i2c.c u16 saddr = 0; saddr 95 drivers/media/usb/cx231xx/cx231xx-i2c.c saddr = msg->buf[0] << 8 | msg->buf[1]; saddr 97 drivers/media/usb/cx231xx/cx231xx-i2c.c saddr = msg->buf[0]; saddr 99 drivers/media/usb/cx231xx/cx231xx-i2c.c switch (saddr) { saddr 120 drivers/media/usb/cx231xx/cx231xx-i2c.c msg->addr, msg->len, saddr); saddr 190 drivers/media/usb/cx231xx/cx231xx-i2c.c u16 saddr = 0; saddr 195 drivers/media/usb/cx231xx/cx231xx-i2c.c saddr = msg->buf[0] << 8 | msg->buf[1]; saddr 197 drivers/media/usb/cx231xx/cx231xx-i2c.c saddr = msg->buf[0]; saddr 201 drivers/media/usb/cx231xx/cx231xx-i2c.c switch (saddr) { saddr 277 drivers/media/usb/cx231xx/cx231xx-i2c.c u16 saddr = 0; saddr 281 drivers/media/usb/cx231xx/cx231xx-i2c.c saddr = msg1->buf[0] << 8 | msg1->buf[1]; saddr 283 drivers/media/usb/cx231xx/cx231xx-i2c.c saddr = msg1->buf[0]; saddr 290 drivers/media/usb/cx231xx/cx231xx-i2c.c msg2->addr, msg2->len, saddr, msg1->len); saddr 292 drivers/media/usb/cx231xx/cx231xx-i2c.c switch (saddr) { saddr 319 drivers/media/usb/cx231xx/cx231xx-i2c.c req_data.saddr_dat = saddr; saddr 760 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_read_i2c_master(struct cx231xx *dev, u8 dev_addr, u16 saddr, saddr 762 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_write_i2c_master(struct cx231xx *dev, u8 dev_addr, u16 saddr, saddr 765 drivers/media/usb/cx231xx/cx231xx.h u16 saddr, u8 saddr_len, u32 *data, u8 data_len); saddr 767 drivers/media/usb/cx231xx/cx231xx.h u16 saddr, u8 saddr_len, u32 data, u8 data_len); saddr 772 drivers/media/usb/cx231xx/cx231xx.h u16 saddr, u32 mask, u32 value); saddr 121 drivers/message/fusion/mptlan.c u8 saddr[FC_ALEN]; saddr 1506 drivers/message/fusion/mptlan.c fch->saddr); saddr 163 drivers/mtd/nand/raw/atmel/pmecc.c u32 saddr; saddr 404 drivers/mtd/nand/raw/atmel/pmecc.c user->cache.saddr = req->ecc.ooboffset; saddr 792 drivers/mtd/nand/raw/atmel/pmecc.c writel(user->cache.saddr, pmecc->regs.base + ATMEL_PMECC_SADDR); saddr 106 drivers/net/arcnet/arcnet.c const void *saddr, unsigned len); saddr 597 drivers/net/arcnet/arcnet.c const void *saddr, unsigned len) saddr 605 drivers/net/arcnet/arcnet.c saddr ? *(uint8_t *)saddr : -1, saddr 139 drivers/net/arcnet/rfc1201.c int saddr = pkt->hard.source, ofs; saddr 140 drivers/net/arcnet/rfc1201.c struct Incoming *in = &lp->rfc1201.incoming[saddr]; saddr 155 drivers/net/arcnet/rfc1201.c saddr); saddr 217 drivers/net/arcnet/rfc1201.c saddr); saddr 219 drivers/net/arcnet/rfc1201.c *cptr = saddr; saddr 260 drivers/net/arcnet/rfc1201.c saddr, in->sequence, soft->sequence, saddr 1436 drivers/net/bonding/bond_alb.c if (ipv6_addr_any(&ip6hdr->saddr)) { saddr 1117 drivers/net/ethernet/amd/atarilance.c struct sockaddr *saddr = addr; saddr 1130 drivers/net/ethernet/amd/atarilance.c memcpy( dev->dev_addr, saddr->sa_data, dev->addr_len ); saddr 2097 drivers/net/ethernet/amd/xgbe/xgbe-drv.c struct sockaddr *saddr = addr; saddr 2101 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if (!is_valid_ether_addr(saddr->sa_data)) saddr 2104 drivers/net/ethernet/amd/xgbe/xgbe-drv.c memcpy(netdev->dev_addr, saddr->sa_data, netdev->addr_len); saddr 1415 drivers/net/ethernet/atheros/alx/main.c tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, iph->daddr, saddr 1420 drivers/net/ethernet/atheros/alx/main.c tcp_hdr(skb)->check = ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, saddr 2005 drivers/net/ethernet/atheros/atl1c/atl1c_main.c ip_hdr(skb)->saddr, saddr 2029 drivers/net/ethernet/atheros/atl1c/atl1c_main.c &ipv6_hdr(skb)->saddr, saddr 1654 drivers/net/ethernet/atheros/atl1e/atl1e_main.c ip_hdr(skb)->saddr, saddr 2124 drivers/net/ethernet/atheros/atlx/atl1.c ~csum_tcpudp_magic(iph->saddr, saddr 2138 drivers/net/ethernet/atheros/atlx/atl1.c tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, saddr 706 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c iph->saddr, iph->daddr, 0); saddr 718 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c &iph->saddr, &iph->daddr, 0); saddr 3491 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bswab16(~csum_tcpudp_magic(ip_hdr(skb)->saddr, saddr 3496 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bswab16(~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, saddr 3686 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c inner_ip_hdr(skb)->saddr, saddr 3692 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c &inner_ipv6_hdr(skb)->saddr, saddr 1365 drivers/net/ethernet/broadcom/bnxt/bnxt.c th->check = ~tcp_v6_check(len, &iph->saddr, &iph->daddr, 0); saddr 1372 drivers/net/ethernet/broadcom/bnxt/bnxt.c th->check = ~tcp_v4_check(len, iph->saddr, iph->daddr, 0); saddr 1438 drivers/net/ethernet/broadcom/bnxt/bnxt.c th->check = ~tcp_v4_check(len, iph->saddr, iph->daddr, 0); saddr 1449 drivers/net/ethernet/broadcom/bnxt/bnxt.c th->check = ~tcp_v6_check(len, &iph->saddr, &iph->daddr, 0); saddr 234 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l3_key.ipv4.saddr.s_addr = match.key->src; saddr 235 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l3_mask.ipv4.saddr.s_addr = match.mask->src; saddr 243 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l3_key.ipv6.saddr = match.key->src; saddr 244 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow->l3_mask.ipv6.saddr = match.mask->src; saddr 441 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.ip_src[0] = l3_key->ipv4.saddr.s_addr; saddr 443 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c inet_mask_len(l3_mask->ipv4.saddr.s_addr); saddr 449 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c memcpy(req.ip_src, l3_key->ipv6.saddr.s6_addr32, saddr 452 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c ipv6_mask_len(&l3_mask->ipv6.saddr); saddr 1010 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c tun_key->u.ipv4.src = flow.saddr; saddr 35 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.h struct in_addr saddr; saddr 39 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.h struct in6_addr saddr; saddr 3749 drivers/net/ethernet/broadcom/cnic.c static int cnic_resolve_addr(struct cnic_sock *csk, struct cnic_sockaddr *saddr) saddr 3757 drivers/net/ethernet/broadcom/cnic.c static int cnic_get_route(struct cnic_sock *csk, struct cnic_sockaddr *saddr) saddr 3767 drivers/net/ethernet/broadcom/cnic.c if (saddr->local.v6.sin6_family == AF_INET6 && saddr 3768 drivers/net/ethernet/broadcom/cnic.c saddr->remote.v6.sin6_family == AF_INET6) saddr 3770 drivers/net/ethernet/broadcom/cnic.c else if (saddr->local.v4.sin_family == AF_INET && saddr 3771 drivers/net/ethernet/broadcom/cnic.c saddr->remote.v4.sin_family == AF_INET) saddr 3780 drivers/net/ethernet/broadcom/cnic.c cnic_get_v6_route(&saddr->remote.v6, &dst); saddr 3782 drivers/net/ethernet/broadcom/cnic.c memcpy(&csk->dst_ip[0], &saddr->remote.v6.sin6_addr, saddr 3784 drivers/net/ethernet/broadcom/cnic.c csk->dst_port = saddr->remote.v6.sin6_port; saddr 3785 drivers/net/ethernet/broadcom/cnic.c local_port = saddr->local.v6.sin6_port; saddr 3788 drivers/net/ethernet/broadcom/cnic.c cnic_get_v4_route(&saddr->remote.v4, &dst); saddr 3790 drivers/net/ethernet/broadcom/cnic.c csk->dst_ip[0] = saddr->remote.v4.sin_addr.s_addr; saddr 3791 drivers/net/ethernet/broadcom/cnic.c csk->dst_port = saddr->remote.v4.sin_port; saddr 3792 drivers/net/ethernet/broadcom/cnic.c local_port = saddr->local.v4.sin_port; saddr 3835 drivers/net/ethernet/broadcom/cnic.c static int cnic_cm_connect(struct cnic_sock *csk, struct cnic_sockaddr *saddr) saddr 3851 drivers/net/ethernet/broadcom/cnic.c err = cnic_get_route(csk, saddr); saddr 3855 drivers/net/ethernet/broadcom/cnic.c err = cnic_resolve_addr(csk, saddr); saddr 8003 drivers/net/ethernet/broadcom/tg3.c tcph->check = ~csum_tcpudp_magic(iph->saddr, iph->daddr, saddr 2503 drivers/net/ethernet/brocade/bna/bnad.c ~csum_tcpudp_magic(iph->saddr, iph->daddr, 0, saddr 2511 drivers/net/ethernet/brocade/bna/bnad.c ~csum_ipv6_magic(&ipv6h->saddr, &ipv6h->daddr, 0, saddr 58 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c __func__, ntohl(ip->saddr), ntohl(ip->daddr), saddr 61 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c memcpy(peer_ip, &ip->saddr, 4); saddr 65 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c __func__, ip6->saddr.s6_addr, ip6->daddr.s6_addr, saddr 68 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c memcpy(peer_ip, ip6->saddr.s6_addr, 16); saddr 132 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c memcpy(&fl6.saddr, local_ip, 16); saddr 538 drivers/net/ethernet/cirrus/mac89x0.c struct sockaddr *saddr = addr; saddr 541 drivers/net/ethernet/cirrus/mac89x0.c if (!is_valid_ether_addr(saddr->sa_data)) saddr 544 drivers/net/ethernet/cirrus/mac89x0.c memcpy(dev->dev_addr, saddr->sa_data, ETH_ALEN); saddr 671 drivers/net/ethernet/cisco/enic/enic_main.c ~csum_tcpudp_magic(inner_ip_hdr(skb)->saddr, saddr 677 drivers/net/ethernet/cisco/enic/enic_main.c ~csum_ipv6_magic(&inner_ipv6_hdr(skb)->saddr, saddr 696 drivers/net/ethernet/cisco/enic/enic_main.c tcp_hdr(skb)->check = ~csum_tcpudp_magic(ip_hdr(skb)->saddr, saddr 699 drivers/net/ethernet/cisco/enic/enic_main.c tcp_hdr(skb)->check = ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, saddr 1028 drivers/net/ethernet/cisco/enic/enic_main.c struct sockaddr *saddr = p; saddr 1029 drivers/net/ethernet/cisco/enic/enic_main.c char *addr = saddr->sa_data; saddr 1053 drivers/net/ethernet/cisco/enic/enic_main.c struct sockaddr *saddr = p; saddr 1054 drivers/net/ethernet/cisco/enic/enic_main.c char *addr = saddr->sa_data; saddr 40 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct sockaddr *saddr = addr; saddr 42 drivers/net/ethernet/freescale/enetc/enetc_pf.c if (!is_valid_ether_addr(saddr->sa_data)) saddr 45 drivers/net/ethernet/freescale/enetc/enetc_pf.c memcpy(ndev->dev_addr, saddr->sa_data, ndev->addr_len); saddr 46 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_pf_set_primary_mac_addr(&priv->si->hw, 0, saddr->sa_data); saddr 56 drivers/net/ethernet/freescale/enetc/enetc_vf.c struct sockaddr *saddr) saddr 74 drivers/net/ethernet/freescale/enetc/enetc_vf.c memcpy(&cmd->mac, saddr, sizeof(struct sockaddr)); saddr 87 drivers/net/ethernet/freescale/enetc/enetc_vf.c struct sockaddr *saddr = addr; saddr 90 drivers/net/ethernet/freescale/enetc/enetc_vf.c if (!is_valid_ether_addr(saddr->sa_data)) saddr 93 drivers/net/ethernet/freescale/enetc/enetc_vf.c err = enetc_msg_vsi_set_primary_mac_addr(priv, saddr); saddr 2489 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c th->check = ~tcp_v4_check(skb->len - depth, iph->saddr, saddr 2497 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c th->check = ~tcp_v6_check(skb->len - depth, &iph->saddr, saddr 579 drivers/net/ethernet/huawei/hinic/hinic_main.c struct sockaddr *saddr = addr; saddr 582 drivers/net/ethernet/huawei/hinic/hinic_main.c memcpy(new_mac, saddr->sa_data, ETH_ALEN); saddr 270 drivers/net/ethernet/huawei/hinic/hinic_tx.c csum_tcpudp_magic(ip->v4->saddr, ip->v4->daddr, 0, proto, 0) : saddr 271 drivers/net/ethernet/huawei/hinic/hinic_tx.c csum_ipv6_magic(&ip->v6->saddr, &ip->v6->daddr, 0, proto, 0); saddr 1282 drivers/net/ethernet/ibm/ibmveth.c tcph->check = ~csum_tcpudp_magic(iph->saddr, saddr 1285 drivers/net/ethernet/ibm/ibmveth.c tcph->check = ~csum_ipv6_magic(&iph6->saddr, saddr 2711 drivers/net/ethernet/intel/e1000/e1000_main.c tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, saddr 2720 drivers/net/ethernet/intel/e1000/e1000_main.c ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, saddr 5456 drivers/net/ethernet/intel/e1000e/netdev.c tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, iph->daddr, saddr 5462 drivers/net/ethernet/intel/e1000e/netdev.c tcp_hdr(skb)->check = ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, saddr 197 drivers/net/ethernet/intel/i40e/i40e_txrx.c ip->saddr = fd_data->src_ip; saddr 271 drivers/net/ethernet/intel/i40e/i40e_txrx.c ip->saddr = fd_data->src_ip; saddr 349 drivers/net/ethernet/intel/i40e/i40e_txrx.c ip->saddr = fd_data->src_ip; saddr 419 drivers/net/ethernet/intel/i40e/i40e_txrx.c ip->saddr = fd_data->src_ip; saddr 1206 drivers/net/ethernet/intel/ixgb/ixgb_main.c tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, saddr 8476 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c common.ip ^= hdr.ipv4->saddr ^ hdr.ipv4->daddr; saddr 8480 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c common.ip ^= hdr.ipv6->saddr.s6_addr32[0] ^ saddr 8481 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c hdr.ipv6->saddr.s6_addr32[1] ^ saddr 8482 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c hdr.ipv6->saddr.s6_addr32[2] ^ saddr 8483 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c hdr.ipv6->saddr.s6_addr32[3] ^ saddr 2075 drivers/net/ethernet/jme.c tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, saddr 2082 drivers/net/ethernet/jme.c tcp_hdr(skb)->check = ~csum_ipv6_magic(&ip6h->saddr, saddr 386 drivers/net/ethernet/mellanox/mlx4/en_netdev.c src_ip = ip->saddr; saddr 783 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct sockaddr *saddr = addr; saddr 787 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (!is_valid_ether_addr(saddr->sa_data)) saddr 791 drivers/net/ethernet/mellanox/mlx4/en_netdev.c memcpy(new_mac, saddr->sa_data, ETH_ALEN); saddr 796 drivers/net/ethernet/mellanox/mlx4/en_netdev.c memcpy(dev->dev_addr, saddr->sa_data, ETH_ALEN); saddr 590 drivers/net/ethernet/mellanox/mlx4/en_rx.c csum_pseudo_header = csum_tcpudp_nofold(iph->saddr, iph->daddr, saddr 61 drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.c const __be32 saddr[4], saddr 65 drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.c return mlx5_fpga_ipsec_create_sa_ctx(mdev, xfrm, saddr, daddr, saddr 51 drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.h const __be32 saddr[4], saddr 67 drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.h const __be32 saddr[4], saddr 226 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c fl4.saddr = tun_key->u.ipv4.src; saddr 285 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c ip->saddr = fl4.saddr; saddr 346 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c fl6.saddr = tun_key->u.ipv6.src; saddr 403 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c ip6h->saddr = fl6.saddr; saddr 287 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c __be32 saddr[4] = {0}, daddr[4] = {0}, spi; saddr 335 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c saddr[3] = x->props.saddr.a4; saddr 338 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c memcpy(saddr, x->props.saddr.a6, sizeof(saddr)); saddr 346 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c saddr, daddr, spi, saddr 59 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c &np->saddr, MLX5_FLD_SZ_BYTES(ipv6_layout, ipv6)); saddr 327 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c iph->saddr, th->source, iph->daddr, saddr 334 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c &ipv6h->saddr, th->source, saddr 3634 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct sockaddr *saddr = addr; saddr 3636 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (!is_valid_ether_addr(saddr->sa_data)) saddr 3640 drivers/net/ethernet/mellanox/mlx5/core/en_main.c ether_addr_copy(netdev->dev_addr, saddr->sa_data); saddr 1334 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c struct sockaddr *saddr = addr; saddr 1336 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c if (!is_valid_ether_addr(saddr->sa_data)) saddr 1339 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c ether_addr_copy(netdev->dev_addr, saddr->sa_data); saddr 759 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c tcp->check = csum_tcpudp_magic(ipv4->saddr, ipv4->daddr, saddr 776 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c tcp->check = csum_ipv6_magic(&ipv6->saddr, &ipv6->daddr, payload_len, saddr 151 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c iph->saddr = 0; saddr 164 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c udp4_hwcsum(skb, iph->saddr, iph->daddr); saddr 2299 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c OFFLOAD(SIPV4, 4, ip4.saddr, 0, src_ipv4_src_ipv6.ipv4_layout.ipv4), saddr 2302 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c OFFLOAD(SIPV6_127_96, 4, ip6.saddr.s6_addr32[0], 0, saddr 2304 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c OFFLOAD(SIPV6_95_64, 4, ip6.saddr.s6_addr32[1], 0, saddr 2306 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c OFFLOAD(SIPV6_63_32, 4, ip6.saddr.s6_addr32[2], 0, saddr 2308 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c OFFLOAD(SIPV6_31_0, 4, ip6.saddr.s6_addr32[3], 0, saddr 524 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c const __be32 saddr[4], saddr 532 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c memcpy(hw_sa->ipsec_sa_v1.sip, saddr, sizeof(hw_sa->ipsec_sa_v1.sip)); saddr 667 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c const __be32 saddr[4], saddr 689 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c saddr, daddr, spi, is_ipv6, saddr 760 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c __be32 saddr[4], daddr[4], spi; saddr 787 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c memcpy(&saddr[3], saddr 791 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c sizeof(saddr[3])); saddr 798 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c memcpy(saddr, saddr 802 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c sizeof(saddr)); saddr 818 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c saddr, daddr, saddr 47 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.h const __be32 saddr[4], saddr 50 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c return (union mlxsw_sp_l3addr) { .addr4 = parms.iph.saddr }; saddr 219 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c union mlxsw_sp_l3addr saddr = mlxsw_sp_ipip_netdev_saddr(proto, ol_dev); saddr 227 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c return !mlxsw_sp_l3addr_is_zero(saddr) && saddr 260 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c .saddr = mlxsw_sp_ipip_netdev_saddr(MLXSW_SP_L3_PROTO_IPV4, saddr 31 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve_vxlan.c if (cfg->saddr.sa.sa_family != AF_INET) { saddr 41 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve_vxlan.c if (vxlan_addr_any(&cfg->saddr)) { saddr 102 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve_vxlan.c config->ul_sip.addr4 = cfg->saddr.sin.sin_addr.s_addr; saddr 1078 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c union mlxsw_sp_l3addr saddr, saddr 1091 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_l3addr_eq(&tun_saddr, &saddr); saddr 1210 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c union mlxsw_sp_l3addr saddr; saddr 1226 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c saddr = mlxsw_sp_ipip_netdev_saddr(ipip_ops->ul_proto, saddr 1231 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c saddr4 = be32_to_cpu(saddr.addr4); saddr 1401 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c union mlxsw_sp_l3addr saddr; saddr 1408 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c saddr = mlxsw_sp_ipip_netdev_saddr(ul_proto, ol_dev); saddr 1410 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c saddr, ul_tb_id, saddr 1456 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c saddr4 = be32_to_cpu(lb_cf.saddr.addr4); saddr 1689 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c union mlxsw_sp_l3addr saddr, saddr 1698 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_ipip_entry_saddr_matches(mlxsw_sp, ul_proto, saddr, saddr 15 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.h union mlxsw_sp_l3addr saddr; saddr 78 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.h union mlxsw_sp_l3addr saddr, saddr 237 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c union mlxsw_sp_l3addr saddr, saddr 283 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c sparmsp->saddr = saddr; saddr 318 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c *saddrp = fl4.saddr; saddr 335 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c union mlxsw_sp_l3addr saddr = { .addr4 = tparm.iph.saddr }; saddr 351 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c l3edev = mlxsw_sp_span_gretap4_route(to_dev, &saddr.addr4, &gw.addr4); saddr 352 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c return mlxsw_sp_span_entry_tunnel_parms_common(l3edev, saddr, daddr, gw, saddr 376 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c be32_to_cpu(sparms.saddr.addr4), saddr 413 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c if (!ip6_tnl_xmit_ctl(t, &fl6.saddr, &fl6.daddr)) saddr 423 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c *saddrp = fl6.saddr; saddr 437 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c union mlxsw_sp_l3addr saddr = { .addr6 = tparm.laddr }; saddr 452 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c l3edev = mlxsw_sp_span_gretap6_route(to_dev, &saddr.addr6, &gw.addr6); saddr 453 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c return mlxsw_sp_span_entry_tunnel_parms_common(l3edev, saddr, daddr, gw, saddr 476 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c sparms.saddr.addr6, saddr 35 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.h union mlxsw_sp_l3addr saddr; saddr 8210 drivers/net/ethernet/neterion/s2io.c if ((lro->iph->saddr != ip->saddr) || saddr 8375 drivers/net/ethernet/neterion/s2io.c DBG_PRINT(INFO_DBG, "IP Saddr: %x Daddr: %x\n", ip->saddr, ip->daddr); saddr 204 drivers/net/ethernet/netronome/nfp/crypto/tls.c memcpy(req->dst_ip, &np->saddr, sizeof(req->dst_ip)); saddr 552 drivers/net/ethernet/netronome/nfp/flower/action.c case offsetof(struct iphdr, saddr): saddr 684 drivers/net/ethernet/netronome/nfp/flower/action.c if (off < offsetof(struct ipv6hdr, saddr)) { saddr 688 drivers/net/ethernet/netronome/nfp/flower/action.c word = (off - offsetof(struct ipv6hdr, saddr)) / sizeof(exact); saddr 312 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c payload.src_ipv4 = flow->saddr; saddr 3713 drivers/net/ethernet/netronome/nfp/nfp_net_common.c struct sockaddr *saddr = addr; saddr 3720 drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_write_mac_addr(nn, saddr->sa_data); saddr 1128 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c csum_tcpudp_magic(iph->saddr, saddr 1140 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c csum_tcpudp_magic(iph->saddr, saddr 466 drivers/net/ethernet/pensando/ionic/ionic_txrx.c ~csum_tcpudp_magic(inner_ip_hdr(skb)->saddr, saddr 471 drivers/net/ethernet/pensando/ionic/ionic_txrx.c ~csum_ipv6_magic(&inner_ipv6_hdr(skb)->saddr, saddr 490 drivers/net/ethernet/pensando/ionic/ionic_txrx.c ~csum_tcpudp_magic(ip_hdr(skb)->saddr, saddr 495 drivers/net/ethernet/pensando/ionic/ionic_txrx.c ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, saddr 1728 drivers/net/ethernet/qlogic/qed/qed_iwarp.c cm_info->remote_ip[0] = ntohl(iph->saddr); saddr 1747 drivers/net/ethernet/qlogic/qed/qed_iwarp.c ntohl(ip6h->saddr.in6_u.u6_addr32[i]); saddr 392 drivers/net/ethernet/qlogic/qede/qede_filter.c if (tpos->tuple.src_ipv4 == ip_hdr(skb)->saddr && saddr 401 drivers/net/ethernet/qlogic/qede/qede_filter.c if (!memcmp(src, &ipv6_hdr(skb)->saddr, size) && saddr 525 drivers/net/ethernet/qlogic/qede/qede_filter.c n->tuple.src_ipv4 = ip_hdr(skb)->saddr; saddr 528 drivers/net/ethernet/qlogic/qede/qede_filter.c memcpy(&n->tuple.src_ipv6, &ipv6_hdr(skb)->saddr, saddr 1517 drivers/net/ethernet/qlogic/qede/qede_filter.c ip->saddr = t->src_ipv4; saddr 1564 drivers/net/ethernet/qlogic/qede/qede_filter.c memcpy(&ip6->saddr, &t->src_ipv6, sizeof(struct in6_addr)); saddr 872 drivers/net/ethernet/qlogic/qede/qede_fp.c iph->saddr, iph->daddr, 0); saddr 886 drivers/net/ethernet/qlogic/qede/qede_fp.c &iph->saddr, &iph->daddr, 0); saddr 1278 drivers/net/ethernet/qualcomm/emac/emac-mac.c ~csum_tcpudp_magic(ip_hdr(skb)->saddr, saddr 1293 drivers/net/ethernet/qualcomm/emac/emac-mac.c ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, saddr 78 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c pseudo_csum = ~csum_tcpudp_magic(ip4h->saddr, ip4h->daddr, saddr 145 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c pseudo_csum = ~(csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, saddr 5766 drivers/net/ethernet/realtek/r8169_main.c th->check = ~tcp_v6_check(0, &ipv6h->saddr, &ipv6h->daddr, 0); saddr 299 drivers/net/ethernet/sfc/falcon/selftest.c received->ip.saddr = payload->ip.saddr; saddr 433 drivers/net/ethernet/sfc/falcon/selftest.c payload->ip.saddr = htonl(INADDR_LOOPBACK | (i << 2)); saddr 299 drivers/net/ethernet/sfc/selftest.c received->ip.saddr = payload->ip.saddr; saddr 433 drivers/net/ethernet/sfc/selftest.c payload->ip.saddr = htonl(INADDR_LOOPBACK | (i << 2)); saddr 509 drivers/net/ethernet/sgi/ioc3-eth.c (ih->saddr >> 16) + (ih->saddr & 0xffff) + saddr 1401 drivers/net/ethernet/sgi/ioc3-eth.c csum = csum_tcpudp_nofold(ih->saddr, ih->daddr, saddr 1140 drivers/net/ethernet/socionext/netsec.c ~tcp_v4_check(0, ip_hdr(skb)->saddr, saddr 1145 drivers/net/ethernet/socionext/netsec.c ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, saddr 180 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c ihdr->saddr = htonl(attr->ip_src); saddr 200 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c thdr->check = ~tcp_v4_check(skb->len, ihdr->saddr, ihdr->daddr, 0); saddr 204 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c udp4_hwcsum(skb, ihdr->saddr, ihdr->daddr); saddr 325 drivers/net/ethernet/sun/sunvnet_common.c ptcp->check = csum_tcpudp_magic(iph->saddr, iph->daddr, saddr 333 drivers/net/ethernet/sun/sunvnet_common.c pudp->check = csum_tcpudp_magic(iph->saddr, iph->daddr, saddr 358 drivers/net/ethernet/sun/sunvnet_common.c ptcp->check = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, saddr 366 drivers/net/ethernet/sun/sunvnet_common.c pudp->check = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, saddr 1179 drivers/net/ethernet/sun/sunvnet_common.c csum = csum_tcpudp_magic(iph->saddr, saddr 1190 drivers/net/ethernet/sun/sunvnet_common.c csum = csum_ipv6_magic(&ip6h->saddr, saddr 1364 drivers/net/ethernet/sun/sunvnet_common.c fl4.saddr = ip_hdr(skb)->saddr; saddr 796 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c struct sockaddr *saddr = addr; saddr 798 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c if (!is_valid_ether_addr(saddr->sa_data)) saddr 801 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c memcpy(netdev->dev_addr, saddr->sa_data, netdev->addr_len); saddr 184 drivers/net/geneve.c addr = iph->saddr; saddr 201 drivers/net/geneve.c addr6 = ip6h->saddr; saddr 278 drivers/net/geneve.c &((struct iphdr *)oiph)->saddr, saddr 283 drivers/net/geneve.c &((struct ipv6hdr *)oiph)->saddr); saddr 791 drivers/net/geneve.c fl4->saddr = info->key.u.ipv4.src; saddr 802 drivers/net/geneve.c rt = dst_cache_get_ip4(dst_cache, &fl4->saddr); saddr 817 drivers/net/geneve.c dst_cache_set_ip4(dst_cache, &rt->dst, fl4->saddr); saddr 841 drivers/net/geneve.c fl6->saddr = info->key.u.ipv6.src; saddr 852 drivers/net/geneve.c dst = dst_cache_get_ip6(dst_cache, &fl6->saddr); saddr 869 drivers/net/geneve.c dst_cache_set_ip6(dst_cache, dst, &fl6->saddr); saddr 929 drivers/net/geneve.c udp_tunnel_xmit_skb(rt, gs4->sock->sk, skb, fl4.saddr, fl4.daddr, saddr 974 drivers/net/geneve.c &fl6.saddr, &fl6.daddr, prio, ttl, saddr 1047 drivers/net/geneve.c info->key.u.ipv4.src = fl4.saddr; saddr 1059 drivers/net/geneve.c info->key.u.ipv6.src = fl6.saddr; saddr 166 drivers/net/gtp.c return iph->saddr == pctx->ms_addr_ip4.s_addr; saddr 397 drivers/net/gtp.c fl4->saddr = inet_sk(sk)->inet_saddr; saddr 498 drivers/net/gtp.c pctx = ipv4_pdp_find(gtp, iph->saddr); saddr 594 drivers/net/gtp.c &pktinfo.iph->saddr, &pktinfo.iph->daddr); saddr 596 drivers/net/gtp.c pktinfo.fl4.saddr, pktinfo.fl4.daddr, saddr 635 drivers/net/hyperv/netvsc_drv.c ~csum_tcpudp_magic(ip_hdr(skb)->saddr, saddr 642 drivers/net/hyperv/netvsc_drv.c ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, saddr 767 drivers/net/ieee802154/adf7242.c u16 saddr = le16_to_cpu(filt->short_addr); saddr 769 drivers/net/ieee802154/adf7242.c adf7242_write_reg(lp, REG_SHORT_ADDR_0, saddr); saddr 770 drivers/net/ieee802154/adf7242.c adf7242_write_reg(lp, REG_SHORT_ADDR_1, saddr >> 8); saddr 184 drivers/net/ipvlan/ipvlan_core.c if (ipv6_addr_any(&ip6h->saddr) && saddr 366 drivers/net/ipvlan/ipvlan_core.c i6addr = use_dest ? &ip6h->daddr : &ip6h->saddr; saddr 390 drivers/net/ipvlan/ipvlan_core.c i4addr = use_dest ? &ip4h->daddr : &ip4h->saddr; saddr 428 drivers/net/ipvlan/ipvlan_core.c .saddr = ip4h->saddr, saddr 464 drivers/net/ipvlan/ipvlan_core.c .saddr = ip6h->saddr, saddr 54 drivers/net/ipvlan/ipvlan_l3s.c err = ip_route_input_noref(skb, ip4h->daddr, ip4h->saddr, saddr 69 drivers/net/ipvlan/ipvlan_l3s.c .saddr = ip6h->saddr, saddr 349 drivers/net/ipvlan/ipvlan_main.c const void *saddr, unsigned len) saddr 359 drivers/net/ipvlan/ipvlan_main.c saddr ? : phy_dev->dev_addr, len); saddr 580 drivers/net/macvlan.c const void *saddr, unsigned len) saddr 586 drivers/net/macvlan.c saddr ? : dev->dev_addr, len); saddr 387 drivers/net/netdevsim/dev.c iph->saddr = in_aton("192.0.2.1"); saddr 148 drivers/net/plip/plip.c const void *saddr, unsigned len); saddr 1024 drivers/net/plip/plip.c const void *saddr, unsigned len) saddr 1028 drivers/net/plip/plip.c ret = eth_header(skb, dev, type, daddr, saddr, len); saddr 234 drivers/net/ppp/pptp.c iph->saddr = fl4.saddr; saddr 358 drivers/net/ppp/pptp.c po = lookup_chan(htons(header->call_id), iph->saddr); saddr 297 drivers/net/slip/slhc.c if( ip->saddr == cs->cs_ip.saddr saddr 958 drivers/net/thunderbolt.c *tucso = ~csum_tcpudp_magic(ip_hdr(skb)->saddr, saddr 963 drivers/net/thunderbolt.c *tucso = ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, saddr 969 drivers/net/thunderbolt.c *tucso = ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, saddr 319 drivers/net/usb/cdc_mbim.c !(ipv6_addr_type(&iph->saddr) & IPV6_ADDR_UNICAST)) saddr 344 drivers/net/usb/cdc_mbim.c ipv6_stub->ndisc_send_na(netdev, &iph->saddr, &msg->target, saddr 1765 drivers/net/usb/r8152.c th->check = ~tcp_v6_check(0, &ipv6h->saddr, &ipv6h->daddr, 0); saddr 942 drivers/net/vmxnet3/vmxnet3_drv.c tcph->check = ~csum_tcpudp_magic(iph->saddr, iph->daddr, 0, saddr 947 drivers/net/vmxnet3/vmxnet3_drv.c tcph->check = ~csum_ipv6_magic(&iph->saddr, &iph->daddr, 0, saddr 185 drivers/net/vrf.c fl6.saddr = iph->saddr; saddr 265 drivers/net/vrf.c fl4.saddr = ip4h->saddr; saddr 285 drivers/net/vrf.c if (!ip4h->saddr) { saddr 286 drivers/net/vrf.c ip4h->saddr = inet_select_addr(skb_dst(skb)->dev, 0, saddr 972 drivers/net/vrf.c .saddr = iph->saddr, saddr 1108 drivers/net/vrf.c if (!ipv6_addr_any(&fl6->saddr)) saddr 1596 drivers/net/vxlan.c union vxlan_addr saddr; saddr 1609 drivers/net/vxlan.c saddr.sin.sin_addr.s_addr = ip_hdr(skb)->saddr; saddr 1610 drivers/net/vxlan.c saddr.sa.sa_family = AF_INET; saddr 1613 drivers/net/vxlan.c saddr.sin6.sin6_addr = ipv6_hdr(skb)->saddr; saddr 1614 drivers/net/vxlan.c saddr.sa.sa_family = AF_INET6; saddr 1619 drivers/net/vxlan.c vxlan_snoop(skb->dev, &saddr, eth_hdr(skb)->h_source, ifindex, vni)) saddr 1640 drivers/net/vxlan.c &((struct iphdr *)oiph)->saddr, saddr 1644 drivers/net/vxlan.c &((struct ipv6hdr *)oiph)->saddr); saddr 1955 drivers/net/vxlan.c pip6->daddr = ipv6_hdr(request)->saddr; saddr 1956 drivers/net/vxlan.c pip6->saddr = *(struct in6_addr *)n->primary_key; saddr 1972 drivers/net/vxlan.c na->icmph.icmp6_cksum = csum_ipv6_magic(&pip6->saddr, saddr 2221 drivers/net/vxlan.c __be32 daddr, __be32 *saddr, __be16 dport, __be16 sport, saddr 2235 drivers/net/vxlan.c rt = dst_cache_get_ip4(dst_cache, saddr); saddr 2246 drivers/net/vxlan.c fl4.saddr = *saddr; saddr 2258 drivers/net/vxlan.c *saddr = fl4.saddr; saddr 2260 drivers/net/vxlan.c dst_cache_set_ip4(dst_cache, &rt->dst, fl4.saddr); saddr 2275 drivers/net/vxlan.c struct in6_addr *saddr, saddr 2290 drivers/net/vxlan.c ndst = dst_cache_get_ip6(dst_cache, saddr); saddr 2298 drivers/net/vxlan.c fl6.saddr = *saddr; saddr 2318 drivers/net/vxlan.c *saddr = fl6.saddr; saddr 2320 drivers/net/vxlan.c dst_cache_set_ip6(dst_cache, ndst, saddr); saddr 2453 drivers/net/vxlan.c local_ip = vxlan->cfg.saddr; saddr 3087 drivers/net/vxlan.c [IFLA_VXLAN_LOCAL] = { .len = FIELD_SIZEOF(struct iphdr, saddr) }, saddr 3361 drivers/net/vxlan.c if (!conf->remote_ip.sa.sa_family && !conf->saddr.sa.sa_family) { saddr 3364 drivers/net/vxlan.c conf->saddr.sa.sa_family = AF_INET; saddr 3366 drivers/net/vxlan.c conf->remote_ip.sa.sa_family = conf->saddr.sa.sa_family; saddr 3367 drivers/net/vxlan.c } else if (!conf->saddr.sa.sa_family) { saddr 3368 drivers/net/vxlan.c conf->saddr.sa.sa_family = conf->remote_ip.sa.sa_family; saddr 3371 drivers/net/vxlan.c if (conf->saddr.sa.sa_family != conf->remote_ip.sa.sa_family) { saddr 3377 drivers/net/vxlan.c if (vxlan_addr_multicast(&conf->saddr)) { saddr 3382 drivers/net/vxlan.c if (conf->saddr.sa.sa_family == AF_INET6) { saddr 3393 drivers/net/vxlan.c ipv6_addr_type(&conf->saddr.sin6.sin6_addr); saddr 3735 drivers/net/vxlan.c if (changelink && (conf->saddr.sa.sa_family != AF_INET)) { saddr 3740 drivers/net/vxlan.c conf->saddr.sin.sin_addr.s_addr = nla_get_in_addr(data[IFLA_VXLAN_LOCAL]); saddr 3741 drivers/net/vxlan.c conf->saddr.sa.sa_family = AF_INET; saddr 3748 drivers/net/vxlan.c if (changelink && (conf->saddr.sa.sa_family != AF_INET6)) { saddr 3754 drivers/net/vxlan.c conf->saddr.sin6.sin6_addr = nla_get_in6_addr(data[IFLA_VXLAN_LOCAL6]); saddr 3755 drivers/net/vxlan.c conf->saddr.sa.sa_family = AF_INET6; saddr 4102 drivers/net/vxlan.c if (!vxlan_addr_any(&vxlan->cfg.saddr)) { saddr 4103 drivers/net/vxlan.c if (vxlan->cfg.saddr.sa.sa_family == AF_INET) { saddr 4105 drivers/net/vxlan.c vxlan->cfg.saddr.sin.sin_addr.s_addr)) saddr 4110 drivers/net/vxlan.c &vxlan->cfg.saddr.sin6.sin6_addr)) saddr 67 drivers/net/wan/dlci.c const void *saddr, unsigned len) saddr 73 drivers/net/wan/hdlc_cisco.c u16 type, const void *daddr, const void *saddr, saddr 165 drivers/net/wan/hdlc_ppp.c u16 type, const void *daddr, const void *saddr, saddr 2086 drivers/net/wireless/intel/iwlwifi/pcie/tx.c tcph->check = ~csum_ipv6_magic(&iphv6->saddr, &iphv6->daddr, saddr 2093 drivers/net/wireless/intel/iwlwifi/pcie/tx.c tcph->check = ~csum_tcpudp_magic(iphv4->saddr, iphv4->daddr, saddr 338 drivers/net/wireless/intersil/orinoco/hermes.h u8 saddr[ETH_ALEN]; saddr 58 drivers/net/wireless/marvell/mwifiex/sta_rx.c if (!memcmp(&ipv6->saddr, &ipv6->daddr, saddr 475 drivers/net/wireless/wl3501.h u8 saddr[ETH_ALEN]; saddr 488 drivers/net/wireless/wl3501.h u8 saddr[ETH_ALEN]; saddr 172 drivers/s390/cio/device_status.c cdev_irb->esw.esw0.saddr = irb->esw.esw0.saddr; saddr 2017 drivers/s390/net/qeth_l3_main.c tcp_hdr(skb)->check = ~tcp_v4_check(0, iph->saddr, saddr 1780 drivers/scsi/bnx2i/bnx2i_iscsi.c struct cnic_sockaddr saddr; saddr 1884 drivers/scsi/bnx2i/bnx2i_iscsi.c memset(&saddr, 0, sizeof(saddr)); saddr 1887 drivers/scsi/bnx2i/bnx2i_iscsi.c saddr.remote.v4 = *desti; saddr 1888 drivers/scsi/bnx2i/bnx2i_iscsi.c saddr.local.v4.sin_family = desti->sin_family; saddr 1891 drivers/scsi/bnx2i/bnx2i_iscsi.c saddr.remote.v6 = *desti6; saddr 1892 drivers/scsi/bnx2i/bnx2i_iscsi.c saddr.local.v6.sin6_family = desti6->sin6_family; saddr 1901 drivers/scsi/bnx2i/bnx2i_iscsi.c rc = cnic->cm_connect(bnx2i_ep->cm_sk, &saddr); saddr 167 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c req->local_port = csk->saddr.sin_port; saddr 169 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c req->local_ip = csk->saddr.sin_addr.s_addr; saddr 578 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c &csk->saddr.sin_addr.s_addr, ntohs(csk->saddr.sin_port), saddr 968 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c csk->saddr.sin_addr.s_addr = chba->ipv4addr; saddr 1007 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c &csk->saddr.sin_addr.s_addr, ntohs(csk->saddr.sin_port), saddr 233 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->local_port = csk->saddr.sin_port; saddr 235 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->local_ip = csk->saddr.sin_addr.s_addr; saddr 257 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->local_port = csk->saddr.sin_port; saddr 259 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->local_ip = csk->saddr.sin_addr.s_addr; saddr 285 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->local_port = csk->saddr.sin_port; saddr 287 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->local_ip = csk->saddr.sin_addr.s_addr; saddr 314 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c (&csk->saddr), (&csk->daddr), saddr 428 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c &csk->saddr6.sin6_addr, ntohs(csk->saddr.sin_port), saddr 833 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c (&csk->saddr), (&csk->daddr), saddr 979 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c "csk 0x%p,%u,0x%lx. ", (&csk->saddr), (&csk->daddr), saddr 1024 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c (&csk->saddr), (&csk->daddr), saddr 1045 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c (&csk->saddr), (&csk->daddr), saddr 1086 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c (&csk->saddr), (&csk->daddr), saddr 1132 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c (&csk->saddr), (&csk->daddr), csk, saddr 1811 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c (&csk->saddr), (&csk->daddr), csk, csk->state, saddr 452 drivers/scsi/cxgbi/libcxgbi.c port = &csk->saddr.sin_port; saddr 505 drivers/scsi/cxgbi/libcxgbi.c port = &csk->saddr.sin_port; saddr 587 drivers/scsi/cxgbi/libcxgbi.c __be32 saddr, __be32 daddr, saddr 593 drivers/scsi/cxgbi/libcxgbi.c rt = ip_route_output_ports(&init_net, fl4, NULL, daddr, saddr, saddr 686 drivers/scsi/cxgbi/libcxgbi.c csk->saddr.sin_family = daddr->sin_family; saddr 687 drivers/scsi/cxgbi/libcxgbi.c csk->saddr.sin_addr.s_addr = fl4.saddr; saddr 702 drivers/scsi/cxgbi/libcxgbi.c static struct rt6_info *find_route_ipv6(const struct in6_addr *saddr, saddr 710 drivers/scsi/cxgbi/libcxgbi.c if (saddr) saddr 711 drivers/scsi/cxgbi/libcxgbi.c memcpy(&fl.saddr, saddr, sizeof(struct in6_addr)); saddr 860 drivers/scsi/cxgbi/libcxgbi.c if (csk->saddr.sin_port) saddr 909 drivers/scsi/cxgbi/libcxgbi.c &csk->saddr.sin_addr.s_addr, csk->saddr.sin_port, saddr 2538 drivers/scsi/cxgbi/libcxgbi.c (struct sockaddr *)&csk->saddr); saddr 141 drivers/scsi/cxgbi/libcxgbi.h struct sockaddr_in saddr; saddr 2284 drivers/scsi/qla2xxx/qla_sup.c uint32_t saddr, uint32_t length) saddr 2294 drivers/scsi/qla2xxx/qla_sup.c for (ilength = 0; ilength < length; saddr++, ilength++, tmp_buf++) { saddr 2299 drivers/scsi/qla2xxx/qla_sup.c data = qla2x00_read_flash_byte(ha, saddr); saddr 2300 drivers/scsi/qla2xxx/qla_sup.c if (saddr % 100) saddr 192 drivers/staging/gdm724x/gdm_lte.c memcpy(&pseudo_header.ph.ph_src, &ipv6->saddr.in6_u.u6_addr8, 16); saddr 268 drivers/staging/gdm724x/gdm_lte.c if (memcmp(ipv6_in->saddr.in6_u.u6_addr8, zero_addr8, 16) == 0) saddr 292 drivers/staging/gdm724x/gdm_lte.c memcpy(ipv6_out.saddr.in6_u.u6_addr8, &na.target_address, 16); saddr 294 drivers/staging/gdm724x/gdm_lte.c ipv6_in->saddr.in6_u.u6_addr8, 16); saddr 2587 drivers/staging/qlge/qlge_main.c tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, saddr 2594 drivers/staging/qlge/qlge_main.c ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, saddr 2630 drivers/staging/qlge/qlge_main.c *check = ~csum_tcpudp_magic(iph->saddr, saddr 192 drivers/staging/wlan-ng/p80211conv.c memcpy(p80211_hdr->a3.a3, &e_hdr.saddr, ETH_ALEN); saddr 283 drivers/staging/wlan-ng/p80211conv.c u8 saddr[ETH_ALEN]; saddr 300 drivers/staging/wlan-ng/p80211conv.c ether_addr_copy(saddr, w_hdr->a3.a2); saddr 304 drivers/staging/wlan-ng/p80211conv.c ether_addr_copy(saddr, w_hdr->a3.a3); saddr 308 drivers/staging/wlan-ng/p80211conv.c ether_addr_copy(saddr, w_hdr->a3.a2); saddr 317 drivers/staging/wlan-ng/p80211conv.c ether_addr_copy(saddr, w_hdr->a4.a4); saddr 363 drivers/staging/wlan-ng/p80211conv.c (!ether_addr_equal_unaligned(saddr, e_hdr->saddr)))) { saddr 410 drivers/staging/wlan-ng/p80211conv.c ether_addr_copy(e_hdr->saddr, saddr); saddr 452 drivers/staging/wlan-ng/p80211conv.c ether_addr_copy(e_hdr->saddr, saddr); saddr 478 drivers/staging/wlan-ng/p80211conv.c ether_addr_copy(e_hdr->saddr, saddr); saddr 137 drivers/staging/wlan-ng/p80211conv.h u8 saddr[ETH_ALEN]; saddr 262 drivers/target/iscsi/cxgbit/cxgbit_cm.c static struct net_device *cxgbit_ipv4_netdev(__be32 saddr) saddr 266 drivers/target/iscsi/cxgbit/cxgbit_cm.c ndev = __ip_dev_find(&init_net, saddr, false); saddr 63 drivers/video/fbdev/hitfb.c u32 saddr = WIDTH * dy + dx; saddr 65 drivers/video/fbdev/hitfb.c saddr <<= 1; saddr 70 drivers/video/fbdev/hitfb.c fb_writew(saddr & 0xffff, HD64461_BBTDSARL); saddr 71 drivers/video/fbdev/hitfb.c fb_writew(saddr >> 16, HD64461_BBTDSARH); saddr 79 drivers/video/fbdev/hitfb.c u32 saddr, daddr; saddr 86 drivers/video/fbdev/hitfb.c saddr = WIDTH * (sy + height) + sx + width; saddr 99 drivers/video/fbdev/hitfb.c saddr = WIDTH * sy + sx; saddr 108 drivers/video/fbdev/hitfb.c saddr <<= 1; saddr 113 drivers/video/fbdev/hitfb.c fb_writew(saddr & 0xffff, HD64461_BBTSSARL); saddr 114 drivers/video/fbdev/hitfb.c fb_writew(saddr >> 16, HD64461_BBTSSARH); saddr 3866 fs/cifs/connect.c struct sockaddr *saddr; saddr 3868 fs/cifs/connect.c saddr = (struct sockaddr *) &server->dstaddr; saddr 3871 fs/cifs/connect.c sport = ((struct sockaddr_in6 *) saddr)->sin6_port; saddr 3875 fs/cifs/connect.c sport = ((struct sockaddr_in *) saddr)->sin_port; saddr 3932 fs/cifs/connect.c rc = socket->ops->connect(socket, saddr, slen, saddr 482 fs/dlm/lowcomms.c struct sockaddr_storage saddr; saddr 492 fs/dlm/lowcomms.c kernel_getpeername(con->sock, (struct sockaddr *)&saddr) < 0) { saddr 498 fs/dlm/lowcomms.c } else if (saddr.ss_family == AF_INET) { saddr 499 fs/dlm/lowcomms.c struct sockaddr_in *sin4 = (struct sockaddr_in *)&saddr; saddr 508 fs/dlm/lowcomms.c struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)&saddr; saddr 570 fs/dlm/lowcomms.c static void make_sockaddr(struct sockaddr_storage *saddr, uint16_t port, saddr 573 fs/dlm/lowcomms.c saddr->ss_family = dlm_local_addr[0]->ss_family; saddr 574 fs/dlm/lowcomms.c if (saddr->ss_family == AF_INET) { saddr 575 fs/dlm/lowcomms.c struct sockaddr_in *in4_addr = (struct sockaddr_in *)saddr; saddr 580 fs/dlm/lowcomms.c struct sockaddr_in6 *in6_addr = (struct sockaddr_in6 *)saddr; saddr 584 fs/dlm/lowcomms.c memset((char *)saddr + *addr_len, 0, sizeof(struct sockaddr_storage) - *addr_len); saddr 1132 fs/dlm/lowcomms.c struct sockaddr_storage saddr, src_addr; saddr 1157 fs/dlm/lowcomms.c memset(&saddr, 0, sizeof(saddr)); saddr 1158 fs/dlm/lowcomms.c result = nodeid_to_addr(con->nodeid, &saddr, NULL, false); saddr 1179 fs/dlm/lowcomms.c make_sockaddr(&saddr, dlm_config.ci_tcp_port, &addr_len); saddr 1187 fs/dlm/lowcomms.c result = sock->ops->connect(sock, (struct sockaddr *)&saddr, addr_len, saddr 1223 fs/dlm/lowcomms.c struct sockaddr_storage *saddr) saddr 1261 fs/dlm/lowcomms.c make_sockaddr(saddr, dlm_config.ci_tcp_port, &addr_len); saddr 1262 fs/dlm/lowcomms.c result = sock->ops->bind(sock, (struct sockaddr *) saddr, addr_len); saddr 300 fs/ocfs2/cluster/netdebug.c __be32 saddr = 0, daddr = 0; saddr 309 fs/ocfs2/cluster/netdebug.c saddr = (__force __be32)inet->inet_saddr; saddr 334 fs/ocfs2/cluster/netdebug.c &saddr, inet ? ntohs(sport) : 0, saddr 69 include/asm-generic/checksum.h csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, saddr 75 include/asm-generic/checksum.h csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, saddr 78 include/asm-generic/checksum.h return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); saddr 36 include/linux/etherdevice.h const void *daddr, const void *saddr, unsigned len); saddr 46 include/linux/icmpv6.h const struct in6_addr *saddr, saddr 213 include/linux/ipv6.h struct in6_addr saddr; saddr 36 include/linux/lsm_audit.h __be32 saddr; saddr 40 include/linux/lsm_audit.h struct in6_addr saddr; saddr 85 include/linux/mroute.h __be32 saddr, __be32 daddr, saddr 268 include/linux/netdevice.h const void *saddr, unsigned int len); saddr 2909 include/linux/netdevice.h const void *daddr, const void *saddr, saddr 2915 include/linux/netdevice.h return dev->header_ops->create(skb, dev, type, daddr, saddr, len); saddr 441 include/linux/netfilter/ipset/ip_set.h return src ? ip_hdr(skb)->saddr : ip_hdr(skb)->daddr; saddr 447 include/linux/netfilter/ipset/ip_set.h *addr = src ? ip_hdr(skb)->saddr : ip_hdr(skb)->daddr; saddr 453 include/linux/netfilter/ipset/ip_set.h memcpy(addr, src ? &ipv6_hdr(skb)->saddr : &ipv6_hdr(skb)->daddr, saddr 14 include/linux/netfilter_ipv4.h __be32 saddr; saddr 30 include/linux/netfilter_ipv6.h struct in6_addr saddr; saddr 48 include/linux/netfilter_ipv6.h struct in6_addr *saddr); saddr 309 include/net/6lowpan.h const void *daddr, const void *saddr); saddr 328 include/net/6lowpan.h const void *daddr, const void *saddr); saddr 105 include/net/addrconf.h struct in6_addr *saddr); saddr 322 include/net/cfg802154.h const struct ieee802154_addr *saddr, saddr 369 include/net/cfg802154.h const struct ieee802154_addr *saddr, saddr 374 include/net/cfg802154.h return wpan_dev->header_ops->create(skb, dev, daddr, saddr, len); saddr 174 include/net/dn.h static inline __le16 dn_saddr2dn(struct sockaddr_dn *saddr) saddr 176 include/net/dn.h return *(__le16 *)saddr->sdn_nodeaddr; saddr 155 include/net/dn_fib.h #define dn_fib_rules_policy(saddr,res,flags) (0) saddr 33 include/net/dst_cache.h struct rtable *dst_cache_get_ip4(struct dst_cache *dst_cache, __be32 *saddr); saddr 44 include/net/dst_cache.h __be32 saddr); saddr 57 include/net/dst_cache.h const struct in6_addr *saddr); saddr 67 include/net/dst_cache.h struct in6_addr *saddr); saddr 141 include/net/dst_metadata.h static inline struct metadata_dst *__ip_tun_set_dst(__be32 saddr, saddr 156 include/net/dst_metadata.h saddr, daddr, tos, ttl, saddr 168 include/net/dst_metadata.h return __ip_tun_set_dst(iph->saddr, iph->daddr, iph->tos, iph->ttl, saddr 172 include/net/dst_metadata.h static inline struct metadata_dst *__ipv6_tun_set_dst(const struct in6_addr *saddr, saddr 195 include/net/dst_metadata.h info->key.u.ipv6.src = *saddr; saddr 212 include/net/dst_metadata.h return __ipv6_tun_set_dst(&ip6h->saddr, &ip6h->daddr, saddr 85 include/net/flow.h __be32 saddr; saddr 101 include/net/flow.h __be32 daddr, __be32 saddr, saddr 116 include/net/flow.h fl4->saddr = saddr; saddr 123 include/net/flow.h __be32 daddr, __be32 saddr) saddr 128 include/net/flow.h fl4->saddr = saddr; saddr 144 include/net/flow.h struct in6_addr saddr; saddr 167 include/net/flow.h __le16 saddr; saddr 45 include/net/inet6_hashtables.h const struct in6_addr *saddr, saddr 54 include/net/inet6_hashtables.h const struct in6_addr *saddr, saddr 63 include/net/inet6_hashtables.h const struct in6_addr *saddr, saddr 70 include/net/inet6_hashtables.h struct sock *sk = __inet6_lookup_established(net, hashinfo, saddr, saddr 77 include/net/inet6_hashtables.h return inet6_lookup_listener(net, hashinfo, skb, doff, saddr, sport, saddr 95 include/net/inet6_hashtables.h doff, &ipv6_hdr(skb)->saddr, sport, saddr 102 include/net/inet6_hashtables.h const struct in6_addr *saddr, const __be16 sport, saddr 42 include/net/inet_frag.h __be32 saddr; saddr 51 include/net/inet_frag.h struct in6_addr saddr; saddr 259 include/net/inet_hashtables.h const __be32 saddr, const __be16 sport, saddr 267 include/net/inet_hashtables.h __be32 saddr, __be16 sport, saddr 270 include/net/inet_hashtables.h return __inet_lookup_listener(net, hashinfo, skb, doff, saddr, sport, saddr 327 include/net/inet_hashtables.h const __be32 saddr, const __be16 sport, saddr 333 include/net/inet_hashtables.h const __be32 saddr, const __be16 sport, saddr 337 include/net/inet_hashtables.h return __inet_lookup_established(net, hashinfo, saddr, sport, daddr, saddr 344 include/net/inet_hashtables.h const __be32 saddr, const __be16 sport, saddr 352 include/net/inet_hashtables.h sk = __inet_lookup_established(net, hashinfo, saddr, sport, saddr 358 include/net/inet_hashtables.h return __inet_lookup_listener(net, hashinfo, skb, doff, saddr, saddr 365 include/net/inet_hashtables.h const __be32 saddr, const __be16 sport, saddr 372 include/net/inet_hashtables.h sk = __inet_lookup(net, hashinfo, skb, doff, saddr, sport, daddr, saddr 396 include/net/inet_hashtables.h doff, iph->saddr, sport, saddr 152 include/net/ip.h __be32 saddr, __be32 daddr, saddr 281 include/net/ip.h __be32 daddr, __be32 saddr, saddr 527 include/net/ip.h return csum_tcpudp_nofold(ip_hdr(skb)->saddr, ip_hdr(skb)->daddr, saddr 541 include/net/ip.h memcpy(&flow->addrs.v4addrs, &iph->saddr, sizeof(flow->addrs.v4addrs)); saddr 549 include/net/ip.h return csum_tcpudp_nofold(iph->saddr, iph->daddr, saddr 625 include/net/ip.h memset(&np->saddr, 0, sizeof(np->saddr)); saddr 639 include/net/ip.h __be32 saddr, saddr 642 include/net/ip.h return jhash_1word((__force u32)saddr, net_hash_mix(net)) ^ port; saddr 34 include/net/ip6_checksum.h __sum16 csum_ipv6_magic(const struct in6_addr *saddr, saddr 41 include/net/ip6_checksum.h return ~csum_unfold(csum_ipv6_magic(&ipv6_hdr(skb)->saddr, saddr 50 include/net/ip6_checksum.h return ~csum_unfold(csum_ipv6_magic(&iph->saddr, &iph->daddr, saddr 55 include/net/ip6_checksum.h const struct in6_addr *saddr, saddr 59 include/net/ip6_checksum.h return csum_ipv6_magic(saddr, daddr, len, IPPROTO_TCP, base); saddr 63 include/net/ip6_checksum.h const struct in6_addr *saddr, saddr 69 include/net/ip6_checksum.h th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0); saddr 73 include/net/ip6_checksum.h th->check = tcp_v6_check(skb->len, saddr, daddr, saddr 84 include/net/ip6_checksum.h __tcp_v6_send_check(skb, &np->saddr, &sk->sk_v6_daddr); saddr 89 include/net/ip6_checksum.h const struct in6_addr *saddr, saddr 93 include/net/ip6_checksum.h return csum_ipv6_magic(saddr, daddr, len, IPPROTO_UDP, base); saddr 97 include/net/ip6_checksum.h const struct in6_addr *saddr, saddr 414 include/net/ip6_fib.h const struct in6_addr *saddr); saddr 418 include/net/ip6_fib.h const struct in6_addr *saddr, int src_len, saddr 135 include/net/ip6_route.h struct in6_addr *saddr) saddr 140 include/net/ip6_route.h *saddr = f6i->fib6_prefsrc.addr; saddr 144 include/net/ip6_route.h err = ipv6_dev_get_saddr(net, dev, daddr, prefs, saddr); saddr 151 include/net/ip6_route.h const struct in6_addr *saddr, int oif, saddr 228 include/net/ip6_route.h const struct in6_addr *saddr) saddr 236 include/net/ip6_route.h np->saddr_cache = saddr; saddr 333 include/net/ip6_route.h const struct in6_addr *saddr); saddr 171 include/net/ip_tunnels.h __be32 saddr, __be32 daddr, saddr 177 include/net/ip_tunnels.h key->u.ipv4.src = saddr; saddr 242 include/net/ip_tunnels.h __be32 daddr, __be32 saddr, saddr 249 include/net/ip_tunnels.h fl4->saddr = saddr; saddr 55 include/net/ip_vs.h union nf_inet_addr saddr; saddr 84 include/net/ip_vs.h iphdr->saddr.in6 = iph->saddr; saddr 106 include/net/ip_vs.h iphdr->saddr.ip = iph->saddr; saddr 808 include/net/ipv6.h const struct in6_addr *saddr); saddr 837 include/net/ipv6.h memcpy(&flow->addrs.v6addrs, &iph->saddr, sizeof(flow->addrs.v6addrs)); saddr 1048 include/net/ipv6.h struct in6_addr *saddr); saddr 44 include/net/ipv6_stubs.h const struct in6_addr *saddr); saddr 68 include/net/ipv6_stubs.h const struct in6_addr *saddr, __be16 sport, saddr 43 include/net/llc_s_ev.h struct llc_addr saddr; saddr 462 include/net/ndisc.h const struct in6_addr *daddr, const struct in6_addr *saddr, saddr 466 include/net/ndisc.h const struct in6_addr *saddr, const struct in6_addr *daddr); saddr 338 include/net/neighbour.h u8 *lladdr, void *saddr, saddr 49 include/net/netfilter/nf_queue.h if ((__force u32)iph->saddr < (__force u32)iph->daddr) saddr 50 include/net/netfilter/nf_queue.h return jhash_3words((__force u32)iph->saddr, saddr 54 include/net/netfilter/nf_queue.h (__force u32)iph->saddr, iph->protocol, initval); saddr 61 include/net/netfilter/nf_queue.h if ((__force u32)ip6h->saddr.s6_addr32[3] < saddr 63 include/net/netfilter/nf_queue.h a = (__force u32) ip6h->saddr.s6_addr32[3]; saddr 66 include/net/netfilter/nf_queue.h b = (__force u32) ip6h->saddr.s6_addr32[3]; saddr 70 include/net/netfilter/nf_queue.h if ((__force u32)ip6h->saddr.s6_addr32[1] < saddr 72 include/net/netfilter/nf_queue.h c = (__force u32) ip6h->saddr.s6_addr32[1]; saddr 77 include/net/netfilter/nf_tproxy.h const __be32 saddr, const __be32 daddr, saddr 116 include/net/netfilter/nf_tproxy.h const struct in6_addr *saddr, const struct in6_addr *daddr, saddr 140 include/net/route.h __be32 saddr, u8 tos, int oif) saddr 146 include/net/route.h .saddr = saddr, saddr 153 include/net/route.h __be32 daddr, __be32 saddr, saddr 160 include/net/route.h daddr, saddr, dport, sport, sock_net_uid(net, sk)); saddr 167 include/net/route.h __be32 daddr, __be32 saddr, saddr 173 include/net/route.h fl4->saddr = saddr; saddr 179 include/net/route.h int ip_mc_validate_source(struct sk_buff *skb, __be32 daddr, __be32 saddr, saddr 313 include/net/route.h flowi4_update_output(fl4, oif, tos, fl4->daddr, fl4->saddr); saddr 330 include/net/route.h fl4->saddr); saddr 450 include/net/sctp/structs.h union sctp_addr *saddr, saddr 464 include/net/sctp/structs.h int saddr); saddr 858 include/net/sctp/structs.h union sctp_addr saddr; saddr 7 include/net/secure_seq.h u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport); saddr 8 include/net/secure_seq.h u32 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr, saddr 10 include/net/secure_seq.h u32 secure_tcp_seq(__be32 saddr, __be32 daddr, saddr 12 include/net/secure_seq.h u32 secure_tcp_ts_off(const struct net *net, __be32 saddr, __be32 daddr); saddr 13 include/net/secure_seq.h u32 secure_tcpv6_seq(const __be32 *saddr, const __be32 *daddr, saddr 16 include/net/secure_seq.h const __be32 *saddr, const __be32 *daddr); saddr 17 include/net/secure_seq.h u64 secure_dccp_sequence_number(__be32 saddr, __be32 daddr, saddr 19 include/net/secure_seq.h u64 secure_dccpv6_sequence_number(__be32 *saddr, __be32 *daddr, saddr 43 include/net/seg6_hmac.h struct ipv6_sr_hdr *hdr, struct in6_addr *saddr, saddr 49 include/net/seg6_hmac.h extern int seg6_push_hmac(struct net *net, struct in6_addr *saddr, saddr 1335 include/net/tcp.h static inline __sum16 tcp_v4_check(int len, __be32 saddr, saddr 1338 include/net/tcp.h return csum_tcpudp_magic(saddr, daddr, len, IPPROTO_TCP, base); saddr 1556 include/net/tcp.h __be32 saddr; saddr 1564 include/net/tcp.h struct in6_addr saddr; saddr 1929 include/net/tcp.h void __tcp_v4_send_check(struct sk_buff *skb, __be32 saddr, __be32 daddr); saddr 148 include/net/udp.h static inline __sum16 udp_v4_check(int len, __be32 saddr, saddr 151 include/net/udp.h return csum_tcpudp_magic(saddr, daddr, len, IPPROTO_UDP, base); saddr 155 include/net/udp.h __be32 saddr, __be32 daddr, int len); saddr 304 include/net/udp.h struct sock *udp4_lib_lookup(struct net *net, __be32 saddr, __be16 sport, saddr 306 include/net/udp.h struct sock *__udp4_lib_lookup(struct net *net, __be32 saddr, __be16 sport, saddr 312 include/net/udp.h const struct in6_addr *saddr, __be16 sport, saddr 316 include/net/udp.h const struct in6_addr *saddr, __be16 sport, saddr 149 include/net/udp_tunnel.h struct net_device *dev, struct in6_addr *saddr, saddr 208 include/net/vxlan.h union vxlan_addr saddr; saddr 178 include/net/xfrm.h xfrm_address_t saddr; saddr 323 include/net/xfrm.h const xfrm_address_t *saddr, saddr 327 include/net/xfrm.h xfrm_address_t *saddr, saddr 455 include/net/xfrm.h xfrm_address_t saddr; saddr 1062 include/net/xfrm.h return (tmpl->saddr.a4 && saddr 1063 include/net/xfrm.h tmpl->saddr.a4 != x->props.saddr.a4); saddr 1069 include/net/xfrm.h return (!ipv6_addr_any((struct in6_addr*)&tmpl->saddr) && saddr 1070 include/net/xfrm.h !ipv6_addr_equal((struct in6_addr *)&tmpl->saddr, (struct in6_addr*)&x->props.saddr)); saddr 1250 include/net/xfrm.h return (xfrm_address_t *)&fl->u.ip4.saddr; saddr 1252 include/net/xfrm.h return (xfrm_address_t *)&fl->u.ip6.saddr; saddr 1259 include/net/xfrm.h xfrm_address_t *saddr, xfrm_address_t *daddr, saddr 1264 include/net/xfrm.h memcpy(&saddr->a4, &fl->u.ip4.saddr, sizeof(saddr->a4)); saddr 1268 include/net/xfrm.h saddr->in6 = fl->u.ip6.saddr; saddr 1276 include/net/xfrm.h const xfrm_address_t *daddr, const xfrm_address_t *saddr) saddr 1279 include/net/xfrm.h (saddr->a4 == x->props.saddr.a4 || !saddr->a4 || !x->props.saddr.a4)) saddr 1286 include/net/xfrm.h const xfrm_address_t *daddr, const xfrm_address_t *saddr) saddr 1289 include/net/xfrm.h (ipv6_addr_equal((struct in6_addr *)saddr, (struct in6_addr *)&x->props.saddr) || saddr 1290 include/net/xfrm.h ipv6_addr_any((struct in6_addr *)saddr) || saddr 1291 include/net/xfrm.h ipv6_addr_any((struct in6_addr *)&x->props.saddr))) saddr 1298 include/net/xfrm.h const xfrm_address_t *daddr, const xfrm_address_t *saddr, saddr 1303 include/net/xfrm.h return __xfrm4_state_addr_check(x, daddr, saddr); saddr 1305 include/net/xfrm.h return __xfrm6_state_addr_check(x, daddr, saddr); saddr 1318 include/net/xfrm.h (const xfrm_address_t *)&fl->u.ip4.saddr); saddr 1322 include/net/xfrm.h (const xfrm_address_t *)&fl->u.ip6.saddr); saddr 1479 include/net/xfrm.h const xfrm_address_t *saddr, saddr 1486 include/net/xfrm.h xfrm_address_t *saddr, saddr 1500 include/net/xfrm.h const xfrm_address_t *saddr, saddr 1593 include/net/xfrm.h xfrm_address_t *saddr, u8 proto); saddr 1599 include/net/xfrm.h __be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr); saddr 1600 include/net/xfrm.h __be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr); saddr 1626 include/net/xfrm.h const xfrm_address_t *saddr, saddr 1653 include/net/xfrm.h const xfrm_address_t *saddr, int create, saddr 248 include/rdma/ib_pack.h __be32 saddr; saddr 53 include/trace/events/fib.h *p32 = flp->saddr; saddr 50 include/trace/events/fib6.h *in6 = flp->saddr; saddr 8 include/trace/events/net_probe_common.h struct sockaddr_in *v4 = (void *)__entry->saddr; \ saddr 24 include/trace/events/net_probe_common.h struct sockaddr_in6 *v6 = (void *)__entry->saddr; \ saddr 28 include/trace/events/net_probe_common.h v6->sin6_addr = inet6_sk(sk)->saddr; \ saddr 151 include/trace/events/sock.h __array(__u8, saddr, 4) saddr 171 include/trace/events/sock.h p32 = (__be32 *) __entry->saddr; saddr 197 include/trace/events/sock.h __entry->saddr, __entry->daddr, saddr 15 include/trace/events/tcp.h #define TP_STORE_V4MAPPED(__entry, saddr, daddr) \ saddr 20 include/trace/events/tcp.h ipv6_addr_set_v4mapped(saddr, pin6); \ saddr 26 include/trace/events/tcp.h #define TP_STORE_ADDRS(__entry, saddr, daddr, saddr6, daddr6) \ saddr 36 include/trace/events/tcp.h TP_STORE_V4MAPPED(__entry, saddr, daddr); \ saddr 40 include/trace/events/tcp.h #define TP_STORE_ADDRS(__entry, saddr, daddr, saddr6, daddr6) \ saddr 41 include/trace/events/tcp.h TP_STORE_V4MAPPED(__entry, saddr, daddr) saddr 62 include/trace/events/tcp.h __array(__u8, saddr, 4) saddr 79 include/trace/events/tcp.h p32 = (__be32 *) __entry->saddr; saddr 90 include/trace/events/tcp.h __entry->sport, __entry->dport, __entry->saddr, __entry->daddr, saddr 128 include/trace/events/tcp.h __array(__u8, saddr, 4) saddr 144 include/trace/events/tcp.h p32 = (__be32 *) __entry->saddr; saddr 158 include/trace/events/tcp.h __entry->saddr, __entry->daddr, saddr 195 include/trace/events/tcp.h __array(__u8, saddr, 4) saddr 211 include/trace/events/tcp.h p32 = (__be32 *) __entry->saddr; saddr 223 include/trace/events/tcp.h __entry->saddr, __entry->daddr, saddr 237 include/trace/events/tcp.h __array(__u8, saddr, sizeof(struct sockaddr_in6)) saddr 258 include/trace/events/tcp.h memset(__entry->saddr, 0, sizeof(struct sockaddr_in6)); saddr 280 include/trace/events/tcp.h __entry->saddr, __entry->daddr, __entry->mark, saddr 3125 include/uapi/linux/bpf.h __be32 saddr; saddr 3131 include/uapi/linux/bpf.h __be32 saddr[4]; saddr 40 include/uapi/linux/if_fc.h __u8 saddr[FC_ALEN]; /* source address */ saddr 113 include/uapi/linux/if_fddi.h __u8 saddr[FDDI_K_ALEN]; /* source address */ saddr 132 include/uapi/linux/if_hippi.h __u8 saddr[HIPPI_ALEN]; saddr 103 include/uapi/linux/ip.h __be32 saddr; saddr 132 include/uapi/linux/ipv6.h struct in6_addr saddr; saddr 25 include/uapi/linux/netfilter/xt_policy.h __u8 saddr:1, saddr 44 include/uapi/linux/netfilter/xt_policy.h union nf_inet_addr saddr; saddr 51 include/uapi/linux/netfilter/xt_policy.h union xt_policy_addr saddr; saddr 48 include/uapi/linux/netfilter_bridge/ebt_802_3.h __u8 saddr[ETH_ALEN]; saddr 26 include/uapi/linux/netfilter_bridge/ebt_arp.h __be32 saddr; saddr 35 include/uapi/linux/netfilter_bridge/ebt_ip.h __be32 saddr; saddr 34 include/uapi/linux/netfilter_bridge/ebt_ip6.h struct in6_addr saddr; saddr 51 include/uapi/linux/xfrm.h xfrm_address_t saddr; saddr 239 include/uapi/linux/xfrm.h xfrm_address_t saddr; saddr 369 include/uapi/linux/xfrm.h xfrm_address_t saddr; saddr 400 include/uapi/linux/xfrm.h xfrm_address_t saddr; saddr 436 include/uapi/linux/xfrm.h xfrm_address_t saddr; saddr 496 include/uapi/linux/xfrm.h xfrm_address_t saddr; saddr 189 lib/checksum.c __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, saddr 194 lib/checksum.c s += (__force u32)saddr; saddr 936 lib/debugobjects.c unsigned long flags, oaddr, saddr, eaddr, paddr, chunks; saddr 944 lib/debugobjects.c saddr = (unsigned long) address; saddr 945 lib/debugobjects.c eaddr = saddr + size; saddr 946 lib/debugobjects.c paddr = saddr & ODEBUG_CHUNK_MASK; saddr 959 lib/debugobjects.c if (oaddr < saddr || oaddr >= eaddr) saddr 61 lib/test_blackhole_dev.c ip6h->saddr = in6addr_loopback; saddr 4807 mm/hugetlb.c unsigned long saddr = ((idx - svma->vm_pgoff) << PAGE_SHIFT) + saddr 4809 mm/hugetlb.c unsigned long sbase = saddr & PUD_MASK; saddr 4820 mm/hugetlb.c if (pmd_index(addr) != pmd_index(saddr) || saddr 4825 mm/hugetlb.c return saddr; saddr 4886 mm/hugetlb.c unsigned long saddr; saddr 4899 mm/hugetlb.c saddr = page_table_shareable(svma, vma, addr, idx); saddr 4900 mm/hugetlb.c if (saddr) { saddr 4901 mm/hugetlb.c spte = huge_pte_offset(svma->vm_mm, saddr, saddr 149 net/6lowpan/iphc.c (!(hdr->saddr.s6_addr[1] & 0x3f) && \ saddr 150 net/6lowpan/iphc.c !hdr->saddr.s6_addr16[1] && \ saddr 151 net/6lowpan/iphc.c !hdr->saddr.s6_addr32[1]) saddr 613 net/6lowpan/iphc.c const void *daddr, const void *saddr) saddr 668 net/6lowpan/iphc.c err = lowpan_iphc_uncompress_ctx_addr(skb, dev, ci, &hdr.saddr, saddr 670 net/6lowpan/iphc.c saddr); saddr 675 net/6lowpan/iphc.c err = lowpan_iphc_uncompress_addr(skb, dev, &hdr.saddr, saddr 677 net/6lowpan/iphc.c saddr); saddr 1132 net/6lowpan/iphc.c const void *daddr, const void *saddr) saddr 1178 net/6lowpan/iphc.c sci = lowpan_iphc_ctx_get_by_addr(dev, &hdr->saddr); saddr 1227 net/6lowpan/iphc.c ipv6_saddr_type = ipv6_addr_type(&hdr->saddr); saddr 1235 net/6lowpan/iphc.c &hdr->saddr, saddr 1236 net/6lowpan/iphc.c &sci_entry, saddr, saddr 1241 net/6lowpan/iphc.c lowpan_is_linklocal_zero_padded(hdr->saddr)) { saddr 1243 net/6lowpan/iphc.c &hdr->saddr, saddr 1244 net/6lowpan/iphc.c saddr, true); saddr 1246 net/6lowpan/iphc.c &hdr->saddr, iphc1); saddr 1250 net/6lowpan/iphc.c hdr->saddr.s6_addr, 16); saddr 34 net/802/fc.c const void *daddr, const void *saddr, unsigned int len) saddr 61 net/802/fc.c if(saddr) saddr 62 net/802/fc.c memcpy(fch->saddr,saddr,dev->addr_len); saddr 64 net/802/fc.c memcpy(fch->saddr,dev->dev_addr,dev->addr_len); saddr 50 net/802/fddi.c const void *daddr, const void *saddr, unsigned int len) saddr 72 net/802/fddi.c if (saddr != NULL) saddr 73 net/802/fddi.c memcpy(fddi->saddr, saddr, dev->addr_len); saddr 75 net/802/fddi.c memcpy(fddi->saddr, dev->dev_addr, dev->addr_len); saddr 44 net/802/hippi.c const void *daddr, const void *saddr, unsigned int len) saddr 46 net/8021q/vlan_dev.c const void *daddr, const void *saddr, saddr 77 net/8021q/vlan_dev.c if (saddr == NULL) saddr 78 net/8021q/vlan_dev.c saddr = dev->dev_addr; saddr 82 net/8021q/vlan_dev.c rc = dev_hard_header(skb, dev, type, daddr, saddr, len + vhdrlen); saddr 499 net/8021q/vlan_dev.c const void *daddr, const void *saddr, saddr 505 net/8021q/vlan_dev.c if (saddr == NULL) saddr 506 net/8021q/vlan_dev.c saddr = dev->dev_addr; saddr 508 net/8021q/vlan_dev.c return dev_hard_header(skb, real_dev, type, daddr, saddr, len); saddr 774 net/atm/mpc.c eg->latest_ip_addr = ip_hdr(new_skb)->saddr; saddr 47 net/ax25/ax25_ip.c const void *saddr, unsigned int len) saddr 67 net/ax25/ax25_ip.c if (saddr != NULL) saddr 68 net/ax25/ax25_ip.c memcpy(buff, saddr, dev->addr_len); saddr 216 net/ax25/ax25_ip.c const void *saddr, unsigned int len) saddr 1514 net/batman-adv/distributed-arp-table.c *ip_src = get_unaligned(&iphdr->saddr); saddr 277 net/bluetooth/6lowpan.c const u8 *saddr; saddr 279 net/bluetooth/6lowpan.c saddr = peer->lladdr; saddr 281 net/bluetooth/6lowpan.c return lowpan_header_decompress(skb, netdev, netdev->dev_addr, saddr); saddr 306 net/bridge/br_arp_nd_proxy.c pip6->daddr = ipv6_hdr(request)->saddr; saddr 307 net/bridge/br_arp_nd_proxy.c pip6->saddr = *(struct in6_addr *)n->primary_key; saddr 325 net/bridge/br_arp_nd_proxy.c na->icmph.icmp6_cksum = csum_ipv6_magic(&pip6->saddr, saddr 350 net/bridge/br_arp_nd_proxy.c dev->name, &pip6->daddr, daddr, &pip6->saddr, n->ha); saddr 392 net/bridge/br_arp_nd_proxy.c struct in6_addr *saddr, *daddr; saddr 412 net/bridge/br_arp_nd_proxy.c saddr = &iphdr->saddr; saddr 415 net/bridge/br_arp_nd_proxy.c if (ipv6_addr_any(saddr) || !ipv6_addr_cmp(saddr, daddr)) { saddr 261 net/bridge/br_multicast.c iph->saddr = br_opt_get(br, BROPT_MULTICAST_QUERY_USE_IFADDR) ? saddr 351 net/bridge/br_multicast.c &ip6h->saddr)) { saddr 387 net/bridge/br_multicast.c mldq->mld_cksum = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, saddr 406 net/bridge/br_multicast.c mld2q->mld2q_cksum = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, saddr 705 net/bridge/br_multicast.c br->ip4_querier.addr.u.ip4 = ip_hdr(skb)->saddr; saddr 708 net/bridge/br_multicast.c br->ip6_querier.addr.u.ip6 = ipv6_hdr(skb)->saddr; saddr 1062 net/bridge/br_multicast.c __be32 saddr) saddr 1071 net/bridge/br_multicast.c if (ntohl(saddr) <= ntohl(br->ip4_querier.addr.u.ip4)) saddr 1077 net/bridge/br_multicast.c br->ip4_querier.addr.u.ip4 = saddr; saddr 1088 net/bridge/br_multicast.c struct in6_addr *saddr) saddr 1094 net/bridge/br_multicast.c if (ipv6_addr_cmp(saddr, &br->ip6_querier.addr.u.ip6) <= 0) saddr 1100 net/bridge/br_multicast.c br->ip6_querier.addr.u.ip6 = *saddr; saddr 1111 net/bridge/br_multicast.c struct br_ip *saddr) saddr 1113 net/bridge/br_multicast.c switch (saddr->proto) { saddr 1115 net/bridge/br_multicast.c return br_ip4_multicast_select_querier(br, port, saddr->u.ip4); saddr 1118 net/bridge/br_multicast.c return br_ip6_multicast_select_querier(br, port, &saddr->u.ip6); saddr 1205 net/bridge/br_multicast.c struct br_ip *saddr, saddr 1208 net/bridge/br_multicast.c if (!br_multicast_select_querier(br, port, saddr)) saddr 1227 net/bridge/br_multicast.c struct br_ip saddr; saddr 1258 net/bridge/br_multicast.c saddr.proto = htons(ETH_P_IP); saddr 1259 net/bridge/br_multicast.c saddr.u.ip4 = iph->saddr; saddr 1262 net/bridge/br_multicast.c &saddr, max_delay); saddr 1303 net/bridge/br_multicast.c struct br_ip saddr; saddr 1340 net/bridge/br_multicast.c saddr.proto = htons(ETH_P_IPV6); saddr 1341 net/bridge/br_multicast.c saddr.u.ip6 = ipv6_hdr(skb)->saddr; saddr 1344 net/bridge/br_multicast.c &saddr, max_delay); saddr 368 net/bridge/br_netfilter_hooks.c if ((err = ip_route_input(skb, iph->daddr, iph->saddr, iph->tos, dev))) { saddr 111 net/bridge/netfilter/ebt_among.c *addr = ih->saddr; saddr 41 net/bridge/netfilter/ebt_arp.c __be32 saddr, daddr; saddr 46 net/bridge/netfilter/ebt_arp.c ah->ar_hln, sizeof(saddr), saddr 47 net/bridge/netfilter/ebt_arp.c &saddr); saddr 51 net/bridge/netfilter/ebt_arp.c 2*ah->ar_hln+sizeof(saddr), saddr 57 net/bridge/netfilter/ebt_arp.c info->saddr != (*sap & info->smsk))) saddr 54 net/bridge/netfilter/ebt_ip.c (ih->saddr & info->smsk) != info->saddr)) saddr 55 net/bridge/netfilter/ebt_ip6.c ipv6_masked_addr_cmp(&ih6->saddr, &info->smsk, saddr 56 net/bridge/netfilter/ebt_ip6.c &info->saddr))) || saddr 108 net/bridge/netfilter/ebt_log.c &ih->saddr, &ih->daddr, ih->tos, ih->protocol); saddr 128 net/bridge/netfilter/ebt_log.c &ih->saddr, &ih->daddr, ih->priority, ih->nexthdr); saddr 285 net/bridge/netfilter/nft_reject_bridge.c csum_ipv6_magic(&nip6h->saddr, &nip6h->daddr, saddr 238 net/caif/chnl_net.c swap(ip_hdr(skb)->saddr, ip_hdr(skb)->daddr); saddr 72 net/core/dst_cache.c struct rtable *dst_cache_get_ip4(struct dst_cache *dst_cache, __be32 *saddr) saddr 85 net/core/dst_cache.c *saddr = idst->in_saddr.s_addr; saddr 91 net/core/dst_cache.c __be32 saddr) saddr 100 net/core/dst_cache.c idst->in_saddr.s_addr = saddr; saddr 106 net/core/dst_cache.c const struct in6_addr *saddr) saddr 116 net/core/dst_cache.c idst->in6_saddr = *saddr; saddr 121 net/core/dst_cache.c struct in6_addr *saddr) saddr 134 net/core/dst_cache.c *saddr = idst->in6_saddr; saddr 4573 net/core/filter.c memcpy(to->remote_ipv6, x->props.saddr.a6, saddr 4576 net/core/filter.c to->remote_ipv4 = x->props.saddr.a4; saddr 4648 net/core/filter.c fl4.saddr = params->ipv4_src; saddr 4770 net/core/filter.c fl6.saddr = *src; saddr 5214 net/core/filter.c __be32 src4 = tuple->ipv4.saddr; saddr 5228 net/core/filter.c struct in6_addr *src6 = (struct in6_addr *)&tuple->ipv6.saddr; saddr 1026 net/core/flow_dissector.c memcpy(&key_addrs->v4addrs, &iph->saddr, saddr 1071 net/core/flow_dissector.c memcpy(&key_addrs->v6addrs, &iph->saddr, saddr 1673 net/core/flow_dissector.c memcpy(&keys->addrs.v6addrs.src, &fl6->saddr, saddr 96 net/core/lwt_bpf.c err = ip_route_input_noref(skb, iph->daddr, iph->saddr, saddr 213 net/core/lwt_bpf.c fl4.saddr = iph->saddr; saddr 231 net/core/lwt_bpf.c fl6.saddr = iph6->saddr; saddr 1435 net/core/neighbour.c u8 *lladdr, void *saddr, saddr 1438 net/core/neighbour.c struct neighbour *neigh = __neigh_lookup(tbl, saddr, dev, saddr 419 net/core/netpoll.c ip6h->saddr = np->local_ip.in6; saddr 447 net/core/netpoll.c put_unaligned(np->local_ip.ip, &(iph->saddr)); saddr 2808 net/core/pktgen.c iph->saddr = pkt_dev->cur_saddr; saddr 2827 net/core/pktgen.c udp4_hwcsum(skb, iph->saddr, iph->daddr); saddr 2832 net/core/pktgen.c udph->check = csum_tcpudp_magic(iph->saddr, iph->daddr, saddr 2949 net/core/pktgen.c iph->saddr = pkt_dev->cur_in6_saddr; saddr 2963 net/core/pktgen.c udph->check = ~csum_ipv6_magic(&iph->saddr, &iph->daddr, udplen, IPPROTO_UDP, 0); saddr 2968 net/core/pktgen.c udph->check = csum_ipv6_magic(&iph->saddr, &iph->daddr, udplen, IPPROTO_UDP, csum); saddr 56 net/core/secure_seq.c const __be32 *saddr, const __be32 *daddr) saddr 59 net/core/secure_seq.c struct in6_addr saddr; saddr 62 net/core/secure_seq.c .saddr = *(struct in6_addr *)saddr, saddr 75 net/core/secure_seq.c u32 secure_tcpv6_seq(const __be32 *saddr, const __be32 *daddr, saddr 79 net/core/secure_seq.c struct in6_addr saddr; saddr 84 net/core/secure_seq.c .saddr = *(struct in6_addr *)saddr, saddr 98 net/core/secure_seq.c u32 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr, saddr 102 net/core/secure_seq.c struct in6_addr saddr; saddr 106 net/core/secure_seq.c .saddr = *(struct in6_addr *)saddr, saddr 118 net/core/secure_seq.c u32 secure_tcp_ts_off(const struct net *net, __be32 saddr, __be32 daddr) saddr 124 net/core/secure_seq.c return siphash_2u32((__force u32)saddr, (__force u32)daddr, saddr 133 net/core/secure_seq.c u32 secure_tcp_seq(__be32 saddr, __be32 daddr, saddr 139 net/core/secure_seq.c hash = siphash_3u32((__force u32)saddr, (__force u32)daddr, saddr 146 net/core/secure_seq.c u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport) saddr 149 net/core/secure_seq.c return siphash_3u32((__force u32)saddr, (__force u32)daddr, saddr 156 net/core/secure_seq.c u64 secure_dccp_sequence_number(__be32 saddr, __be32 daddr, saddr 161 net/core/secure_seq.c seq = siphash_3u32((__force u32)saddr, (__force u32)daddr, saddr 171 net/core/secure_seq.c u64 secure_dccpv6_sequence_number(__be32 *saddr, __be32 *daddr, saddr 175 net/core/secure_seq.c struct in6_addr saddr; saddr 180 net/core/secure_seq.c .saddr = *(struct in6_addr *)saddr, saddr 4770 net/core/skbuff.c *csum = ~csum_tcpudp_magic(ip_hdr(skb)->saddr, saddr 4879 net/core/skbuff.c *csum = ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, saddr 2646 net/core/sock.c int sock_no_bind(struct socket *sock, struct sockaddr *saddr, int len) saddr 2652 net/core/sock.c int sock_no_connect(struct socket *sock, struct sockaddr *saddr, saddr 2672 net/core/sock.c int sock_no_getname(struct socket *sock, struct sockaddr *saddr, saddr 87 net/dccp/ipv4.c inet->inet_saddr = fl4->saddr; saddr 254 net/dccp/ipv4.c iph->saddr, ntohs(dh->dccph_sport), saddr 382 net/dccp/ipv4.c ip_hdr(skb)->saddr, saddr 459 net/dccp/ipv4.c .daddr = iph->saddr, saddr 460 net/dccp/ipv4.c .saddr = iph->daddr, saddr 533 net/dccp/ipv4.c dccp_hdr(skb)->dccph_checksum = dccp_v4_csum_finish(skb, rxiph->saddr, saddr 540 net/dccp/ipv4.c rxiph->daddr, rxiph->saddr, NULL); saddr 617 net/dccp/ipv4.c sk_daddr_set(req_to_sk(req), ip_hdr(skb)->saddr); saddr 785 net/dccp/ipv4.c if (dccp_v4_csum_finish(skb, iph->saddr, iph->daddr)) { saddr 797 net/dccp/ipv4.c &iph->saddr, ntohs(dh->dccph_sport), saddr 43 net/dccp/ipv6.c const struct in6_addr *saddr, saddr 46 net/dccp/ipv6.c return csum_ipv6_magic(saddr, daddr, skb->len, IPPROTO_DCCP, skb->csum); saddr 55 net/dccp/ipv6.c dh->dccph_checksum = dccp_v6_csum_finish(skb, &np->saddr, &sk->sk_v6_daddr); saddr 61 net/dccp/ipv6.c ipv6_hdr(skb)->saddr.s6_addr32, saddr 89 net/dccp/ipv6.c &hdr->saddr, ntohs(dh->dccph_sport), saddr 201 net/dccp/ipv6.c fl6.saddr = ireq->ir_v6_loc_addr; saddr 271 net/dccp/ipv6.c dccp_hdr(skb)->dccph_checksum = dccp_v6_csum_finish(skb, &rxip6h->saddr, saddr 275 net/dccp/ipv6.c fl6.daddr = rxip6h->saddr; saddr 276 net/dccp/ipv6.c fl6.saddr = rxip6h->daddr; saddr 351 net/dccp/ipv6.c ireq->ir_v6_rmt_addr = ipv6_hdr(skb)->saddr; saddr 427 net/dccp/ipv6.c newnp->saddr = newsk->sk_v6_rcv_saddr; saddr 487 net/dccp/ipv6.c newnp->saddr = ireq->ir_v6_loc_addr; saddr 695 net/dccp/ipv6.c if (dccp_v6_csum_finish(skb, &ipv6_hdr(skb)->saddr, saddr 811 net/dccp/ipv6.c struct in6_addr *saddr = NULL, *final_p, final; saddr 897 net/dccp/ipv6.c np->saddr = sk->sk_v6_rcv_saddr; saddr 902 net/dccp/ipv6.c saddr = &sk->sk_v6_rcv_saddr; saddr 906 net/dccp/ipv6.c fl6.saddr = saddr ? *saddr : np->saddr; saddr 921 net/dccp/ipv6.c if (saddr == NULL) { saddr 922 net/dccp/ipv6.c saddr = &fl6.saddr; saddr 923 net/dccp/ipv6.c sk->sk_v6_rcv_saddr = *saddr; saddr 927 net/dccp/ipv6.c np->saddr = *saddr; saddr 943 net/dccp/ipv6.c dp->dccps_iss = secure_dccpv6_sequence_number(np->saddr.s6_addr32, saddr 22 net/dccp/trace.h __array(__u8, saddr, sizeof(struct sockaddr_in6)) saddr 43 net/dccp/trace.h memset(__entry->saddr, 0, sizeof(struct sockaddr_in6)); saddr 71 net/dccp/trace.h __entry->saddr, __entry->daddr, __entry->size, saddr 721 net/decnet/af_decnet.c struct sockaddr_dn *saddr = (struct sockaddr_dn *)uaddr; saddr 728 net/decnet/af_decnet.c if (saddr->sdn_family != AF_DECnet) saddr 731 net/decnet/af_decnet.c if (le16_to_cpu(saddr->sdn_nodeaddrl) && (le16_to_cpu(saddr->sdn_nodeaddrl) != 2)) saddr 734 net/decnet/af_decnet.c if (le16_to_cpu(saddr->sdn_objnamel) > DN_MAXOBJL) saddr 737 net/decnet/af_decnet.c if (saddr->sdn_flags & ~SDF_WILD) saddr 740 net/decnet/af_decnet.c if (!capable(CAP_NET_BIND_SERVICE) && (saddr->sdn_objnum || saddr 741 net/decnet/af_decnet.c (saddr->sdn_flags & SDF_WILD))) saddr 744 net/decnet/af_decnet.c if (!(saddr->sdn_flags & SDF_WILD)) { saddr 745 net/decnet/af_decnet.c if (le16_to_cpu(saddr->sdn_nodeaddrl)) { saddr 751 net/decnet/af_decnet.c if (dn_dev_islocal(dev, dn_saddr2dn(saddr))) { saddr 765 net/decnet/af_decnet.c memcpy(&scp->addr, saddr, addr_len); saddr 947 net/decnet/af_decnet.c fld.saddr = dn_saddr2dn(&scp->addr); saddr 86 net/decnet/dn_nsp_out.c fld.saddr = dn_saddr2dn(&scp->addr); saddr 310 net/decnet/dn_route.c (fl1->saddr ^ fl2->saddr) | saddr 908 net/decnet/dn_route.c __le16 saddr = 0; saddr 922 net/decnet/dn_route.c saddr = ifa->ifa_local; saddr 927 net/decnet/dn_route.c saddr = ifa->ifa_local; saddr 929 net/decnet/dn_route.c saddr = ifa->ifa_local; saddr 933 net/decnet/dn_route.c return saddr; saddr 951 net/decnet/dn_route.c .saddr = oldflp->saddr, saddr 971 net/decnet/dn_route.c le16_to_cpu(oldflp->saddr), saddr 988 net/decnet/dn_route.c if (oldflp->saddr) { saddr 992 net/decnet/dn_route.c if (dn_dev_islocal(dev_out, oldflp->saddr)) saddr 1001 net/decnet/dn_route.c if (!dn_dev_islocal(dev, oldflp->saddr)) saddr 1021 net/decnet/dn_route.c fld.daddr = fld.saddr; saddr 1033 net/decnet/dn_route.c fld.saddr = dnet_select_source(dev_out, 0, saddr 1047 net/decnet/dn_route.c le16_to_cpu(fld.daddr), le16_to_cpu(fld.saddr), saddr 1075 net/decnet/dn_route.c (oldflp->saddr && saddr 1077 net/decnet/dn_route.c oldflp->saddr)))) { saddr 1122 net/decnet/dn_route.c if (fld.saddr == 0) { saddr 1123 net/decnet/dn_route.c fld.saddr = dnet_select_source(dev_out, gateway, saddr 1127 net/decnet/dn_route.c if (fld.saddr == 0 && res.type != RTN_LOCAL) saddr 1139 net/decnet/dn_route.c if (!fld.saddr) saddr 1140 net/decnet/dn_route.c fld.saddr = fld.daddr; saddr 1162 net/decnet/dn_route.c if (!fld.saddr) saddr 1163 net/decnet/dn_route.c fld.saddr = DN_FIB_RES_PREFSRC(res); saddr 1182 net/decnet/dn_route.c rt->fld.saddr = oldflp->saddr; saddr 1188 net/decnet/dn_route.c rt->rt_saddr = fld.saddr; saddr 1191 net/decnet/dn_route.c rt->rt_local_src = fld.saddr; saddr 1194 net/decnet/dn_route.c rt->rt_src_map = fld.saddr; saddr 1210 net/decnet/dn_route.c hash = dn_hash(rt->fld.saddr, rt->fld.daddr); saddr 1244 net/decnet/dn_route.c unsigned int hash = dn_hash(flp->saddr, flp->daddr); saddr 1252 net/decnet/dn_route.c (flp->saddr == rt->fld.saddr) && saddr 1314 net/decnet/dn_route.c .saddr = cb->src, saddr 1329 net/decnet/dn_route.c if (fld.saddr == 0) saddr 1355 net/decnet/dn_route.c __le16 src_map = fld.saddr; saddr 1366 net/decnet/dn_route.c src_map = fld.saddr; /* no NAT support for now */ saddr 1381 net/decnet/dn_route.c fld.saddr = src_map; saddr 1414 net/decnet/dn_route.c fld.saddr = cb->dst; saddr 1448 net/decnet/dn_route.c rt->rt_saddr = fld.saddr; saddr 1456 net/decnet/dn_route.c rt->rt_src_map = fld.saddr; saddr 1458 net/decnet/dn_route.c rt->fld.saddr = cb->src; saddr 1488 net/decnet/dn_route.c hash = dn_hash(rt->fld.saddr, rt->fld.daddr); saddr 1529 net/decnet/dn_route.c if ((rt->fld.saddr == cb->src) && saddr 1575 net/decnet/dn_route.c if (rt->fld.saddr) { saddr 1577 net/decnet/dn_route.c if (nla_put_le16(skb, RTA_SRC, rt->fld.saddr) < 0) saddr 1663 net/decnet/dn_route.c fld.saddr = nla_get_le16(tb[RTA_SRC]); saddr 1680 net/decnet/dn_route.c cb->src = fld.saddr; saddr 113 net/decnet/dn_rules.c __le16 saddr = fld->saddr; saddr 115 net/decnet/dn_rules.c if (((saddr ^ r->src) & r->srcmask) || saddr 81 net/ethernet/eth.c const void *daddr, const void *saddr, unsigned int len) saddr 94 net/ethernet/eth.c if (!saddr) saddr 95 net/ethernet/eth.c saddr = dev->dev_addr; saddr 96 net/ethernet/eth.c memcpy(eth->h_source, saddr, ETH_ALEN); saddr 15 net/ieee802154/6lowpan/tx.c struct ieee802154_addr saddr; saddr 35 net/ieee802154/6lowpan/tx.c const void *saddr, unsigned int len) saddr 53 net/ieee802154/6lowpan/tx.c info->saddr.pan_id = wpan_dev->pan_id; saddr 54 net/ieee802154/6lowpan/tx.c info->daddr.pan_id = info->saddr.pan_id; saddr 84 net/ieee802154/6lowpan/tx.c if (!saddr) { saddr 86 net/ieee802154/6lowpan/tx.c info->saddr.mode = IEEE802154_ADDR_SHORT; saddr 87 net/ieee802154/6lowpan/tx.c info->saddr.short_addr = wpan_dev->short_addr; saddr 89 net/ieee802154/6lowpan/tx.c info->saddr.mode = IEEE802154_ADDR_LONG; saddr 90 net/ieee802154/6lowpan/tx.c info->saddr.extended_addr = wpan_dev->extended_addr; saddr 93 net/ieee802154/6lowpan/tx.c info->saddr.mode = IEEE802154_ADDR_LONG; saddr 94 net/ieee802154/6lowpan/tx.c ieee802154_be64_to_le64(&info->saddr.extended_addr, saddr); saddr 234 net/ieee802154/6lowpan/tx.c lowpan_header_compress(skb, ldev, &info.daddr, &info.saddr); saddr 247 net/ieee802154/6lowpan/tx.c &info.daddr, &info.saddr, 0); saddr 709 net/ieee802154/socket.c DECLARE_SOCKADDR(struct sockaddr_ieee802154 *, saddr, msg->msg_name); saddr 728 net/ieee802154/socket.c if (saddr) { saddr 733 net/ieee802154/socket.c memset(saddr, 0, sizeof(*saddr)); saddr 735 net/ieee802154/socket.c saddr->family = AF_IEEE802154; saddr 736 net/ieee802154/socket.c ieee802154_addr_to_sa(&saddr->addr, &mac_cb(skb)->source); saddr 737 net/ieee802154/socket.c *addr_len = sizeof(*saddr); saddr 1213 net/ipv4/af_inet.c new_saddr = fl4->saddr; saddr 1462 net/ipv4/af_inet.c ((__force u32)iph->saddr ^ (__force u32)iph2->saddr) | saddr 332 net/ipv4/arp.c __be32 saddr = 0; saddr 350 net/ipv4/arp.c ip_hdr(skb)->saddr) == RTN_LOCAL) saddr 351 net/ipv4/arp.c saddr = ip_hdr(skb)->saddr; saddr 356 net/ipv4/arp.c saddr = ip_hdr(skb)->saddr; saddr 358 net/ipv4/arp.c saddr) == RTN_LOCAL) { saddr 360 net/ipv4/arp.c if (inet_addr_onlink(in_dev, target, saddr)) saddr 363 net/ipv4/arp.c saddr = 0; saddr 370 net/ipv4/arp.c if (!saddr) saddr 371 net/ipv4/arp.c saddr = inet_select_addr(dev, target, RT_SCOPE_LINK); saddr 389 net/ipv4/arp.c arp_send_dst(ARPOP_REQUEST, ETH_P_ARP, target, dev, saddr, saddr 26 net/ipv4/datagram.c __be32 saddr; saddr 40 net/ipv4/datagram.c saddr = inet->inet_saddr; saddr 44 net/ipv4/datagram.c if (!saddr) saddr 45 net/ipv4/datagram.c saddr = inet->mc_addr; saddr 48 net/ipv4/datagram.c rt = ip_route_connect(fl4, usin->sin_addr.s_addr, saddr, saddr 65 net/ipv4/datagram.c inet->inet_saddr = fl4->saddr; /* Update source address */ saddr 67 net/ipv4/datagram.c inet->inet_rcv_saddr = fl4->saddr; saddr 611 net/ipv4/esp4.c if (iph->saddr != x->props.saddr.a4 || saddr 615 net/ipv4/esp4.c ipaddr.a4 = iph->saddr; saddr 299 net/ipv4/fib_frontend.c if (!ipv4_is_zeronet(ip_hdr(skb)->saddr)) { saddr 304 net/ipv4/fib_frontend.c .daddr = ip_hdr(skb)->saddr, saddr 315 net/ipv4/fib_frontend.c return inet_select_addr(dev, ip_hdr(skb)->saddr, scope); saddr 369 net/ipv4/fib_frontend.c fl4.saddr = dst; saddr 176 net/ipv4/fib_rules.c __be32 saddr = fl4->saddr; saddr 178 net/ipv4/fib_rules.c if (((saddr ^ r->src) & r->srcmask) || saddr 2210 net/ipv4/fib_semantics.c if (!fl4->saddr) saddr 2211 net/ipv4/fib_semantics.c fl4->saddr = fib_result_prefsrc(net, res); saddr 1076 net/ipv4/fou.c fl4->saddr, fl4->daddr, skb->len); saddr 406 net/ipv4/icmp.c __be32 daddr, saddr; saddr 431 net/ipv4/icmp.c daddr = ipc.addr = ip_hdr(skb)->saddr; saddr 432 net/ipv4/icmp.c saddr = fib_compute_spec_dst(skb); saddr 441 net/ipv4/icmp.c fl4.saddr = saddr; saddr 464 net/ipv4/icmp.c __be32 saddr, u8 tos, u32 mark, saddr 474 net/ipv4/icmp.c param->replyopts.opt.opt.faddr : iph->saddr); saddr 475 net/ipv4/icmp.c fl4->saddr = saddr; saddr 507 net/ipv4/icmp.c fl4_dec.saddr) == RTN_LOCAL) { saddr 515 net/ipv4/icmp.c fl4_2.daddr = fl4_dec.saddr; saddr 524 net/ipv4/icmp.c err = ip_route_input(skb_in, fl4_dec.daddr, fl4_dec.saddr, saddr 578 net/ipv4/icmp.c __be32 saddr; saddr 676 net/ipv4/icmp.c saddr = iph->daddr; saddr 686 net/ipv4/icmp.c saddr = inet_select_addr(dev, 0, RT_SCOPE_LINK); saddr 688 net/ipv4/icmp.c saddr = 0; saddr 714 net/ipv4/icmp.c ipc.addr = iph->saddr; saddr 717 net/ipv4/icmp.c rt = icmp_route_lookup(net, &fl4, skb_in, iph, saddr, tos, mark, saddr 880 net/ipv4/icmp.c &ip_hdr(skb)->saddr, saddr 341 net/ipv4/igmp.c if (fl4->saddr == ifa->ifa_local) saddr 342 net/ipv4/igmp.c return fl4->saddr; saddr 397 net/ipv4/igmp.c pip->saddr = igmpv3_get_srcaddr(dev, &fl4); saddr 778 net/ipv4/igmp.c iph->saddr = fl4.saddr; saddr 37 net/ipv4/inet_diag.c const __be32 *saddr; saddr 601 net/ipv4/inet_diag.c addr = entry->saddr; saddr 664 net/ipv4/inet_diag.c entry->saddr = sk->sk_v6_rcv_saddr.s6_addr32; saddr 669 net/ipv4/inet_diag.c entry->saddr = &sk->sk_rcv_saddr; saddr 260 net/ipv4/inet_hashtables.c const __be32 saddr, __be16 sport, saddr 277 net/ipv4/inet_hashtables.c saddr, sport); saddr 294 net/ipv4/inet_hashtables.c const __be32 saddr, __be16 sport, saddr 306 net/ipv4/inet_hashtables.c saddr, sport, daddr, hnum, saddr 316 net/ipv4/inet_hashtables.c saddr, sport, htonl(INADDR_ANY), hnum, saddr 348 net/ipv4/inet_hashtables.c const __be32 saddr, const __be16 sport, saddr 352 net/ipv4/inet_hashtables.c INET_ADDR_COOKIE(acookie, saddr, daddr); saddr 359 net/ipv4/inet_hashtables.c unsigned int hash = inet_ehashfn(net, daddr, hnum, saddr, sport); saddr 368 net/ipv4/inet_hashtables.c saddr, daddr, ports, dif, sdif))) { saddr 372 net/ipv4/inet_hashtables.c saddr, daddr, ports, saddr 402 net/ipv4/inet_hashtables.c __be32 saddr = inet->inet_daddr; saddr 406 net/ipv4/inet_hashtables.c INET_ADDR_COOKIE(acookie, saddr, daddr); saddr 409 net/ipv4/inet_hashtables.c saddr, inet->inet_dport); saddr 423 net/ipv4/inet_hashtables.c saddr, daddr, ports, dif, sdif))) { saddr 92 net/ipv4/ip_fragment.c inet_getpeer_v4(net->ipv4.peers, key->saddr, key->vif, 1) : saddr 176 net/ipv4/ip_fragment.c err = ip_route_input_noref(head, iph->daddr, iph->saddr, saddr 207 net/ipv4/ip_fragment.c .saddr = iph->saddr, saddr 467 net/ipv4/ip_fragment.c net_info_ratelimited("Oversized IP packet from %pI4\n", &qp->q.key.v4.saddr); saddr 154 net/ipv4/ip_gre.c iph->daddr, iph->saddr, tpi->key); saddr 272 net/ipv4/ip_gre.c iph->saddr, iph->daddr, tpi->key); saddr 340 net/ipv4/ip_gre.c iph->saddr, iph->daddr, tpi->key); saddr 587 net/ipv4/ip_gre.c info->key.u.ipv4.src = fl4.saddr; saddr 817 net/ipv4/ip_gre.c const void *daddr, const void *saddr, unsigned int len) saddr 831 net/ipv4/ip_gre.c if (saddr) saddr 832 net/ipv4/ip_gre.c memcpy(&iph->saddr, saddr, 4); saddr 844 net/ipv4/ip_gre.c memcpy(haddr, &iph->saddr, 4); saddr 864 net/ipv4/ip_gre.c t->parms.iph.saddr, saddr 958 net/ipv4/ip_gre.c memcpy(dev->dev_addr, &iph->saddr, 4); saddr 968 net/ipv4/ip_gre.c if (!iph->saddr) saddr 1119 net/ipv4/ip_gre.c parms->iph.saddr = nla_get_in_addr(data[IFLA_GRE_LOCAL]); saddr 1480 net/ipv4/ip_gre.c nla_put_in_addr(skb, IFLA_GRE_LOCAL, p->iph.saddr) || saddr 1532 net/ipv4/ip_gre.c [IFLA_GRE_LOCAL] = { .len = FIELD_SIZEOF(struct iphdr, saddr) }, saddr 290 net/ipv4/ip_input.c &iph->saddr, saddr 338 net/ipv4/ip_input.c err = ip_route_input_noref(skb, iph->daddr, iph->saddr, saddr 173 net/ipv4/ip_options.c if (memcmp(&ip_hdr(skb)->saddr, saddr 651 net/ipv4/ip_options.c err = ip_route_input(skb, nexthop, iph->saddr, iph->tos, dev); saddr 145 net/ipv4/ip_output.c __be32 saddr, __be32 daddr, struct ip_options_rcu *opt) saddr 161 net/ipv4/ip_output.c iph->saddr = saddr; saddr 447 net/ipv4/ip_output.c offsetof(typeof(*fl4), saddr) + sizeof(fl4->saddr)); saddr 448 net/ipv4/ip_output.c memcpy(&iph->saddr, &fl4->saddr, saddr 449 net/ipv4/ip_output.c sizeof(fl4->saddr) + sizeof(fl4->daddr)); saddr 1658 net/ipv4/ip_output.c __be32 daddr, __be32 saddr, saddr 1694 net/ipv4/ip_output.c daddr, saddr, saddr 493 net/ipv4/ip_sockglue.c info->ipi_spec_dst.s_addr = ip_hdr(skb)->saddr; saddr 546 net/ipv4/ip_sockglue.c sin->sin_addr.s_addr = ip_hdr(skb)->saddr; saddr 96 net/ipv4/ip_tunnel.c if (local != t->parms.iph.saddr || saddr 112 net/ipv4/ip_tunnel.c t->parms.iph.saddr != 0 || saddr 129 net/ipv4/ip_tunnel.c if ((local != t->parms.iph.saddr || t->parms.iph.daddr != 0) && saddr 147 net/ipv4/ip_tunnel.c t->parms.iph.saddr != 0 || saddr 212 net/ipv4/ip_tunnel.c __be32 local = parms->iph.saddr; saddr 220 net/ipv4/ip_tunnel.c if (local == t->parms.iph.saddr && saddr 294 net/ipv4/ip_tunnel.c iph->saddr, tunnel->parms.o_key, saddr 395 net/ipv4/ip_tunnel.c &iph->saddr, iph->tos); saddr 579 net/ipv4/ip_tunnel.c rt = dst_cache_get_ip4(&tun_info->dst_cache, &fl4.saddr); saddr 588 net/ipv4/ip_tunnel.c fl4.saddr); saddr 626 net/ipv4/ip_tunnel.c iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, proto, tos, ttl, saddr 731 net/ipv4/ip_tunnel.c ip_tunnel_init_flow(&fl4, protocol, dst, tnl_params->saddr, saddr 742 net/ipv4/ip_tunnel.c &fl4.saddr); saddr 745 net/ipv4/ip_tunnel.c &fl4.saddr) : NULL; saddr 757 net/ipv4/ip_tunnel.c fl4.saddr); saddr 760 net/ipv4/ip_tunnel.c fl4.saddr); saddr 814 net/ipv4/ip_tunnel.c iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, protocol, tos, ttl, saddr 836 net/ipv4/ip_tunnel.c t->parms.iph.saddr = p->iph.saddr; saddr 841 net/ipv4/ip_tunnel.c memcpy(dev->dev_addr, &p->iph.saddr, 4); saddr 74 net/ipv4/ip_tunnel_core.c iph->saddr = src; saddr 56 net/ipv4/ip_vti.c iph->saddr, iph->daddr, 0); saddr 101 net/ipv4/ip_vti.c iph->saddr, iph->daddr, 0); saddr 181 net/ipv4/ip_vti.c xfrm_address_t *saddr = (xfrm_address_t *)&src; saddr 191 net/ipv4/ip_vti.c return xfrm_addr_equal(saddr, &x->props.saddr, AF_INET); saddr 193 net/ipv4/ip_vti.c if (!xfrm_state_addr_check(x, daddr, saddr, AF_INET)) saddr 253 net/ipv4/ip_vti.c if (!vti_state_check(dst->xfrm, parms->iph.daddr, parms->iph.saddr)) { saddr 354 net/ipv4/ip_vti.c iph->daddr, iph->saddr, 0); saddr 459 net/ipv4/ip_vti.c memcpy(dev->dev_addr, &iph->saddr, 4); saddr 565 net/ipv4/ip_vti.c parms->iph.saddr = nla_get_in_addr(data[IFLA_VTI_LOCAL]); saddr 623 net/ipv4/ip_vti.c nla_put_in_addr(skb, IFLA_VTI_LOCAL, p->iph.saddr) || saddr 635 net/ipv4/ip_vti.c [IFLA_VTI_LOCAL] = { .len = FIELD_SIZEOF(struct iphdr, saddr) }, saddr 66 net/ipv4/ipcomp.c t->id.spi = x->props.saddr.a4; saddr 71 net/ipv4/ipcomp.c t->props.saddr.a4 = x->props.saddr.a4; saddr 102 net/ipv4/ipcomp.c x->props.saddr.a4, IPPROTO_IPIP, AF_INET); saddr 1087 net/ipv4/ipconfig.c &ic_myaddr, &b->iph.saddr); saddr 1131 net/ipv4/ipconfig.c ic_addrservaddr = b->iph.saddr; saddr 139 net/ipv4/ipip.c iph->daddr, iph->saddr, 0); saddr 222 net/ipv4/ipip.c iph->saddr, iph->daddr, 0); saddr 392 net/ipv4/ipip.c memcpy(dev->dev_addr, &tunnel->parms.iph.saddr, 4); saddr 433 net/ipv4/ipip.c parms->iph.saddr = nla_get_in_addr(data[IFLA_IPTUN_LOCAL]); saddr 580 net/ipv4/ipip.c nla_put_in_addr(skb, IFLA_IPTUN_LOCAL, parm->iph.saddr) || saddr 434 net/ipv4/ipmr.c p.iph.saddr = v->vifc_lcl_addr.s_addr; saddr 482 net/ipv4/ipmr.c p.iph.saddr = v->vifc_lcl_addr.s_addr; saddr 1129 net/ipv4/ipmr.c c->mfc_origin == iph->saddr) { saddr 1147 net/ipv4/ipmr.c c->mfc_origin = iph->saddr; saddr 1774 net/ipv4/ipmr.c __be32 saddr, __be32 daddr) saddr 1789 net/ipv4/ipmr.c iph->saddr = saddr; saddr 2075 net/ipv4/ipmr.c .saddr = iph->saddr, saddr 2151 net/ipv4/ipmr.c cache = ipmr_cache_find(mrt, ip_hdr(skb)->saddr, ip_hdr(skb)->daddr); saddr 2258 net/ipv4/ipmr.c __be32 saddr, __be32 daddr, saddr 2270 net/ipv4/ipmr.c cache = ipmr_cache_find(mrt, saddr, daddr); saddr 2305 net/ipv4/ipmr.c iph->saddr = saddr; saddr 25 net/ipv4/netfilter.c __be32 saddr = iph->saddr; saddr 32 net/ipv4/netfilter.c addr_type = inet_addr_type_dev_table(net, dev, saddr); saddr 36 net/ipv4/netfilter.c saddr = 0; saddr 42 net/ipv4/netfilter.c fl4.saddr = saddr; saddr 54 net/ipv4/netfilter/ip_tables.c (ip->saddr & ipinfo->smsk.s_addr) != ipinfo->src.s_addr) || saddr 361 net/ipv4/netfilter/ipt_CLUSTERIP.c hashval = jhash_1word(ntohl(iph->saddr), saddr 365 net/ipv4/netfilter/ipt_CLUSTERIP.c hashval = jhash_2words(ntohl(iph->saddr), sport, saddr 369 net/ipv4/netfilter/ipt_CLUSTERIP.c hashval = jhash_3words(ntohl(iph->saddr), sport, dport, saddr 68 net/ipv4/netfilter/ipt_rpfilter.c if (ipv4_is_zeronet(iph->saddr)) { saddr 76 net/ipv4/netfilter/ipt_rpfilter.c flow.daddr = iph->saddr; saddr 77 net/ipv4/netfilter/ipt_rpfilter.c flow.saddr = rpfilter_get_saddr(iph->daddr); saddr 45 net/ipv4/netfilter/iptable_mangle.c __be32 saddr, daddr; saddr 52 net/ipv4/netfilter/iptable_mangle.c saddr = iph->saddr; saddr 61 net/ipv4/netfilter/iptable_mangle.c if (iph->saddr != saddr || saddr 57 net/ipv4/netfilter/nf_log_ipv4.c nf_log_buf_add(m, "SRC=%pI4 DST=%pI4 ", &ih->saddr, &ih->daddr); saddr 59 net/ipv4/netfilter/nf_reject_ipv4.c niph->saddr = oiph->daddr; saddr 60 net/ipv4/netfilter/nf_reject_ipv4.c niph->daddr = oiph->saddr; saddr 91 net/ipv4/netfilter/nf_reject_ipv4.c tcph->check = ~tcp_v4_check(sizeof(struct tcphdr), niph->saddr, saddr 65 net/ipv4/netfilter/nf_socket_ipv4.c *laddr = inside_iph->saddr; saddr 76 net/ipv4/netfilter/nf_socket_ipv4.c const __be32 saddr, const __be32 daddr, saddr 83 net/ipv4/netfilter/nf_socket_ipv4.c saddr, sport, daddr, dport, saddr 86 net/ipv4/netfilter/nf_socket_ipv4.c return udp4_lib_lookup(net, saddr, sport, daddr, dport, saddr 95 net/ipv4/netfilter/nf_socket_ipv4.c __be32 uninitialized_var(daddr), uninitialized_var(saddr); saddr 117 net/ipv4/netfilter/nf_socket_ipv4.c saddr = iph->saddr; saddr 127 net/ipv4/netfilter/nf_socket_ipv4.c if (extract_icmp4_fields(skb, &protocol, &saddr, &daddr, saddr 154 net/ipv4/netfilter/nf_socket_ipv4.c return nf_socket_get_sock_v4(net, data_skb, doff, protocol, saddr, saddr 37 net/ipv4/netfilter/nf_tproxy_ipv4.c iph->saddr, laddr ? laddr : iph->daddr, saddr 77 net/ipv4/netfilter/nf_tproxy_ipv4.c const __be32 saddr, const __be32 daddr, saddr 98 net/ipv4/netfilter/nf_tproxy_ipv4.c saddr, sport, saddr 112 net/ipv4/netfilter/nf_tproxy_ipv4.c saddr, sport, daddr, dport, saddr 121 net/ipv4/netfilter/nf_tproxy_ipv4.c sk = udp4_lib_lookup(net, saddr, sport, daddr, dport, saddr 146 net/ipv4/netfilter/nf_tproxy_ipv4.c protocol, ntohl(saddr), ntohs(sport), ntohl(daddr), ntohs(dport), lookup_type, sk); saddr 51 net/ipv4/netfilter/nft_fib_ipv4.c addr = iph->saddr; saddr 98 net/ipv4/netfilter/nft_fib_ipv4.c if (ipv4_is_zeronet(iph->saddr)) { saddr 113 net/ipv4/netfilter/nft_fib_ipv4.c fl4.saddr = get_saddr(iph->saddr); saddr 115 net/ipv4/netfilter/nft_fib_ipv4.c fl4.daddr = iph->saddr; saddr 116 net/ipv4/netfilter/nft_fib_ipv4.c fl4.saddr = get_saddr(iph->daddr); saddr 561 net/ipv4/nexthop.c static int check_src_addr(const struct in6_addr *saddr, saddr 564 net/ipv4/nexthop.c if (!ipv6_addr_any(saddr)) { saddr 371 net/ipv4/ping.c static void ping_set_saddr(struct sock *sk, struct sockaddr *saddr) saddr 373 net/ipv4/ping.c if (saddr->sa_family == AF_INET) { saddr 375 net/ipv4/ping.c struct sockaddr_in *addr = (struct sockaddr_in *) saddr; saddr 378 net/ipv4/ping.c } else if (saddr->sa_family == AF_INET6) { saddr 379 net/ipv4/ping.c struct sockaddr_in6 *addr = (struct sockaddr_in6 *) saddr; saddr 381 net/ipv4/ping.c sk->sk_v6_rcv_saddr = np->saddr = addr->sin6_addr; saddr 396 net/ipv4/ping.c memset(&np->saddr, 0, sizeof(np->saddr)); saddr 705 net/ipv4/ping.c __be32 saddr, daddr, faddr; saddr 759 net/ipv4/ping.c saddr = ipc.addr; saddr 779 net/ipv4/ping.c if (!saddr) saddr 780 net/ipv4/ping.c saddr = inet->mc_addr; saddr 786 net/ipv4/ping.c inet_sk_flowi_flags(sk), faddr, saddr, 0, 0, saddr 891 net/ipv4/ping.c sin->sin_addr.s_addr = ip_hdr(skb)->saddr; saddr 908 net/ipv4/ping.c sin6->sin6_addr = ip6->saddr; saddr 185 net/ipv4/raw.c iph->saddr, iph->daddr, dif, sdif); saddr 190 net/ipv4/raw.c ip_mc_sf_allow(sk, iph->daddr, iph->saddr, saddr 199 net/ipv4/raw.c iph->saddr, iph->daddr, saddr 305 net/ipv4/raw.c iph->daddr, iph->saddr, saddr 413 net/ipv4/raw.c if (!iph->saddr) saddr 414 net/ipv4/raw.c iph->saddr = fl4->saddr; saddr 507 net/ipv4/raw.c __be32 saddr; saddr 572 net/ipv4/raw.c saddr = ipc.addr; saddr 608 net/ipv4/raw.c if (!saddr) saddr 609 net/ipv4/raw.c saddr = inet->mc_addr; saddr 631 net/ipv4/raw.c daddr, saddr, 0, 0, sk->sk_uid); saddr 786 net/ipv4/raw.c sin->sin_addr.s_addr = ip_hdr(skb)->saddr; saddr 516 net/ipv4/route.c (__force u32)iph->saddr, saddr 541 net/ipv4/route.c iph->daddr, iph->saddr, 0, 0, saddr 739 net/ipv4/route.c __be32 old_gw = ip_hdr(skb)->saddr; saddr 807 net/ipv4/route.c __be32 saddr = iph->saddr; saddr 812 net/ipv4/route.c &saddr, &daddr); saddr 889 net/ipv4/route.c peer = inet_getpeer_v4(net->ipv4.peers, ip_hdr(skb)->saddr, vif, 1); saddr 928 net/ipv4/route.c &ip_hdr(skb)->saddr, inet_iif(skb), saddr 989 net/ipv4/route.c peer = inet_getpeer_v4(net->ipv4.peers, ip_hdr(skb)->saddr, saddr 1237 net/ipv4/route.c __func__, &ip_hdr(skb)->saddr, &ip_hdr(skb)->daddr, saddr 1258 net/ipv4/route.c src = ip_hdr(skb)->saddr; saddr 1264 net/ipv4/route.c .saddr = iph->saddr, saddr 1686 net/ipv4/route.c int ip_mc_validate_source(struct sk_buff *skb, __be32 daddr, __be32 saddr, saddr 1696 net/ipv4/route.c if (ipv4_is_multicast(saddr) || ipv4_is_lbcast(saddr) || saddr 1700 net/ipv4/route.c if (ipv4_is_loopback(saddr) && !IN_DEV_ROUTE_LOCALNET(in_dev)) saddr 1703 net/ipv4/route.c if (ipv4_is_zeronet(saddr)) { saddr 1708 net/ipv4/route.c err = fib_validate_source(skb, saddr, 0, tos, 0, dev, saddr 1717 net/ipv4/route.c static int ip_route_input_mc(struct sk_buff *skb, __be32 daddr, __be32 saddr, saddr 1726 net/ipv4/route.c err = ip_mc_validate_source(skb, daddr, saddr, tos, dev, in_dev, &itag); saddr 1759 net/ipv4/route.c __be32 saddr) saddr 1769 net/ipv4/route.c &daddr, &saddr, dev->name); saddr 1784 net/ipv4/route.c __be32 daddr, __be32 saddr, u32 tos) saddr 1802 net/ipv4/route.c err = fib_validate_source(skb, saddr, daddr, tos, FIB_RES_OIF(*res), saddr 1806 net/ipv4/route.c saddr); saddr 1818 net/ipv4/route.c inet_addr_onlink(out_dev, saddr, gw)) saddr 1911 net/ipv4/route.c hash_keys->addrs.v4addrs.src = key_iph->saddr; saddr 1930 net/ipv4/route.c hash_keys.addrs.v4addrs.src = fl4->saddr; saddr 1960 net/ipv4/route.c hash_keys.addrs.v4addrs.src = fl4->saddr; saddr 1993 net/ipv4/route.c hash_keys.addrs.v4addrs.src = fl4->saddr; saddr 2010 net/ipv4/route.c __be32 daddr, __be32 saddr, u32 tos, saddr 2022 net/ipv4/route.c return __mkroute_input(skb, res, in_dev, daddr, saddr, tos); saddr 2036 net/ipv4/route.c static int ip_route_input_slow(struct sk_buff *skb, __be32 daddr, __be32 saddr, saddr 2067 net/ipv4/route.c if (ipv4_is_multicast(saddr) || ipv4_is_lbcast(saddr)) saddr 2072 net/ipv4/route.c if (ipv4_is_lbcast(daddr) || (saddr == 0 && daddr == 0)) saddr 2078 net/ipv4/route.c if (ipv4_is_zeronet(saddr)) saddr 2090 net/ipv4/route.c } else if (ipv4_is_loopback(saddr)) { saddr 2105 net/ipv4/route.c fl4.saddr = saddr; saddr 2133 net/ipv4/route.c err = fib_validate_source(skb, saddr, daddr, tos, saddr 2148 net/ipv4/route.c err = ip_mkroute_input(skb, res, in_dev, daddr, saddr, tos, flkeys); saddr 2155 net/ipv4/route.c if (!ipv4_is_zeronet(saddr)) { saddr 2156 net/ipv4/route.c err = fib_validate_source(skb, saddr, 0, tos, 0, dev, saddr 2229 net/ipv4/route.c &daddr, &saddr, dev->name); saddr 2241 net/ipv4/route.c ip_handle_martian_source(dev, in_dev, skb, daddr, saddr); saddr 2245 net/ipv4/route.c int ip_route_input_noref(struct sk_buff *skb, __be32 daddr, __be32 saddr, saddr 2253 net/ipv4/route.c err = ip_route_input_rcu(skb, daddr, saddr, tos, dev, &res); saddr 2261 net/ipv4/route.c int ip_route_input_rcu(struct sk_buff *skb, __be32 daddr, __be32 saddr, saddr 2282 net/ipv4/route.c our = ip_check_mc_rcu(in_dev, daddr, saddr, saddr 2291 net/ipv4/route.c our = ip_check_mc_rcu(l3_in_dev, daddr, saddr, saddr 2302 net/ipv4/route.c err = ip_route_input_mc(skb, daddr, saddr, saddr 2308 net/ipv4/route.c return ip_route_input_slow(skb, daddr, saddr, tos, dev, res); saddr 2329 net/ipv4/route.c if (ipv4_is_loopback(fl4->saddr) && saddr 2350 net/ipv4/route.c if (!ip_check_mc_rcu(in_dev, fl4->daddr, fl4->saddr, saddr 2475 net/ipv4/route.c if (fl4->saddr) { saddr 2476 net/ipv4/route.c if (ipv4_is_multicast(fl4->saddr) || saddr 2477 net/ipv4/route.c ipv4_is_lbcast(fl4->saddr) || saddr 2478 net/ipv4/route.c ipv4_is_zeronet(fl4->saddr)) { saddr 2497 net/ipv4/route.c dev_out = __ip_dev_find(net, fl4->saddr, false); saddr 2522 net/ipv4/route.c if (!__ip_dev_find(net, fl4->saddr, false)) saddr 2542 net/ipv4/route.c if (!fl4->saddr) saddr 2543 net/ipv4/route.c fl4->saddr = inet_select_addr(dev_out, 0, saddr 2547 net/ipv4/route.c if (!fl4->saddr) { saddr 2549 net/ipv4/route.c fl4->saddr = inet_select_addr(dev_out, 0, saddr 2552 net/ipv4/route.c fl4->saddr = inet_select_addr(dev_out, 0, saddr 2558 net/ipv4/route.c fl4->daddr = fl4->saddr; saddr 2560 net/ipv4/route.c fl4->daddr = fl4->saddr = htonl(INADDR_LOOPBACK); saddr 2593 net/ipv4/route.c if (fl4->saddr == 0) saddr 2594 net/ipv4/route.c fl4->saddr = inet_select_addr(dev_out, 0, saddr 2604 net/ipv4/route.c if (!fl4->saddr) { saddr 2606 net/ipv4/route.c fl4->saddr = res->fi->fib_prefsrc; saddr 2608 net/ipv4/route.c fl4->saddr = fl4->daddr; saddr 2784 net/ipv4/route.c fl4->saddr != src) { saddr 2785 net/ipv4/route.c if (nla_put_in_addr(skb, RTA_PREFSRC, fl4->saddr)) saddr 2842 net/ipv4/route.c fl4->saddr, fl4->daddr, saddr 2964 net/ipv4/route.c iph->saddr = src; saddr 3127 net/ipv4/route.c fl4.saddr = src; saddr 48 net/ipv4/syncookies.c static u32 cookie_hash(__be32 saddr, __be32 daddr, __be16 sport, __be16 dport, saddr 52 net/ipv4/syncookies.c return siphash_4u32((__force u32)saddr, (__force u32)daddr, saddr 91 net/ipv4/syncookies.c static __u32 secure_tcp_syn_cookie(__be32 saddr, __be32 daddr, __be16 sport, saddr 105 net/ipv4/syncookies.c return (cookie_hash(saddr, daddr, sport, dport, 0, 0) + saddr 107 net/ipv4/syncookies.c ((cookie_hash(saddr, daddr, sport, dport, count, 1) + data) saddr 120 net/ipv4/syncookies.c static __u32 check_tcp_syn_cookie(__u32 cookie, __be32 saddr, __be32 daddr, saddr 126 net/ipv4/syncookies.c cookie -= cookie_hash(saddr, daddr, sport, dport, 0, 0) + sseq; saddr 134 net/ipv4/syncookies.c cookie_hash(saddr, daddr, sport, dport, count - diff, 1)) saddr 172 net/ipv4/syncookies.c return secure_tcp_syn_cookie(iph->saddr, iph->daddr, saddr 194 net/ipv4/syncookies.c __u32 mssind = check_tcp_syn_cookie(cookie, iph->saddr, iph->daddr, saddr 321 net/ipv4/syncookies.c ip_hdr(skb)->saddr); saddr 343 net/ipv4/syncookies.c sk_daddr_set(req_to_sk(req), ip_hdr(skb)->saddr); saddr 121 net/ipv4/tcp_fastopen.c foc->val[0] = cpu_to_le64(siphash(&iph->saddr, saddr 122 net/ipv4/tcp_fastopen.c sizeof(iph->saddr) + saddr 132 net/ipv4/tcp_fastopen.c foc->val[0] = cpu_to_le64(siphash(&ip6h->saddr, saddr 133 net/ipv4/tcp_fastopen.c sizeof(ip6h->saddr) + saddr 87 net/ipv4/tcp_ipv4.c __be32 daddr, __be32 saddr, const struct tcphdr *th); saddr 96 net/ipv4/tcp_ipv4.c ip_hdr(skb)->saddr, saddr 103 net/ipv4/tcp_ipv4.c return secure_tcp_ts_off(net, ip_hdr(skb)->daddr, ip_hdr(skb)->saddr); saddr 250 net/ipv4/tcp_ipv4.c inet->inet_saddr = fl4->saddr; saddr 443 net/ipv4/tcp_ipv4.c th->dest, iph->saddr, ntohs(th->source), saddr 620 net/ipv4/tcp_ipv4.c void __tcp_v4_send_check(struct sk_buff *skb, __be32 saddr, __be32 daddr) saddr 624 net/ipv4/tcp_ipv4.c th->check = ~tcp_v4_check(skb->len, saddr, daddr, 0); saddr 707 net/ipv4/tcp_ipv4.c &ip_hdr(skb)->saddr, AF_INET); saddr 717 net/ipv4/tcp_ipv4.c ip_hdr(skb)->saddr, saddr 726 net/ipv4/tcp_ipv4.c &ip_hdr(skb)->saddr, AF_INET); saddr 747 net/ipv4/tcp_ipv4.c key, ip_hdr(skb)->saddr, saddr 752 net/ipv4/tcp_ipv4.c ip_hdr(skb)->saddr, /* XXX */ saddr 783 net/ipv4/tcp_ipv4.c ip_hdr(skb)->saddr, ip_hdr(skb)->daddr, saddr 857 net/ipv4/tcp_ipv4.c key, ip_hdr(skb)->saddr, saddr 863 net/ipv4/tcp_ipv4.c ip_hdr(skb)->saddr, /* XXX */ saddr 879 net/ipv4/tcp_ipv4.c ip_hdr(skb)->saddr, ip_hdr(skb)->daddr, saddr 927 net/ipv4/tcp_ipv4.c tcp_md5_do_lookup(sk, (union tcp_md5_addr *)&ip_hdr(skb)->saddr, saddr 1185 net/ipv4/tcp_ipv4.c __be32 daddr, __be32 saddr, saddr 1193 net/ipv4/tcp_ipv4.c bp->saddr = saddr; saddr 1210 net/ipv4/tcp_ipv4.c __be32 daddr, __be32 saddr, const struct tcphdr *th) saddr 1222 net/ipv4/tcp_ipv4.c if (tcp_v4_md5_hash_headers(hp, daddr, saddr, th, th->doff << 2)) saddr 1247 net/ipv4/tcp_ipv4.c __be32 saddr, daddr; saddr 1250 net/ipv4/tcp_ipv4.c saddr = sk->sk_rcv_saddr; saddr 1254 net/ipv4/tcp_ipv4.c saddr = iph->saddr; saddr 1266 net/ipv4/tcp_ipv4.c if (tcp_v4_md5_hash_headers(hp, daddr, saddr, th, skb->len)) saddr 1309 net/ipv4/tcp_ipv4.c hash_expected = tcp_md5_do_lookup(sk, (union tcp_md5_addr *)&iph->saddr, saddr 1337 net/ipv4/tcp_ipv4.c &iph->saddr, ntohs(th->source), saddr 1356 net/ipv4/tcp_ipv4.c sk_daddr_set(req_to_sk(req), ip_hdr(skb)->saddr); saddr 1629 net/ipv4/tcp_ipv4.c iph->saddr, th->source, saddr 2004 net/ipv4/tcp_ipv4.c iph->saddr, th->source, saddr 24 net/ipv4/tcp_metrics.c static struct tcp_metrics_block *__tcp_get_metrics(const struct inetpeer_addr *saddr, saddr 147 net/ipv4/tcp_metrics.c struct inetpeer_addr *saddr, saddr 161 net/ipv4/tcp_metrics.c tm = __tcp_get_metrics(saddr, daddr, net, hash); saddr 187 net/ipv4/tcp_metrics.c tm->tcpm_saddr = *saddr; saddr 211 net/ipv4/tcp_metrics.c static struct tcp_metrics_block *__tcp_get_metrics(const struct inetpeer_addr *saddr, saddr 220 net/ipv4/tcp_metrics.c if (addr_same(&tm->tcpm_saddr, saddr) && saddr 233 net/ipv4/tcp_metrics.c struct inetpeer_addr saddr, daddr; saddr 237 net/ipv4/tcp_metrics.c saddr.family = req->rsk_ops->family; saddr 241 net/ipv4/tcp_metrics.c inetpeer_set_addr_v4(&saddr, inet_rsk(req)->ir_loc_addr); saddr 247 net/ipv4/tcp_metrics.c inetpeer_set_addr_v6(&saddr, &inet_rsk(req)->ir_v6_loc_addr); saddr 262 net/ipv4/tcp_metrics.c if (addr_same(&tm->tcpm_saddr, &saddr) && saddr 276 net/ipv4/tcp_metrics.c struct inetpeer_addr saddr, daddr; saddr 281 net/ipv4/tcp_metrics.c inetpeer_set_addr_v4(&saddr, inet_sk(sk)->inet_saddr); saddr 288 net/ipv4/tcp_metrics.c inetpeer_set_addr_v4(&saddr, inet_sk(sk)->inet_saddr); saddr 292 net/ipv4/tcp_metrics.c inetpeer_set_addr_v6(&saddr, &sk->sk_v6_rcv_saddr); saddr 305 net/ipv4/tcp_metrics.c tm = __tcp_get_metrics(&saddr, &daddr, net, hash); saddr 309 net/ipv4/tcp_metrics.c tm = tcpm_new(dst, &saddr, &daddr, hash); saddr 817 net/ipv4/tcp_metrics.c struct inetpeer_addr saddr, daddr; saddr 829 net/ipv4/tcp_metrics.c ret = parse_nl_saddr(info, &saddr); saddr 849 net/ipv4/tcp_metrics.c (!src || addr_same(&tm->tcpm_saddr, &saddr)) && saddr 902 net/ipv4/tcp_metrics.c struct inetpeer_addr saddr, daddr; saddr 915 net/ipv4/tcp_metrics.c ret = parse_nl_saddr(info, &saddr); saddr 926 net/ipv4/tcp_metrics.c (!src || addr_same(&tm->tcpm_saddr, &saddr)) && saddr 48 net/ipv4/tcp_offload.c __tcp_v4_send_check(skb, iph->saddr, iph->daddr); saddr 324 net/ipv4/tcp_offload.c th->check = ~tcp_v4_check(skb->len - thoff, iph->saddr, saddr 354 net/ipv4/udp.c __be32 saddr, __be16 sport, saddr 374 net/ipv4/udp.c if (inet->inet_daddr != saddr) saddr 410 net/ipv4/udp.c __be32 saddr, __be16 sport, saddr 423 net/ipv4/udp.c score = compute_score(sk, net, saddr, sport, saddr 429 net/ipv4/udp.c saddr, sport); saddr 445 net/ipv4/udp.c struct sock *__udp4_lib_lookup(struct net *net, __be32 saddr, saddr 458 net/ipv4/udp.c result = udp4_lib_lookup2(net, saddr, sport, saddr 466 net/ipv4/udp.c result = udp4_lib_lookup2(net, saddr, sport, saddr 482 net/ipv4/udp.c return __udp4_lib_lookup(dev_net(skb->dev), iph->saddr, sport, saddr 492 net/ipv4/udp.c return __udp4_lib_lookup(dev_net(skb->dev), iph->saddr, sport, saddr 502 net/ipv4/udp.c struct sock *udp4_lib_lookup(struct net *net, __be32 saddr, __be16 sport, saddr 507 net/ipv4/udp.c sk = __udp4_lib_lookup(net, saddr, sport, daddr, dport, saddr 601 net/ipv4/udp.c iph->saddr, uh->dest, skb->dev->ifindex, 0, saddr 646 net/ipv4/udp.c iph->saddr, uh->source, skb->dev->ifindex, saddr 792 net/ipv4/udp.c __be32 saddr, __be32 daddr, int len) saddr 799 net/ipv4/udp.c uh->check = ~udp_v4_check(len, saddr, daddr, 0); saddr 802 net/ipv4/udp.c uh->check = udp_v4_check(len, saddr, daddr, lco_csum(skb)); saddr 809 net/ipv4/udp.c uh->check = ~udp_v4_check(len, saddr, daddr, 0); saddr 878 net/ipv4/udp.c udp4_hwcsum(skb, fl4->saddr, fl4->daddr); saddr 885 net/ipv4/udp.c uh->check = csum_tcpudp_magic(fl4->saddr, fl4->daddr, len, saddr 977 net/ipv4/udp.c __be32 daddr, faddr, saddr; saddr 1087 net/ipv4/udp.c saddr = ipc.addr; saddr 1109 net/ipv4/udp.c if (!saddr) saddr 1110 net/ipv4/udp.c saddr = inet->mc_addr; saddr 1140 net/ipv4/udp.c faddr, saddr, dport, inet->inet_sport, saddr 1165 net/ipv4/udp.c saddr = fl4->saddr; saddr 1197 net/ipv4/udp.c fl4->saddr = saddr; saddr 1798 net/ipv4/udp.c sin->sin_addr.s_addr = ip_hdr(skb)->saddr; saddr 2145 net/ipv4/udp.c __be32 saddr, __be32 daddr, saddr 2170 net/ipv4/udp.c uh->source, saddr, dif, sdif, hnum)) saddr 2287 net/ipv4/udp.c __be32 saddr, daddr; saddr 2298 net/ipv4/udp.c saddr = ip_hdr(skb)->saddr; saddr 2329 net/ipv4/udp.c saddr, daddr, udptable, proto); saddr 2356 net/ipv4/udp.c &saddr, ntohs(uh->source), saddr 2368 net/ipv4/udp.c &saddr, ntohs(uh->source), &daddr, ntohs(uh->dest), saddr 2459 net/ipv4/udp.c ours = ip_check_mc_rcu(in_dev, iph->daddr, iph->saddr, saddr 2465 net/ipv4/udp.c uh->source, iph->saddr, saddr 2469 net/ipv4/udp.c uh->source, iph->saddr, dif, sdif); saddr 2495 net/ipv4/udp.c iph->saddr, iph->tos, saddr 327 net/ipv4/udp_offload.c uh->check = udp_v4_check(skb->len, iph->saddr, iph->daddr, csum); saddr 548 net/ipv4/udp_offload.c uh->check = ~udp_v4_check(skb->len - nhoff, iph->saddr, saddr 38 net/ipv4/xfrm4_input.c if (ip_route_input_noref(skb, iph->daddr, iph->saddr, saddr 22 net/ipv4/xfrm4_policy.c const xfrm_address_t *saddr, saddr 33 net/ipv4/xfrm4_policy.c if (saddr) saddr 34 net/ipv4/xfrm4_policy.c fl4->saddr = saddr->a4; saddr 46 net/ipv4/xfrm4_policy.c const xfrm_address_t *saddr, saddr 52 net/ipv4/xfrm4_policy.c return __xfrm4_dst_lookup(net, &fl4, tos, oif, saddr, daddr, mark); saddr 56 net/ipv4/xfrm4_policy.c xfrm_address_t *saddr, xfrm_address_t *daddr, saddr 66 net/ipv4/xfrm4_policy.c saddr->a4 = fl4.saddr; saddr 56 net/ipv4/xfrm4_tunnel.c return xfrm4_rcv_spi(skb, IPPROTO_IPIP, ip_hdr(skb)->saddr); saddr 1744 net/ipv6/addrconf.c struct in6_addr *saddr) saddr 1833 net/ipv6/addrconf.c *saddr = hiscore->ifa->addr; saddr 2845 net/ipv6/addrconf.c p.iph.saddr = 0; saddr 175 net/ipv6/addrconf_core.c const struct in6_addr *saddr) saddr 394 net/ipv6/af_inet6.c np->saddr = addr->sin6_addr; saddr 528 net/ipv6/af_inet6.c sin->sin6_addr = np->saddr; saddr 754 net/ipv6/af_inet6.c fl6.saddr = np->saddr; saddr 36 net/ipv6/ah6.c struct in6_addr saddr; saddr 188 net/ipv6/ah6.c hao->addr = iph->saddr; saddr 189 net/ipv6/ah6.c iph->saddr = final_addr; saddr 312 net/ipv6/ah6.c memcpy(&top_iph->saddr, iph_ext, extlen); saddr 389 net/ipv6/ah6.c memcpy(iph_ext, &top_iph->saddr, extlen); saddr 445 net/ipv6/ah6.c memcpy(&top_iph->saddr, iph_ext, extlen); saddr 48 net/ipv6/datagram.c fl6->saddr = np->saddr; saddr 95 net/ipv6/datagram.c if (ipv6_addr_any(&np->saddr)) saddr 96 net/ipv6/datagram.c np->saddr = fl6.saddr; saddr 99 net/ipv6/datagram.c sk->sk_v6_rcv_saddr = fl6.saddr; saddr 198 net/ipv6/datagram.c if (ipv6_addr_any(&np->saddr) || saddr 199 net/ipv6/datagram.c ipv6_mapped_addr_any(&np->saddr)) saddr 200 net/ipv6/datagram.c ipv6_addr_set_v4mapped(inet->inet_saddr, &np->saddr); saddr 495 net/ipv6/datagram.c sin->sin6_addr = ipv6_hdr(skb)->saddr; saddr 502 net/ipv6/datagram.c ipv6_addr_set_v4mapped(ip_hdr(skb)->saddr, saddr 815 net/ipv6/datagram.c fl6->saddr = src_info->ipi6_addr; saddr 254 net/ipv6/exthdrs.c swap(ipv6h->saddr, hao->addr); saddr 600 net/ipv6/exthdrs.c (xfrm_address_t *)&ipv6_hdr(skb)->saddr, saddr 868 net/ipv6/exthdrs.c struct in6_addr **addr_p, struct in6_addr *saddr) saddr 893 net/ipv6/exthdrs.c struct in6_addr **addr_p, struct in6_addr *saddr) saddr 932 net/ipv6/exthdrs.c seg6_push_hmac(net, saddr, sr_phdr); saddr 942 net/ipv6/exthdrs.c struct in6_addr **addr_p, struct in6_addr *saddr) saddr 948 net/ipv6/exthdrs.c ipv6_push_rthdr0(skb, proto, opt, addr_p, saddr); saddr 951 net/ipv6/exthdrs.c ipv6_push_rthdr4(skb, proto, opt, addr_p, saddr); saddr 969 net/ipv6/exthdrs.c struct in6_addr **daddr, struct in6_addr *saddr) saddr 972 net/ipv6/exthdrs.c ipv6_push_rthdr(skb, proto, opt->srcrt, daddr, saddr); saddr 138 net/ipv6/fib6_rules.c struct in6_addr saddr; saddr 141 net/ipv6/fib6_rules.c rt6_flags2srcprefs(flags), &saddr)) saddr 144 net/ipv6/fib6_rules.c if (!ipv6_prefix_equal(&saddr, &r->src.addr, r->src.plen)) saddr 147 net/ipv6/fib6_rules.c flp6->saddr = saddr; saddr 311 net/ipv6/fib6_rules.c if (!ipv6_prefix_equal(&fl6->saddr, &r->src.addr, saddr 35 net/ipv6/fou6.c &fl6->saddr, &fl6->daddr, skb->len); saddr 267 net/ipv6/icmp.c icmp6h->icmp6_cksum = csum_ipv6_magic(&fl6->saddr, saddr 280 net/ipv6/icmp.c icmp6h->icmp6_cksum = csum_ipv6_magic(&fl6->saddr, saddr 322 net/ipv6/icmp.c tmp = iph->saddr; saddr 323 net/ipv6/icmp.c iph->saddr = hao->addr; saddr 431 net/ipv6/icmp.c const struct in6_addr *saddr = NULL; saddr 460 net/ipv6/icmp.c saddr = &hdr->daddr; saddr 473 net/ipv6/icmp.c saddr = NULL; saddr 476 net/ipv6/icmp.c addr_type = ipv6_addr_type(&hdr->saddr); saddr 497 net/ipv6/icmp.c &hdr->saddr, &hdr->daddr); saddr 506 net/ipv6/icmp.c &hdr->saddr, &hdr->daddr); saddr 521 net/ipv6/icmp.c fl6.daddr = hdr->saddr; saddr 523 net/ipv6/icmp.c saddr = force_saddr; saddr 524 net/ipv6/icmp.c if (saddr) saddr 525 net/ipv6/icmp.c fl6.saddr = *saddr; saddr 571 net/ipv6/icmp.c &hdr->saddr, &hdr->daddr); saddr 636 net/ipv6/icmp.c rt = rt6_lookup(dev_net(skb->dev), &ipv6_hdr(skb2)->saddr, NULL, 0, saddr 642 net/ipv6/icmp.c ipv6_addr_set_v4mapped(ip_hdr(skb)->saddr, &temp_saddr); saddr 678 net/ipv6/icmp.c const struct in6_addr *saddr = NULL; saddr 692 net/ipv6/icmp.c saddr = &ipv6_hdr(skb)->daddr; saddr 694 net/ipv6/icmp.c acast = ipv6_anycast_destination(skb_dst(skb), saddr); saddr 700 net/ipv6/icmp.c saddr = NULL; saddr 710 net/ipv6/icmp.c fl6.daddr = ipv6_hdr(skb)->saddr; saddr 711 net/ipv6/icmp.c if (saddr) saddr 712 net/ipv6/icmp.c fl6.saddr = *saddr; saddr 823 net/ipv6/icmp.c const struct in6_addr *saddr, *daddr; saddr 850 net/ipv6/icmp.c saddr = &ipv6_hdr(skb)->saddr; saddr 855 net/ipv6/icmp.c saddr, daddr); saddr 928 net/ipv6/icmp.c saddr, daddr); saddr 959 net/ipv6/icmp.c const struct in6_addr *saddr, saddr 964 net/ipv6/icmp.c fl6->saddr = *saddr; saddr 90 net/ipv6/ila/ila_lwt.c dst_cache_set_ip6(&ilwt->dst_cache, dst, &fl6.saddr); saddr 43 net/ipv6/inet6_connection_sock.c fl6->saddr = ireq->ir_v6_loc_addr; saddr 90 net/ipv6/inet6_connection_sock.c fl6->saddr = np->saddr; saddr 51 net/ipv6/inet6_hashtables.c const struct in6_addr *saddr, saddr 63 net/ipv6/inet6_hashtables.c unsigned int hash = inet6_ehashfn(net, daddr, hnum, saddr, sport); saddr 72 net/ipv6/inet6_hashtables.c if (!INET6_MATCH(sk, net, saddr, daddr, ports, dif, sdif)) saddr 77 net/ipv6/inet6_hashtables.c if (unlikely(!INET6_MATCH(sk, net, saddr, daddr, ports, dif, sdif))) { saddr 118 net/ipv6/inet6_hashtables.c const struct in6_addr *saddr, saddr 135 net/ipv6/inet6_hashtables.c saddr, sport); saddr 152 net/ipv6/inet6_hashtables.c const struct in6_addr *saddr, saddr 164 net/ipv6/inet6_hashtables.c saddr, sport, daddr, hnum, saddr 174 net/ipv6/inet6_hashtables.c saddr, sport, &in6addr_any, hnum, saddr 185 net/ipv6/inet6_hashtables.c const struct in6_addr *saddr, const __be16 sport, saddr 192 net/ipv6/inet6_hashtables.c sk = __inet6_lookup(net, hashinfo, skb, doff, saddr, sport, daddr, saddr 207 net/ipv6/inet6_hashtables.c const struct in6_addr *saddr = &sk->sk_v6_daddr; saddr 212 net/ipv6/inet6_hashtables.c const unsigned int hash = inet6_ehashfn(net, daddr, lport, saddr, saddr 226 net/ipv6/inet6_hashtables.c if (likely(INET6_MATCH(sk2, net, saddr, daddr, ports, saddr 8 net/ipv6/ip6_checksum.c __sum16 csum_ipv6_magic(const struct in6_addr *saddr, saddr 18 net/ipv6/ip6_checksum.c sum += (__force u32)saddr->s6_addr32[0]; saddr 19 net/ipv6/ip6_checksum.c carry = (sum < (__force u32)saddr->s6_addr32[0]); saddr 22 net/ipv6/ip6_checksum.c sum += (__force u32)saddr->s6_addr32[1]; saddr 23 net/ipv6/ip6_checksum.c carry = (sum < (__force u32)saddr->s6_addr32[1]); saddr 26 net/ipv6/ip6_checksum.c sum += (__force u32)saddr->s6_addr32[2]; saddr 27 net/ipv6/ip6_checksum.c carry = (sum < (__force u32)saddr->s6_addr32[2]); saddr 30 net/ipv6/ip6_checksum.c sum += (__force u32)saddr->s6_addr32[3]; saddr 31 net/ipv6/ip6_checksum.c carry = (sum < (__force u32)saddr->s6_addr32[3]); saddr 116 net/ipv6/ip6_checksum.c const struct in6_addr *saddr, saddr 124 net/ipv6/ip6_checksum.c uh->check = ~udp_v6_check(len, saddr, daddr, 0); saddr 127 net/ipv6/ip6_checksum.c uh->check = udp_v6_check(len, saddr, daddr, lco_csum(skb)); saddr 134 net/ipv6/ip6_checksum.c uh->check = ~udp_v6_check(len, saddr, daddr, 0); saddr 1547 net/ipv6/ip6_fib.c const struct in6_addr *saddr) saddr 1558 net/ipv6/ip6_fib.c .addr = saddr, saddr 1637 net/ipv6/ip6_fib.c const struct in6_addr *saddr, int src_len, saddr 1648 net/ipv6/ip6_fib.c WARN_ON(saddr == NULL); saddr 1653 net/ipv6/ip6_fib.c fn = fib6_locate_1(subtree, saddr, src_len, saddr 434 net/ipv6/ip6_gre.c t = ip6gre_tunnel_lookup(skb->dev, &ipv6h->daddr, &ipv6h->saddr, saddr 496 net/ipv6/ip6_gre.c &ipv6h->saddr, &ipv6h->daddr, tpi->key, saddr 537 net/ipv6/ip6_gre.c &ipv6h->saddr, &ipv6h->daddr, tpi->key, saddr 811 net/ipv6/ip6_gre.c if (ipv6_addr_equal(&t->parms.raddr, &ipv6h->saddr)) saddr 849 net/ipv6/ip6_gre.c return ipv6_addr_equal(&t->parms.raddr, &hdr->saddr); saddr 1010 net/ipv6/ip6_gre.c if (ipv6_addr_equal(&t->parms.raddr, &ipv6_hdr(skb)->saddr)) saddr 1081 net/ipv6/ip6_gre.c fl6->saddr = p->laddr; saddr 1335 net/ipv6/ip6_gre.c const void *saddr, unsigned int len) saddr 1347 net/ipv6/ip6_gre.c ipv6h->saddr = t->parms.laddr; saddr 1358 net/ipv6/ip6_gre.c if (saddr) saddr 1359 net/ipv6/ip6_gre.c memcpy(&ipv6h->saddr, saddr, sizeof(struct in6_addr)); saddr 2171 net/ipv6/ip6_gre.c [IFLA_GRE_LOCAL] = { .len = FIELD_SIZEOF(struct ipv6hdr, saddr) }, saddr 181 net/ipv6/ip6_input.c if ((ipv6_addr_loopback(&hdr->saddr) || saddr 223 net/ipv6/ip6_input.c if (ipv6_addr_is_multicast(&hdr->saddr)) saddr 233 net/ipv6/ip6_input.c if (ipv6_addr_v4mapped(&hdr->saddr)) saddr 401 net/ipv6/ip6_input.c &hdr->saddr) && saddr 252 net/ipv6/ip6_offload.c !ipv6_addr_equal(&iph->saddr, &iph2->saddr) || saddr 73 net/ipv6/ip6_output.c &ipv6_hdr(skb)->saddr))) { saddr 235 net/ipv6/ip6_output.c &fl6->saddr); saddr 257 net/ipv6/ip6_output.c hdr->saddr = fl6->saddr; saddr 528 net/ipv6/ip6_output.c int addrtype = ipv6_addr_type(&hdr->saddr); saddr 810 net/ipv6/ip6_output.c &ipv6_hdr(skb)->saddr); saddr 988 net/ipv6/ip6_output.c ip6_rt_check(&rt->rt6i_src, &fl6->saddr, np->saddr_cache) || saddr 1019 net/ipv6/ip6_output.c if (ipv6_addr_any(&fl6->saddr) && (!*dst || !(*dst)->error)) { saddr 1032 net/ipv6/ip6_output.c &fl6->saddr); saddr 1079 net/ipv6/ip6_output.c ifp = ipv6_get_ifaddr(net, &fl6->saddr, saddr 1101 net/ipv6/ip6_output.c if (ipv6_addr_v4mapped(&fl6->saddr) && saddr 1756 net/ipv6/ip6_output.c ipv6_push_nfrag_opts(skb, opt, &proto, &final_dst, &fl6->saddr); saddr 1767 net/ipv6/ip6_output.c hdr->saddr = fl6->saddr; saddr 488 net/ipv6/ip6_tunnel.c t = ip6_tnl_lookup(dev_net(skb->dev), &ipv6h->daddr, &ipv6h->saddr); saddr 612 net/ipv6/ip6_tunnel.c rt = ip_route_output_ports(dev_net(skb->dev), &fl4, NULL, eiph->saddr, saddr 623 net/ipv6/ip6_tunnel.c eiph->daddr, eiph->saddr, 0, 0, saddr 632 net/ipv6/ip6_tunnel.c if (ip_route_input(skb2, eiph->daddr, eiph->saddr, eiph->tos, saddr 679 net/ipv6/ip6_tunnel.c rt = rt6_lookup(dev_net(skb->dev), &ipv6_hdr(skb2)->saddr, saddr 828 net/ipv6/ip6_tunnel.c &ipv6h->saddr, saddr 890 net/ipv6/ip6_tunnel.c t = ip6_tnl_lookup(dev_net(skb->dev), &ipv6h->saddr, &ipv6h->daddr); saddr 900 net/ipv6/ip6_tunnel.c if (!ip6_tnl_rcv_ctl(t, &ipv6h->daddr, &ipv6h->saddr)) saddr 971 net/ipv6/ip6_tunnel.c return ipv6_addr_equal(&t->parms.raddr, &hdr->saddr); saddr 1094 net/ipv6/ip6_tunnel.c if (!ip6_tnl_xmit_ctl(t, &fl6->saddr, &fl6->daddr)) saddr 1112 net/ipv6/ip6_tunnel.c if (t->parms.collect_md && ipv6_addr_any(&fl6->saddr) && saddr 1114 net/ipv6/ip6_tunnel.c &fl6->daddr, 0, &fl6->saddr)) saddr 1179 net/ipv6/ip6_tunnel.c dst_cache_set_ip6(&t->dst_cache, ndst, &fl6->saddr); saddr 1216 net/ipv6/ip6_tunnel.c ipv6h->saddr = fl6->saddr; saddr 1259 net/ipv6/ip6_tunnel.c fl6.saddr = key->u.ipv6.src; saddr 1331 net/ipv6/ip6_tunnel.c fl6.saddr = key->u.ipv6.src; saddr 1431 net/ipv6/ip6_tunnel.c fl6->saddr = p->laddr; saddr 83 net/ipv6/ip6_udp_tunnel.c struct net_device *dev, struct in6_addr *saddr, saddr 102 net/ipv6/ip6_udp_tunnel.c udp6_set_csum(nocheck, skb, saddr, daddr, skb->len); saddr 112 net/ipv6/ip6_udp_tunnel.c ip6h->saddr = *saddr; saddr 305 net/ipv6/ip6_vti.c t = vti6_tnl_lookup(dev_net(skb->dev), &ipv6h->saddr, &ipv6h->daddr); saddr 318 net/ipv6/ip6_vti.c if (!ip6_tnl_rcv_ctl(t, &ipv6h->daddr, &ipv6h->saddr)) { saddr 408 net/ipv6/ip6_vti.c return ipv6_addr_equal(&t->parms.raddr, &hdr->saddr); saddr 416 net/ipv6/ip6_vti.c xfrm_address_t *saddr = (xfrm_address_t *)src; saddr 426 net/ipv6/ip6_vti.c return xfrm_addr_equal(saddr, &x->props.saddr, AF_INET6); saddr 428 net/ipv6/ip6_vti.c if (!xfrm_state_addr_check(x, daddr, saddr, AF_INET6)) saddr 494 net/ipv6/ip6_vti.c if (!ip6_tnl_xmit_ctl(t, (const struct in6_addr *)&x->props.saddr, saddr 603 net/ipv6/ip6_vti.c t = vti6_tnl_lookup(dev_net(skb->dev), &iph->daddr, &iph->saddr); saddr 536 net/ipv6/ip6mr.c (csum_ipv6_magic(&ipv6_hdr(skb)->saddr, &ipv6_hdr(skb)->daddr, saddr 1075 net/ipv6/ip6mr.c msg->im6_src = ipv6_hdr(pkt)->saddr; saddr 1101 net/ipv6/ip6mr.c msg->im6_src = ipv6_hdr(pkt)->saddr; saddr 1140 net/ipv6/ip6mr.c ipv6_addr_equal(&c->mf6c_origin, &ipv6_hdr(skb)->saddr)) { saddr 1161 net/ipv6/ip6mr.c c->mf6c_origin = ipv6_hdr(skb)->saddr; saddr 2215 net/ipv6/ip6mr.c &ipv6_hdr(skb)->saddr, &ipv6_hdr(skb)->daddr); saddr 2306 net/ipv6/ip6mr.c iph->saddr = rt->rt6i_src.addr; saddr 84 net/ipv6/ipcomp6.c t->id.spi = xfrm6_tunnel_alloc_spi(net, (xfrm_address_t *)&x->props.saddr); saddr 92 net/ipv6/ipcomp6.c memcpy(t->props.saddr.a6, x->props.saddr.a6, sizeof(struct in6_addr)); saddr 118 net/ipv6/ipcomp6.c spi = xfrm6_tunnel_spi_lookup(net, (xfrm_address_t *)&x->props.saddr); saddr 1362 net/ipv6/mcast.c if (!(ipv6_addr_type(&ipv6_hdr(skb)->saddr) & IPV6_ADDR_LINKLOCAL) || saddr 1478 net/ipv6/mcast.c addr_type = ipv6_addr_type(&ipv6_hdr(skb)->saddr); saddr 1566 net/ipv6/mcast.c const struct in6_addr *saddr, saddr 1585 net/ipv6/mcast.c hdr->saddr = *saddr; saddr 1597 net/ipv6/mcast.c const struct in6_addr *saddr; saddr 1623 net/ipv6/mcast.c saddr = &in6addr_any; saddr 1625 net/ipv6/mcast.c saddr = &addr_buf; saddr 1627 net/ipv6/mcast.c ip6_mc_hdr(sk, skb, dev, saddr, &mld2_all_mcr, NEXTHDR_HOP, 0); saddr 1663 net/ipv6/mcast.c pmr->mld2r_cksum = csum_ipv6_magic(&pip6->saddr, &pip6->daddr, mldlen, saddr 1669 net/ipv6/mcast.c &ipv6_hdr(skb)->saddr, &ipv6_hdr(skb)->daddr, saddr 1988 net/ipv6/mcast.c const struct in6_addr *snd_addr, *saddr; saddr 2030 net/ipv6/mcast.c saddr = &in6addr_any; saddr 2032 net/ipv6/mcast.c saddr = &addr_buf; saddr 2034 net/ipv6/mcast.c ip6_mc_hdr(sk, skb, dev, saddr, snd_addr, NEXTHDR_HOP, payload_len); saddr 2042 net/ipv6/mcast.c hdr->mld_cksum = csum_ipv6_magic(saddr, snd_addr, len, saddr 2050 net/ipv6/mcast.c &ipv6_hdr(skb)->saddr, &ipv6_hdr(skb)->daddr, saddr 80 net/ipv6/mcast_snoop.c if (!(ipv6_addr_type(&ipv6_hdr(skb)->saddr) & IPV6_ADDR_LINKLOCAL)) saddr 126 net/ipv6/mip6.c if (!ipv6_addr_equal(&iph->saddr, (struct in6_addr *)x->coaddr) && saddr 164 net/ipv6/mip6.c memcpy(&hao->addr, &iph->saddr, sizeof(hao->addr)); saddr 166 net/ipv6/mip6.c memcpy(&iph->saddr, x->coaddr, sizeof(iph->saddr)); saddr 222 net/ipv6/mip6.c hao ? &hao->addr : &ipv6_hdr(skb)->saddr, saddr 230 net/ipv6/mip6.c memcpy(&sel.saddr, (xfrm_address_t *)&ipv6_hdr(skb)->saddr, saddr 231 net/ipv6/mip6.c sizeof(sel.saddr)); saddr 439 net/ipv6/ndisc.c const struct in6_addr *saddr, saddr 462 net/ipv6/ndisc.c hdr->saddr = *saddr; saddr 468 net/ipv6/ndisc.c const struct in6_addr *saddr) saddr 484 net/ipv6/ndisc.c icmpv6_flow_init(sk, &fl6, type, saddr, daddr, oif); saddr 494 net/ipv6/ndisc.c icmp6h->icmp6_cksum = csum_ipv6_magic(saddr, daddr, skb->len, saddr 499 net/ipv6/ndisc.c ip6_nd_hdr(skb, saddr, daddr, inet6_sk(sk)->hop_limit, skb->len); saddr 599 net/ipv6/ndisc.c const struct in6_addr *daddr, const struct in6_addr *saddr, saddr 608 net/ipv6/ndisc.c if (!saddr) { saddr 612 net/ipv6/ndisc.c saddr = &addr_buf; saddr 615 net/ipv6/ndisc.c if (ipv6_addr_any(saddr)) saddr 647 net/ipv6/ndisc.c ndisc_send_skb(skb, daddr, saddr); saddr 650 net/ipv6/ndisc.c void ndisc_send_rs(struct net_device *dev, const struct in6_addr *saddr, saddr 668 net/ipv6/ndisc.c struct inet6_ifaddr *ifp = ipv6_get_ifaddr(dev_net(dev), saddr, saddr 699 net/ipv6/ndisc.c ndisc_send_skb(skb, daddr, saddr); saddr 717 net/ipv6/ndisc.c struct in6_addr *saddr = NULL; saddr 723 net/ipv6/ndisc.c if (skb && ipv6_chk_addr_and_flags(dev_net(dev), &ipv6_hdr(skb)->saddr, saddr 726 net/ipv6/ndisc.c saddr = &ipv6_hdr(skb)->saddr; saddr 734 net/ipv6/ndisc.c ndisc_send_ns(dev, target, target, saddr, 0); saddr 739 net/ipv6/ndisc.c ndisc_send_ns(dev, target, &mcaddr, saddr, 0); saddr 770 net/ipv6/ndisc.c const struct in6_addr *saddr = &ipv6_hdr(skb)->saddr; saddr 780 net/ipv6/ndisc.c int dad = ipv6_addr_any(saddr); saddr 930 net/ipv6/ndisc.c neigh = __neigh_lookup(&nd_tbl, saddr, dev, saddr 938 net/ipv6/ndisc.c ndisc_send_na(dev, saddr, &msg->target, !!is_router, saddr 954 net/ipv6/ndisc.c struct in6_addr *saddr = &ipv6_hdr(skb)->saddr; saddr 1057 net/ipv6/ndisc.c rt6_clean_tohost(dev_net(dev), saddr); saddr 1071 net/ipv6/ndisc.c const struct in6_addr *saddr = &ipv6_hdr(skb)->saddr; saddr 1092 net/ipv6/ndisc.c if (ipv6_addr_any(saddr)) saddr 1108 net/ipv6/ndisc.c neigh = __neigh_lookup(&nd_tbl, saddr, skb->dev, 1); saddr 1153 net/ipv6/ndisc.c if (nla_put_in6_addr(skb, NDUSEROPT_SRCADDR, &ipv6_hdr(ra)->saddr)) saddr 1189 net/ipv6/ndisc.c if (!(ipv6_addr_type(&ipv6_hdr(skb)->saddr) & IPV6_ADDR_LINKLOCAL)) { saddr 1273 net/ipv6/ndisc.c ipv6_chk_addr(net, &ipv6_hdr(skb)->saddr, in6_dev->dev, 0)) { saddr 1290 net/ipv6/ndisc.c rt = rt6_get_dflt_router(net, &ipv6_hdr(skb)->saddr, skb->dev); saddr 1294 net/ipv6/ndisc.c &ipv6_hdr(skb)->saddr); saddr 1313 net/ipv6/ndisc.c rt = rt6_add_dflt_router(net, &ipv6_hdr(skb)->saddr, saddr 1324 net/ipv6/ndisc.c &ipv6_hdr(skb)->saddr); saddr 1400 net/ipv6/ndisc.c neigh = __neigh_lookup(&nd_tbl, &ipv6_hdr(skb)->saddr, saddr 1430 net/ipv6/ndisc.c ipv6_chk_addr(dev_net(in6_dev->dev), &ipv6_hdr(skb)->saddr, saddr 1457 net/ipv6/ndisc.c &ipv6_hdr(skb)->saddr); saddr 1538 net/ipv6/ndisc.c if (!(ipv6_addr_type(&ipv6_hdr(skb)->saddr) & IPV6_ADDR_LINKLOCAL)) { saddr 1614 net/ipv6/ndisc.c &saddr_buf, &ipv6_hdr(skb)->saddr, dev->ifindex); saddr 1632 net/ipv6/ndisc.c peer = inet_getpeer_v6(net->ipv6.peers, &ipv6_hdr(skb)->saddr, 1); saddr 1695 net/ipv6/ndisc.c ndisc_send_skb(buff, &ipv6_hdr(skb)->saddr, &saddr_buf); saddr 37 net/ipv6/netfilter.c .saddr = iph->saddr, saddr 85 net/ipv6/netfilter.c !ipv6_addr_equal(&iph->saddr, &rt_info->saddr) || saddr 146 net/ipv6/netfilter.c &ipv6_hdr(skb)->saddr); saddr 60 net/ipv6/netfilter/ip6_tables.c ipv6_masked_addr_cmp(&ipv6->saddr, &ip6info->smsk, saddr 85 net/ipv6/netfilter/ip6t_NPT.c if (!ip6t_npt_map_pfx(npt, &ipv6_hdr(skb)->saddr)) { saddr 87 net/ipv6/netfilter/ip6t_NPT.c offsetof(struct ipv6hdr, saddr)); saddr 41 net/ipv6/netfilter/ip6t_eui64.c if (!memcmp(ipv6_hdr(skb)->saddr.s6_addr + 8, eui64, saddr 42 net/ipv6/netfilter/ip6t_rpfilter.c .daddr = iph->saddr, saddr 47 net/ipv6/netfilter/ip6t_rpfilter.c memcpy(&fl6.saddr, &iph->daddr, sizeof(struct in6_addr)); saddr 55 net/ipv6/netfilter/ip6t_rpfilter.c if (rpfilter_addr_linklocal(&iph->saddr)) { saddr 101 net/ipv6/netfilter/ip6t_rpfilter.c saddrtype = ipv6_addr_type(&iph->saddr); saddr 38 net/ipv6/netfilter/ip6table_mangle.c struct in6_addr saddr, daddr; saddr 44 net/ipv6/netfilter/ip6table_mangle.c memcpy(&saddr, &ipv6_hdr(skb)->saddr, sizeof(saddr)); saddr 55 net/ipv6/netfilter/ip6table_mangle.c (!ipv6_addr_equal(&ipv6_hdr(skb)->saddr, &saddr) || saddr 154 net/ipv6/netfilter/nf_conntrack_reasm.c .saddr = hdr->saddr, saddr 61 net/ipv6/netfilter/nf_log_ipv6.c nf_log_buf_add(m, "SRC=%pI6 DST=%pI6 ", &ih->saddr, &ih->daddr); saddr 333 net/ipv6/netfilter/nf_log_ipv6.c nf_log_buf_add(m, "TUNNEL=%pI4->%pI4 ", &iph->saddr, saddr 78 net/ipv6/netfilter/nf_reject_ipv6.c ip6h->saddr = oip6h->daddr; saddr 79 net/ipv6/netfilter/nf_reject_ipv6.c ip6h->daddr = oip6h->saddr; saddr 121 net/ipv6/netfilter/nf_reject_ipv6.c tcph->check = csum_ipv6_magic(&ipv6_hdr(nskb)->saddr, saddr 141 net/ipv6/netfilter/nf_reject_ipv6.c if ((!(ipv6_addr_type(&oip6h->saddr) & IPV6_ADDR_UNICAST)) || saddr 153 net/ipv6/netfilter/nf_reject_ipv6.c fl6.saddr = oip6h->daddr; saddr 154 net/ipv6/netfilter/nf_reject_ipv6.c fl6.daddr = oip6h->saddr; saddr 69 net/ipv6/netfilter/nf_socket_ipv6.c *laddr = &inside_iph->saddr; saddr 80 net/ipv6/netfilter/nf_socket_ipv6.c const struct in6_addr *saddr, const struct in6_addr *daddr, saddr 87 net/ipv6/netfilter/nf_socket_ipv6.c saddr, sport, daddr, dport, saddr 90 net/ipv6/netfilter/nf_socket_ipv6.c return udp6_lib_lookup(net, saddr, sport, daddr, dport, saddr 101 net/ipv6/netfilter/nf_socket_ipv6.c const struct in6_addr *daddr = NULL, *saddr = NULL; saddr 122 net/ipv6/netfilter/nf_socket_ipv6.c saddr = &iph->saddr; saddr 134 net/ipv6/netfilter/nf_socket_ipv6.c if (extract_icmp6_fields(skb, thoff, &tproto, &saddr, &daddr, saddr 141 net/ipv6/netfilter/nf_socket_ipv6.c return nf_socket_get_sock_v6(net, data_skb, doff, tproto, saddr, daddr, saddr 60 net/ipv6/netfilter/nf_tproxy_ipv6.c &iph->saddr, saddr 78 net/ipv6/netfilter/nf_tproxy_ipv6.c const struct in6_addr *saddr, const struct in6_addr *daddr, saddr 98 net/ipv6/netfilter/nf_tproxy_ipv6.c saddr, sport, saddr 112 net/ipv6/netfilter/nf_tproxy_ipv6.c saddr, sport, daddr, ntohs(dport), saddr 121 net/ipv6/netfilter/nf_tproxy_ipv6.c sk = udp6_lib_lookup(net, saddr, sport, daddr, dport, saddr 145 net/ipv6/netfilter/nf_tproxy_ipv6.c protocol, saddr, ntohs(sport), daddr, ntohs(dport), lookup_type, sk); saddr 31 net/ipv6/netfilter/nft_fib_ipv6.c fl6->saddr = iph->saddr; saddr 33 net/ipv6/netfilter/nft_fib_ipv6.c fl6->daddr = iph->saddr; saddr 34 net/ipv6/netfilter/nft_fib_ipv6.c fl6->saddr = iph->daddr; saddr 42 net/ipv6/netfilter/nft_fib_ipv6.c if (ipv6_addr_type(&fl6->saddr) & IPV6_ADDR_UNICAST) saddr 61 net/ipv6/output_core.c offsetof(struct ipv6hdr, saddr), saddr 73 net/ipv6/output_core.c const struct in6_addr *saddr) saddr 77 net/ipv6/output_core.c id = __ipv6_select_ident(net, daddr, saddr); saddr 107 net/ipv6/ping.c fl6.saddr = np->saddr; saddr 159 net/ipv6/raw.c const struct in6_addr *saddr; saddr 166 net/ipv6/raw.c saddr = &ipv6_hdr(skb)->saddr; saddr 167 net/ipv6/raw.c daddr = saddr + 1; saddr 178 net/ipv6/raw.c sk = __raw_v6_lookup(net, sk, nexthdr, daddr, saddr, saddr 222 net/ipv6/raw.c sk = __raw_v6_lookup(net, sk_next(sk), nexthdr, daddr, saddr, saddr 313 net/ipv6/raw.c np->saddr = addr->sin6_addr; saddr 366 net/ipv6/raw.c const struct in6_addr *saddr, *daddr; saddr 376 net/ipv6/raw.c saddr = &ip6h->saddr; saddr 380 net/ipv6/raw.c while ((sk = __raw_v6_lookup(net, sk, nexthdr, saddr, daddr, saddr 433 net/ipv6/raw.c if (!csum_ipv6_magic(&ipv6_hdr(skb)->saddr, saddr 439 net/ipv6/raw.c skb->csum = ~csum_unfold(csum_ipv6_magic(&ipv6_hdr(skb)->saddr, saddr 508 net/ipv6/raw.c sin6->sin6_addr = ipv6_hdr(skb)->saddr; saddr 604 net/ipv6/raw.c csum = csum_ipv6_magic(&fl6->saddr, &fl6->daddr, saddr 909 net/ipv6/raw.c if (ipv6_addr_any(&fl6.saddr) && !ipv6_addr_any(&np->saddr)) saddr 910 net/ipv6/raw.c fl6.saddr = np->saddr; saddr 86 net/ipv6/reassembly.c .saddr = hdr->saddr, saddr 112 net/ipv6/route.c const struct in6_addr *saddr); saddr 476 net/ipv6/route.c const struct in6_addr *saddr, int oif, int flags) saddr 488 net/ipv6/route.c if (ipv6_chk_addr(net, saddr, dev, saddr 498 net/ipv6/route.c const struct in6_addr *saddr; saddr 509 net/ipv6/route.c return __rt6_device_match(arg->net, nh, arg->saddr, arg->oif, saddr 516 net/ipv6/route.c const struct in6_addr *saddr, saddr 521 net/ipv6/route.c .saddr = saddr, saddr 536 net/ipv6/route.c const struct in6_addr *saddr, int oif, int flags) saddr 542 net/ipv6/route.c if (!oif && ipv6_addr_any(saddr)) { saddr 558 net/ipv6/route.c nh = rt6_nh_dev_match(net, spf6i->nh, res, saddr, saddr 564 net/ipv6/route.c if (__rt6_device_match(net, nh, saddr, oif, flags)) saddr 1152 net/ipv6/route.c struct in6_addr *saddr) saddr 1161 net/ipv6/route.c fn = fib6_node_lookup(sn, NULL, saddr); saddr 1226 net/ipv6/route.c fn = fib6_node_lookup(&table->tb6_root, &fl6->daddr, &fl6->saddr); saddr 1232 net/ipv6/route.c rt6_device_match(net, &res, &fl6->saddr, fl6->flowi6_oif, saddr 1236 net/ipv6/route.c fn = fib6_backtrack(fn, &fl6->saddr); saddr 1251 net/ipv6/route.c rt = rt6_find_cached_rt(&res, &fl6->daddr, &fl6->saddr); saddr 1276 net/ipv6/route.c const struct in6_addr *saddr, int oif, saddr 1286 net/ipv6/route.c if (saddr) { saddr 1287 net/ipv6/route.c memcpy(&fl6.saddr, saddr, sizeof(*saddr)); saddr 1330 net/ipv6/route.c const struct in6_addr *saddr) saddr 1361 net/ipv6/route.c if (rt->rt6i_src.plen && saddr) { saddr 1362 net/ipv6/route.c rt->rt6i_src.addr = *saddr; saddr 1523 net/ipv6/route.c const struct in6_addr *saddr) saddr 1531 net/ipv6/route.c hval = rt6_exception_hash(daddr, saddr); saddr 1539 net/ipv6/route.c if (matched && saddr) saddr 1540 net/ipv6/route.c matched = ipv6_addr_equal(saddr, &rt6->rt6i_src.addr); saddr 1556 net/ipv6/route.c const struct in6_addr *saddr) saddr 1566 net/ipv6/route.c hval = rt6_exception_hash(daddr, saddr); saddr 1574 net/ipv6/route.c if (matched && saddr) saddr 1575 net/ipv6/route.c matched = ipv6_addr_equal(saddr, &rt6->rt6i_src.addr); saddr 1791 net/ipv6/route.c const struct in6_addr *saddr) saddr 1811 net/ipv6/route.c src_key = saddr; saddr 2185 net/ipv6/route.c fn = fib6_node_lookup(&table->tb6_root, &fl6->daddr, &fl6->saddr); saddr 2194 net/ipv6/route.c fn = fib6_backtrack(fn, &fl6->saddr); saddr 2235 net/ipv6/route.c rt = rt6_find_cached_rt(&res, &fl6->daddr, &fl6->saddr); saddr 2343 net/ipv6/route.c keys->addrs.v6addrs.src = key_iph->saddr; saddr 2364 net/ipv6/route.c hash_keys.addrs.v6addrs.src = fl6->saddr; saddr 2394 net/ipv6/route.c hash_keys.addrs.v6addrs.src = fl6->saddr; saddr 2431 net/ipv6/route.c hash_keys.addrs.v6addrs.src = fl6->saddr; saddr 2453 net/ipv6/route.c .saddr = iph->saddr, saddr 2502 net/ipv6/route.c any_src = ipv6_addr_any(&fl6->saddr); saddr 2728 net/ipv6/route.c const struct in6_addr *daddr, *saddr; saddr 2738 net/ipv6/route.c saddr = &iph->saddr; saddr 2741 net/ipv6/route.c saddr = &inet6_sk(sk)->saddr; saddr 2744 net/ipv6/route.c saddr = NULL; saddr 2791 net/ipv6/route.c nrt6 = ip6_rt_cache_alloc(&res, daddr, saddr); saddr 2819 net/ipv6/route.c .saddr = iph->saddr, saddr 2864 net/ipv6/route.c ipv6_addr_equal(&fl6->saddr, &np->saddr) ? saddr 2865 net/ipv6/route.c &np->saddr : saddr 2889 net/ipv6/route.c rt_cache = rt6_find_cached_rt(res, &fl6->daddr, &fl6->saddr); saddr 2956 net/ipv6/route.c fn = fib6_node_lookup(&table->tb6_root, &fl6->daddr, &fl6->saddr); saddr 2988 net/ipv6/route.c fn = fib6_backtrack(fn, &fl6->saddr); saddr 3035 net/ipv6/route.c .saddr = iph->saddr, saddr 3040 net/ipv6/route.c dst = ip6_route_redirect(net, &fl6, skb, &ipv6_hdr(skb)->saddr); saddr 3055 net/ipv6/route.c .saddr = iph->daddr, saddr 3059 net/ipv6/route.c dst = ip6_route_redirect(net, &fl6, skb, &iph->saddr); saddr 3126 net/ipv6/route.c const struct in6_addr *saddr) saddr 3140 net/ipv6/route.c rt = rt6_find_cached_rt(res, daddr, saddr); saddr 3228 net/ipv6/route.c .saddr = cfg->fc_prefsrc, saddr 4048 net/ipv6/route.c dst_confirm_neigh(&rt->dst, &ipv6_hdr(skb)->saddr); saddr 5823 net/ipv6/route.c fl6.saddr = *(struct in6_addr *)nla_data(tb[RTA_SRC]); saddr 5877 net/ipv6/route.c if (!ipv6_addr_any(&fl6.saddr)) saddr 5922 net/ipv6/route.c &fl6.saddr, iif, RTM_NEWROUTE, saddr 163 net/ipv6/seg6_hmac.c struct in6_addr *saddr, u8 *output) saddr 196 net/ipv6/seg6_hmac.c memcpy(off, saddr, 16); saddr 271 net/ipv6/seg6_hmac.c if (seg6_hmac_compute(hinfo, srh, &ipv6_hdr(skb)->saddr, hmac_output)) saddr 327 net/ipv6/seg6_hmac.c int seg6_push_hmac(struct net *net, struct in6_addr *saddr, saddr 345 net/ipv6/seg6_hmac.c err = seg6_hmac_compute(hinfo, srh, saddr, tlv->hmac); saddr 70 net/ipv6/seg6_iptunnel.c struct in6_addr *daddr, struct in6_addr *saddr) saddr 80 net/ipv6/seg6_iptunnel.c memcpy(saddr, tun_src, sizeof(struct in6_addr)); saddr 83 net/ipv6/seg6_iptunnel.c saddr); saddr 156 net/ipv6/seg6_iptunnel.c set_tun_src(net, dst->dev, &hdr->daddr, &hdr->saddr); saddr 160 net/ipv6/seg6_iptunnel.c err = seg6_push_hmac(net, &hdr->saddr, isrh); saddr 212 net/ipv6/seg6_iptunnel.c err = seg6_push_hmac(net, &hdr->saddr, isrh); saddr 312 net/ipv6/seg6_iptunnel.c &ipv6_hdr(skb)->saddr); saddr 349 net/ipv6/seg6_iptunnel.c fl6.saddr = hdr->saddr; saddr 362 net/ipv6/seg6_iptunnel.c dst_cache_set_ip6(&slwt->cache, dst, &fl6.saddr); saddr 166 net/ipv6/seg6_local.c fl6.saddr = hdr->saddr; saddr 379 net/ipv6/seg6_local.c err = ip_route_input(skb, nhaddr, iph->saddr, 0, skb->dev); saddr 101 net/ipv6/sit.c if (local == t->parms.iph.saddr && saddr 116 net/ipv6/sit.c if (local == t->parms.iph.saddr && saddr 132 net/ipv6/sit.c __be32 local = parms->iph.saddr; saddr 200 net/ipv6/sit.c memcpy(dev->dev_addr, &t->parms.iph.saddr, 4); saddr 227 net/ipv6/sit.c __be32 local = parms->iph.saddr; saddr 237 net/ipv6/sit.c if (local == t->parms.iph.saddr && saddr 451 net/ipv6/sit.c p = __ipip6_tunnel_locate_prl(t, iph->saddr); saddr 458 net/ipv6/sit.c const struct in6_addr *addr6 = &ipv6_hdr(skb)->saddr; saddr 461 net/ipv6/sit.c (addr6->s6_addr32[3] == iph->saddr) && saddr 527 net/ipv6/sit.c iph->daddr, iph->saddr, sifindex); saddr 618 net/ipv6/sit.c if (unlikely(is_spoofed_6rd(tunnel, iph->saddr, &ipv6h->saddr))) { saddr 620 net/ipv6/sit.c &iph->saddr, &ipv6h->saddr, saddr 632 net/ipv6/sit.c &iph->saddr, &ipv6h->saddr, saddr 646 net/ipv6/sit.c iph->saddr, iph->daddr, sifindex); saddr 676 net/ipv6/sit.c &iph->saddr, iph->tos); saddr 724 net/ipv6/sit.c iph->saddr, iph->daddr, sifindex); saddr 901 net/ipv6/sit.c 0, dst, tiph->saddr, 0, 0, saddr 904 net/ipv6/sit.c rt = dst_cache_get_ip4(&tunnel->dst_cache, &fl4.saddr); saddr 911 net/ipv6/sit.c dst_cache_set_ip4(&tunnel->dst_cache, &rt->dst, fl4.saddr); saddr 997 net/ipv6/sit.c iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, protocol, tos, ttl, saddr 1072 net/ipv6/sit.c iph->daddr, iph->saddr, saddr 1106 net/ipv6/sit.c t->parms.iph.saddr = p->iph.saddr; saddr 1108 net/ipv6/sit.c memcpy(t->dev->dev_addr, &p->iph.saddr, 4); saddr 1466 net/ipv6/sit.c parms->iph.saddr = nla_get_be32(data[IFLA_IPTUN_LOCAL]); saddr 1705 net/ipv6/sit.c nla_put_in_addr(skb, IFLA_IPTUN_LOCAL, parm->iph.saddr) || saddr 40 net/ipv6/syncookies.c static u32 cookie_hash(const struct in6_addr *saddr, saddr 45 net/ipv6/syncookies.c struct in6_addr saddr; saddr 51 net/ipv6/syncookies.c .saddr = *saddr, saddr 63 net/ipv6/syncookies.c static __u32 secure_tcp_syn_cookie(const struct in6_addr *saddr, saddr 69 net/ipv6/syncookies.c return (cookie_hash(saddr, daddr, sport, dport, 0, 0) + saddr 71 net/ipv6/syncookies.c ((cookie_hash(saddr, daddr, sport, dport, count, 1) + data) saddr 75 net/ipv6/syncookies.c static __u32 check_tcp_syn_cookie(__u32 cookie, const struct in6_addr *saddr, saddr 81 net/ipv6/syncookies.c cookie -= cookie_hash(saddr, daddr, sport, dport, 0, 0) + sseq; saddr 88 net/ipv6/syncookies.c cookie_hash(saddr, daddr, sport, dport, count - diff, 1)) saddr 104 net/ipv6/syncookies.c return secure_tcp_syn_cookie(&iph->saddr, &iph->daddr, th->source, saddr 121 net/ipv6/syncookies.c __u32 mssind = check_tcp_syn_cookie(cookie, &iph->saddr, &iph->daddr, saddr 165 net/ipv6/syncookies.c ipv6_hdr(skb)->saddr.s6_addr32); saddr 187 net/ipv6/syncookies.c ireq->ir_v6_rmt_addr = ipv6_hdr(skb)->saddr; saddr 230 net/ipv6/syncookies.c fl6.saddr = ireq->ir_v6_loc_addr; saddr 118 net/ipv6/tcp_ipv6.c ipv6_hdr(skb)->saddr.s6_addr32, saddr 126 net/ipv6/tcp_ipv6.c ipv6_hdr(skb)->saddr.s6_addr32); saddr 152 net/ipv6/tcp_ipv6.c struct in6_addr *saddr = NULL, *final_p, final; saddr 256 net/ipv6/tcp_ipv6.c np->saddr = sk->sk_v6_rcv_saddr; saddr 262 net/ipv6/tcp_ipv6.c saddr = &sk->sk_v6_rcv_saddr; saddr 266 net/ipv6/tcp_ipv6.c fl6.saddr = saddr ? *saddr : np->saddr; saddr 284 net/ipv6/tcp_ipv6.c if (!saddr) { saddr 285 net/ipv6/tcp_ipv6.c saddr = &fl6.saddr; saddr 286 net/ipv6/tcp_ipv6.c sk->sk_v6_rcv_saddr = *saddr; saddr 290 net/ipv6/tcp_ipv6.c np->saddr = *saddr; saddr 315 net/ipv6/tcp_ipv6.c secure_tcpv6_seq(np->saddr.s6_addr32, saddr 320 net/ipv6/tcp_ipv6.c np->saddr.s6_addr32, saddr 376 net/ipv6/tcp_ipv6.c &hdr->saddr, ntohs(th->source), saddr 595 net/ipv6/tcp_ipv6.c const struct in6_addr *saddr, saddr 604 net/ipv6/tcp_ipv6.c bp->saddr = *saddr; saddr 620 net/ipv6/tcp_ipv6.c const struct in6_addr *daddr, struct in6_addr *saddr, saddr 633 net/ipv6/tcp_ipv6.c if (tcp_v6_md5_hash_headers(hp, daddr, saddr, th, th->doff << 2)) saddr 656 net/ipv6/tcp_ipv6.c const struct in6_addr *saddr, *daddr; saddr 662 net/ipv6/tcp_ipv6.c saddr = &sk->sk_v6_rcv_saddr; saddr 666 net/ipv6/tcp_ipv6.c saddr = &ip6h->saddr; saddr 678 net/ipv6/tcp_ipv6.c if (tcp_v6_md5_hash_headers(hp, daddr, saddr, th, skb->len)) saddr 711 net/ipv6/tcp_ipv6.c hash_expected = tcp_v6_md5_do_lookup(sk, &ip6h->saddr); saddr 737 net/ipv6/tcp_ipv6.c &ip6h->saddr, ntohs(th->source), saddr 753 net/ipv6/tcp_ipv6.c ireq->ir_v6_rmt_addr = ipv6_hdr(skb)->saddr; saddr 863 net/ipv6/tcp_ipv6.c &ipv6_hdr(skb)->saddr, saddr 869 net/ipv6/tcp_ipv6.c fl6.daddr = ipv6_hdr(skb)->saddr; saddr 870 net/ipv6/tcp_ipv6.c fl6.saddr = ipv6_hdr(skb)->daddr; saddr 876 net/ipv6/tcp_ipv6.c __tcp_v6_send_check(buff, &fl6.saddr, &fl6.daddr); saddr 954 net/ipv6/tcp_ipv6.c key = tcp_v6_md5_do_lookup(sk, &ipv6h->saddr); saddr 965 net/ipv6/tcp_ipv6.c &ipv6h->saddr, saddr 973 net/ipv6/tcp_ipv6.c key = tcp_v6_md5_do_lookup(sk1, &ipv6h->saddr); saddr 1057 net/ipv6/tcp_ipv6.c tcp_v6_md5_do_lookup(sk, &ipv6_hdr(skb)->saddr), saddr 1151 net/ipv6/tcp_ipv6.c newnp->saddr = newsk->sk_v6_rcv_saddr; saddr 1219 net/ipv6/tcp_ipv6.c newnp->saddr = ireq->ir_v6_loc_addr; saddr 1669 net/ipv6/tcp_ipv6.c &ipv6_hdr(skb)->saddr, th->source, saddr 1718 net/ipv6/tcp_ipv6.c &hdr->saddr, th->source, saddr 34 net/ipv6/tcpv6_offload.c th->check = ~tcp_v6_check(skb->len - thoff, &iph->saddr, saddr 62 net/ipv6/tcpv6_offload.c __tcp_v6_send_check(skb, &ipv6h->saddr, &ipv6h->daddr); saddr 102 net/ipv6/udp.c const struct in6_addr *saddr, __be16 sport, saddr 128 net/ipv6/udp.c if (!ipv6_addr_equal(&sk->sk_v6_daddr, saddr)) saddr 146 net/ipv6/udp.c const struct in6_addr *saddr, __be16 sport, saddr 158 net/ipv6/udp.c score = compute_score(sk, net, saddr, sport, saddr 164 net/ipv6/udp.c saddr, sport); saddr 180 net/ipv6/udp.c const struct in6_addr *saddr, __be16 sport, saddr 194 net/ipv6/udp.c result = udp6_lib_lookup2(net, saddr, sport, saddr 203 net/ipv6/udp.c result = udp6_lib_lookup2(net, saddr, sport, saddr 219 net/ipv6/udp.c return __udp6_lib_lookup(dev_net(skb->dev), &iph->saddr, sport, saddr 229 net/ipv6/udp.c return __udp6_lib_lookup(dev_net(skb->dev), &iph->saddr, sport, saddr 239 net/ipv6/udp.c struct sock *udp6_lib_lookup(struct net *net, const struct in6_addr *saddr, __be16 sport, saddr 244 net/ipv6/udp.c sk = __udp6_lib_lookup(net, saddr, sport, daddr, dport, saddr 347 net/ipv6/udp.c ipv6_addr_set_v4mapped(ip_hdr(skb)->saddr, saddr 351 net/ipv6/udp.c sin6->sin6_addr = ipv6_hdr(skb)->saddr; saddr 469 net/ipv6/udp.c &hdr->saddr, uh->dest, saddr 497 net/ipv6/udp.c const struct in6_addr *saddr = &hdr->saddr; saddr 506 net/ipv6/udp.c sk = __udp6_lib_lookup(net, daddr, uh->dest, saddr, uh->source, saddr 735 net/ipv6/udp.c &ipv6_hdr(skb)->saddr, ntohs(udp_hdr(skb)->source), saddr 744 net/ipv6/udp.c const struct in6_addr *saddr, const struct in6_addr *daddr, saddr 769 net/ipv6/udp.c uh->source, saddr, dif, sdif, saddr 843 net/ipv6/udp.c const struct in6_addr *saddr, *daddr; saddr 852 net/ipv6/udp.c saddr = &ipv6_hdr(skb)->saddr; saddr 873 net/ipv6/udp.c saddr = &ipv6_hdr(skb)->saddr; saddr 906 net/ipv6/udp.c saddr, daddr, udptable, proto); saddr 934 net/ipv6/udp.c saddr, ntohs(uh->source), saddr 990 net/ipv6/udp.c uh->source, &ipv6_hdr(skb)->saddr, saddr 1062 net/ipv6/udp.c const struct in6_addr *saddr, saddr 1074 net/ipv6/udp.c uh->check = ~csum_ipv6_magic(saddr, daddr, len, IPPROTO_UDP, 0); saddr 1091 net/ipv6/udp.c uh->check = csum_ipv6_magic(saddr, daddr, len, IPPROTO_UDP, saddr 1161 net/ipv6/udp.c udp6_hwcsum_outgoing(sk, skb, &fl6->saddr, &fl6->daddr, len); saddr 1167 net/ipv6/udp.c uh->check = csum_ipv6_magic(&fl6->saddr, &fl6->daddr, saddr 1252 net/ipv6/udp.c ipv6_addr_v4mapped(&np->saddr)) saddr 1399 net/ipv6/udp.c if (ipv6_addr_any(&fl6.saddr) && !ipv6_addr_any(&np->saddr)) saddr 1400 net/ipv6/udp.c fl6.saddr = np->saddr; saddr 1405 net/ipv6/udp.c (struct sockaddr *)sin6, &fl6.saddr); saddr 60 net/ipv6/udp_offload.c uh->check = udp_v6_check(skb->len, &ipv6h->saddr, saddr 148 net/ipv6/udp_offload.c uh->check = ~udp_v6_check(skb->len - nhoff, &ipv6h->saddr, saddr 85 net/ipv6/xfrm6_input.c xfrm_address_t *saddr, u8 proto) saddr 109 net/ipv6/xfrm6_input.c src = saddr; saddr 27 net/ipv6/xfrm6_policy.c const xfrm_address_t *saddr, saddr 40 net/ipv6/xfrm6_policy.c if (saddr) saddr 41 net/ipv6/xfrm6_policy.c memcpy(&fl6.saddr, saddr, sizeof(fl6.saddr)); saddr 55 net/ipv6/xfrm6_policy.c xfrm_address_t *saddr, xfrm_address_t *daddr, saddr 66 net/ipv6/xfrm6_policy.c ipv6_dev_get_saddr(dev_net(dev), dev, &daddr->in6, 0, &saddr->in6); saddr 74 net/ipv6/xfrm6_tunnel.c static struct xfrm6_tunnel_spi *__xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr) saddr 80 net/ipv6/xfrm6_tunnel.c &xfrm6_tn->spi_byaddr[xfrm6_tunnel_spi_hash_byaddr(saddr)], saddr 82 net/ipv6/xfrm6_tunnel.c if (xfrm6_addr_equal(&x6spi->addr, saddr)) saddr 89 net/ipv6/xfrm6_tunnel.c __be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr) saddr 95 net/ipv6/xfrm6_tunnel.c x6spi = __xfrm6_tunnel_spi_lookup(net, saddr); saddr 117 net/ipv6/xfrm6_tunnel.c static u32 __xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr) saddr 151 net/ipv6/xfrm6_tunnel.c memcpy(&x6spi->addr, saddr, sizeof(x6spi->addr)); saddr 157 net/ipv6/xfrm6_tunnel.c index = xfrm6_tunnel_spi_hash_byaddr(saddr); saddr 163 net/ipv6/xfrm6_tunnel.c __be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr) saddr 169 net/ipv6/xfrm6_tunnel.c x6spi = __xfrm6_tunnel_spi_lookup(net, saddr); saddr 174 net/ipv6/xfrm6_tunnel.c spi = __xfrm6_tunnel_alloc_spi(net, saddr); saddr 187 net/ipv6/xfrm6_tunnel.c static void xfrm6_tunnel_free_spi(struct net *net, xfrm_address_t *saddr) saddr 196 net/ipv6/xfrm6_tunnel.c &xfrm6_tn->spi_byaddr[xfrm6_tunnel_spi_hash_byaddr(saddr)], saddr 199 net/ipv6/xfrm6_tunnel.c if (xfrm6_addr_equal(&x6spi->addr, saddr)) { saddr 228 net/ipv6/xfrm6_tunnel.c spi = xfrm6_tunnel_spi_lookup(net, (const xfrm_address_t *)&iph->saddr); saddr 290 net/ipv6/xfrm6_tunnel.c xfrm6_tunnel_free_spi(net, (xfrm_address_t *)&x->props.saddr); saddr 66 net/key/af_key.c xfrm_address_t *saddr, xfrm_address_t *daddr, saddr 805 net/key/af_key.c if (!xfrm_addr_equal(&x->sel.saddr, &x->props.saddr, x->props.family)) saddr 928 net/key/af_key.c pfkey_sockaddr_fill(&x->props.saddr, 0, saddr 948 net/key/af_key.c if (!xfrm_addr_equal(&x->sel.saddr, &x->props.saddr, saddr 961 net/key/af_key.c pfkey_sockaddr_fill(&x->sel.saddr, x->sel.sport, saddr 1238 net/key/af_key.c &x->props.saddr); saddr 1257 net/key/af_key.c x->sel.family = pfkey_sadb_addr2xfrm_addr(addr, &x->sel.saddr); saddr 1314 net/key/af_key.c struct sadb_address *saddr, *daddr; saddr 1344 net/key/af_key.c saddr = ext_hdrs[SADB_EXT_ADDRESS_SRC-1]; saddr 1347 net/key/af_key.c family = ((struct sockaddr *)(saddr + 1))->sa_family; saddr 1351 net/key/af_key.c xsaddr = (xfrm_address_t *)&((struct sockaddr_in *)(saddr + 1))->sin_addr.s_addr; saddr 1356 net/key/af_key.c xsaddr = (xfrm_address_t *)&((struct sockaddr_in6 *)(saddr + 1))->sin6_addr; saddr 1858 net/key/af_key.c memcpy(&filter->saddr, &xfilter->sadb_x_filter_saddr, saddr 1972 net/key/af_key.c &t->saddr, &t->id.daddr, &t->encap_family); saddr 2083 net/key/af_key.c if (!pfkey_sockaddr_fill(&xp->selector.saddr, saddr 2176 net/key/af_key.c pfkey_sockaddr_fill(&t->saddr, 0, saddr 2267 net/key/af_key.c xp->family = pfkey_sadb_addr2xfrm_addr(sa, &xp->selector.saddr); saddr 2375 net/key/af_key.c sel.family = pfkey_sadb_addr2xfrm_addr(sa, &sel.saddr); saddr 2464 net/key/af_key.c xfrm_address_t *saddr, xfrm_address_t *daddr, saddr 2472 net/key/af_key.c af = pfkey_sockaddr_extract(sa, saddr); saddr 2583 net/key/af_key.c sel.family = pfkey_sadb_addr2xfrm_addr(sa, &sel.saddr); saddr 3186 net/key/af_key.c pfkey_sockaddr_fill(&x->props.saddr, 0, saddr 3398 net/key/af_key.c pfkey_sockaddr_fill(&x->props.saddr, 0, saddr 3451 net/key/af_key.c pfkey_sockaddr_fill(&sel->saddr, 0, saddr 1125 net/l2tp/l2tp_core.c skb, &inet6_sk(sk)->saddr, saddr 151 net/l2tp/l2tp_debugfs.c &np->saddr, &tunnel->sock->sk_v6_daddr); saddr 183 net/l2tp/l2tp_ip.c sk = __l2tp_ip_bind_lookup(net, iph->daddr, iph->saddr, inet_iif(skb), saddr 558 net/l2tp/l2tp_ip.c sin->sin_addr.s_addr = ip_hdr(skb)->saddr; saddr 195 net/l2tp/l2tp_ip6.c sk = __l2tp_ip6_bind_lookup(net, &iph->daddr, &iph->saddr, saddr 355 net/l2tp/l2tp_ip6.c np->saddr = addr->l2tp_addr; saddr 454 net/l2tp/l2tp_ip6.c lsa->l2tp_addr = np->saddr; saddr 615 net/l2tp/l2tp_ip6.c if (ipv6_addr_any(&fl6.saddr) && !ipv6_addr_any(&np->saddr)) saddr 616 net/l2tp/l2tp_ip6.c fl6.saddr = np->saddr; saddr 710 net/l2tp/l2tp_ip6.c lsa->l2tp_addr = ipv6_hdr(skb)->saddr; saddr 413 net/l2tp/l2tp_netlink.c &np->saddr) || saddr 749 net/llc/llc_conn.c struct llc_addr *saddr, saddr 760 net/llc/llc_conn.c memcpy(&newllc->daddr, saddr, sizeof(newllc->daddr)); saddr 771 net/llc/llc_conn.c struct llc_addr saddr, daddr; saddr 774 net/llc/llc_conn.c llc_pdu_decode_sa(skb, saddr.mac); saddr 775 net/llc/llc_conn.c llc_pdu_decode_ssap(skb, &saddr.lsap); saddr 779 net/llc/llc_conn.c sk = __llc_lookup(sap, &saddr, &daddr); saddr 794 net/llc/llc_conn.c &saddr, &daddr); saddr 57 net/llc/llc_s_ac.c llc_pdu_header_init(skb, LLC_PDU_TYPE_U, ev->saddr.lsap, saddr 60 net/llc/llc_s_ac.c rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev->daddr.mac); saddr 82 net/llc/llc_s_ac.c llc_pdu_header_init(skb, LLC_PDU_TYPE_U, ev->saddr.lsap, saddr 85 net/llc/llc_s_ac.c rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev->daddr.mac); saddr 138 net/llc/llc_s_ac.c llc_pdu_header_init(skb, LLC_PDU_TYPE_U, ev->saddr.lsap, saddr 141 net/llc/llc_s_ac.c rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev->daddr.mac); saddr 235 net/llc/llc_sap.c ev->saddr.lsap = sap->laddr.lsap; saddr 237 net/llc/llc_sap.c memcpy(ev->saddr.mac, skb->dev->dev_addr, IFHWADDRLEN); saddr 261 net/llc/llc_sap.c ev->saddr.lsap = sap->laddr.lsap; saddr 263 net/llc/llc_sap.c memcpy(ev->saddr.mac, skb->dev->dev_addr, IFHWADDRLEN); saddr 365 net/mac802154/iface.c const struct ieee802154_addr *saddr, saddr 386 net/mac802154/iface.c if (!saddr) { saddr 399 net/mac802154/iface.c hdr.source = *(const struct ieee802154_addr *)saddr; saddr 431 net/mac802154/iface.c const void *saddr, saddr 461 net/mac802154/iface.c if (!saddr) saddr 464 net/mac802154/iface.c ieee802154_be64_to_le64(&hdr.source.extended_addr, saddr); saddr 202 net/mpls/af_mpls.c hash = jhash_3words(ntohl(v4hdr->saddr), saddr 211 net/mpls/af_mpls.c hash = __ipv6_addr_jhash(&v6hdr->saddr, hash); saddr 621 net/ncsi/ncsi-rsp.c struct sockaddr saddr; saddr 627 net/ncsi/ncsi-rsp.c saddr.sa_family = ndev->type; saddr 629 net/ncsi/ncsi-rsp.c memcpy(saddr.sa_data, &rsp->data[MLX_MAC_ADDR_OFFSET], ETH_ALEN); saddr 630 net/ncsi/ncsi-rsp.c ret = ops->ndo_set_mac_address(ndev, &saddr); saddr 660 net/ncsi/ncsi-rsp.c struct sockaddr saddr; saddr 666 net/ncsi/ncsi-rsp.c saddr.sa_family = ndev->type; saddr 668 net/ncsi/ncsi-rsp.c memcpy(saddr.sa_data, &rsp->data[BCM_MAC_ADDR_OFFSET], ETH_ALEN); saddr 670 net/ncsi/ncsi-rsp.c eth_addr_inc((u8 *)saddr.sa_data); saddr 671 net/ncsi/ncsi-rsp.c if (!is_valid_ether_addr((const u8 *)saddr.sa_data)) saddr 674 net/ncsi/ncsi-rsp.c ret = ops->ndo_set_mac_address(ndev, &saddr); saddr 326 net/netfilter/ipvs/ip_vs_conn.c ip_vs_conn_fill_param(ipvs, af, iph->protocol, &iph->saddr, saddr 330 net/netfilter/ipvs/ip_vs_conn.c pptr[1], &iph->saddr, pptr[0], p); saddr 281 net/netfilter/ipvs/ip_vs_core.c src_addr = &iph->saddr; saddr 285 net/netfilter/ipvs/ip_vs_core.c dst_addr = &iph->saddr; saddr 475 net/netfilter/ipvs/ip_vs_core.c caddr = &iph->saddr; saddr 482 net/netfilter/ipvs/ip_vs_core.c vaddr = &iph->saddr; saddr 627 net/netfilter/ipvs/ip_vs_core.c &iph->saddr, pptr[0], saddr 776 net/netfilter/ipvs/ip_vs_core.c iph->saddr = cp->vaddr.ip; saddr 783 net/netfilter/ipvs/ip_vs_core.c ciph->saddr = cp->daddr.ip; saddr 831 net/netfilter/ipvs/ip_vs_core.c iph->saddr = cp->vaddr.in6; saddr 835 net/netfilter/ipvs/ip_vs_core.c ciph->saddr = cp->daddr.in6; saddr 853 net/netfilter/ipvs/ip_vs_core.c icmph->icmp6_cksum = ~csum_ipv6_magic(&iph->saddr, &iph->daddr, saddr 961 net/netfilter/ipvs/ip_vs_core.c &iph->saddr, &iph->daddr); saddr 1003 net/netfilter/ipvs/ip_vs_core.c snet.ip = iph->saddr; saddr 1044 net/netfilter/ipvs/ip_vs_core.c &ipvsh->saddr, &ipvsh->daddr); saddr 1060 net/netfilter/ipvs/ip_vs_core.c snet.in6 = ciph.saddr.in6; saddr 1165 net/netfilter/ipvs/ip_vs_core.c daddr = &iph->saddr; saddr 1259 net/netfilter/ipvs/ip_vs_core.c &iph->saddr, pptr[0]); saddr 1297 net/netfilter/ipvs/ip_vs_core.c ipv6_hdr(skb)->saddr = cp->vaddr.in6; saddr 1301 net/netfilter/ipvs/ip_vs_core.c ip_hdr(skb)->saddr = cp->vaddr.ip; saddr 1452 net/netfilter/ipvs/ip_vs_core.c if (ip_vs_has_real_service(ipvs, af, iph.protocol, &iph.saddr, saddr 1683 net/netfilter/ipvs/ip_vs_core.c &iph->saddr, &iph->daddr); saddr 1796 net/netfilter/ipvs/ip_vs_core.c &iph->saddr); saddr 1818 net/netfilter/ipvs/ip_vs_core.c &ip_hdr(skb)->saddr, &ip_hdr(skb)->daddr, mtu); saddr 1842 net/netfilter/ipvs/ip_vs_core.c &ip_hdr(skb)->saddr, &ip_hdr(skb)->daddr, saddr 1908 net/netfilter/ipvs/ip_vs_core.c &iph->saddr, &iph->daddr); saddr 483 net/netfilter/ipvs/ip_vs_mh.c hash_addr = ip_vs_iph_inverse(iph) ? &iph->daddr : &iph->saddr; saddr 227 net/netfilter/ipvs/ip_vs_proto.c sprintf(buf, "%pI4->%pI4 frag", &ih->saddr, &ih->daddr); saddr 235 net/netfilter/ipvs/ip_vs_proto.c &ih->saddr, &ih->daddr); saddr 238 net/netfilter/ipvs/ip_vs_proto.c &ih->saddr, ntohs(pptr[0]), saddr 259 net/netfilter/ipvs/ip_vs_proto.c sprintf(buf, "%pI6c->%pI6c frag", &ih->saddr, &ih->daddr); saddr 267 net/netfilter/ipvs/ip_vs_proto.c &ih->saddr, &ih->daddr); saddr 270 net/netfilter/ipvs/ip_vs_proto.c &ih->saddr, ntohs(pptr[0]), saddr 46 net/netfilter/ipvs/ip_vs_proto_ah_esp.c &iph->saddr, htons(PORT_ISAKMP), saddr 51 net/netfilter/ipvs/ip_vs_proto_ah_esp.c &iph->saddr, htons(PORT_ISAKMP), p); saddr 72 net/netfilter/ipvs/ip_vs_proto_ah_esp.c IP_VS_DBG_ADDR(af, &iph->saddr), saddr 94 net/netfilter/ipvs/ip_vs_proto_ah_esp.c IP_VS_DBG_ADDR(af, &iph->saddr), saddr 54 net/netfilter/ipvs/ip_vs_proto_sctp.c &iph->saddr, ports[0]); saddr 72 net/netfilter/ipvs/ip_vs_proto_tcp.c &iph->saddr, ports[0]); saddr 322 net/netfilter/ipvs/ip_vs_proto_tcp.c if (csum_ipv6_magic(&ipv6_hdr(skb)->saddr, saddr 333 net/netfilter/ipvs/ip_vs_proto_tcp.c if (csum_tcpudp_magic(ip_hdr(skb)->saddr, saddr 60 net/netfilter/ipvs/ip_vs_proto_udp.c &iph->saddr, ports[0]); saddr 325 net/netfilter/ipvs/ip_vs_proto_udp.c if (csum_ipv6_magic(&ipv6_hdr(skb)->saddr, saddr 336 net/netfilter/ipvs/ip_vs_proto_udp.c if (csum_tcpudp_magic(ip_hdr(skb)->saddr, saddr 317 net/netfilter/ipvs/ip_vs_sh.c hash_addr = ip_vs_iph_inverse(iph) ? &iph->daddr : &iph->saddr; saddr 124 net/netfilter/ipvs/ip_vs_xmit.c int rt_mode, __be32 *saddr) saddr 139 net/netfilter/ipvs/ip_vs_xmit.c if (PTR_ERR(rt) == -EINVAL && *saddr && saddr 141 net/netfilter/ipvs/ip_vs_xmit.c *saddr = 0; saddr 147 net/netfilter/ipvs/ip_vs_xmit.c } else if (!*saddr && rt_mode & IP_VS_RT_MODE_CONNECT && fl4.saddr) { saddr 149 net/netfilter/ipvs/ip_vs_xmit.c *saddr = fl4.saddr; saddr 150 net/netfilter/ipvs/ip_vs_xmit.c flowi4_update_output(&fl4, 0, 0, daddr, fl4.saddr); saddr 154 net/netfilter/ipvs/ip_vs_xmit.c *saddr = fl4.saddr; saddr 177 net/netfilter/ipvs/ip_vs_xmit.c int addr_type = ipv6_addr_type(&ipv6_hdr(skb)->saddr); saddr 187 net/netfilter/ipvs/ip_vs_xmit.c source_is_loopback = ipv4_is_loopback(ip_hdr(skb)->saddr); saddr 230 net/netfilter/ipvs/ip_vs_xmit.c &ipv6_hdr(skb)->saddr); saddr 248 net/netfilter/ipvs/ip_vs_xmit.c &ip_hdr(skb)->saddr); saddr 347 net/netfilter/ipvs/ip_vs_xmit.c __be32 saddr = htonl(INADDR_ANY); saddr 355 net/netfilter/ipvs/ip_vs_xmit.c rt = do_output_route4(net, daddr, rt_mode, &saddr); saddr 359 net/netfilter/ipvs/ip_vs_xmit.c *ret_saddr = saddr; saddr 448 net/netfilter/ipvs/ip_vs_xmit.c if (ipv6_addr_any(&fl6.saddr) && saddr 450 net/netfilter/ipvs/ip_vs_xmit.c &fl6.daddr, 0, &fl6.saddr) < 0) saddr 459 net/netfilter/ipvs/ip_vs_xmit.c *ret_saddr = fl6.saddr; saddr 1139 net/netfilter/ipvs/ip_vs_xmit.c __be32 saddr; /* Source for tunnel */ saddr 1158 net/netfilter/ipvs/ip_vs_xmit.c IP_VS_RT_MODE_TUNNEL, &saddr, ipvsh); saddr 1239 net/netfilter/ipvs/ip_vs_xmit.c udp_set_csum(!check, skb, saddr, cp->daddr.ip, skb->len); saddr 1257 net/netfilter/ipvs/ip_vs_xmit.c iph->saddr = saddr; saddr 1289 net/netfilter/ipvs/ip_vs_xmit.c struct in6_addr saddr; /* Source for tunnel */ saddr 1305 net/netfilter/ipvs/ip_vs_xmit.c &saddr, ipvsh, 1, saddr 1387 net/netfilter/ipvs/ip_vs_xmit.c udp6_set_csum(!check, skb, &saddr, &cp->daddr.in6, skb->len); saddr 1405 net/netfilter/ipvs/ip_vs_xmit.c iph->saddr = saddr; saddr 257 net/netfilter/nf_conntrack_core.c nhoff += offsetof(struct iphdr, saddr); saddr 261 net/netfilter/nf_conntrack_core.c nhoff += offsetof(struct ipv6hdr, saddr); saddr 298 net/netfilter/nf_conntrack_expect.c const union nf_inet_addr *saddr, saddr 316 net/netfilter/nf_conntrack_expect.c if (saddr) { saddr 317 net/netfilter/nf_conntrack_expect.c memcpy(&exp->tuple.src.u3, saddr, len); saddr 163 net/netfilter/nf_conntrack_irc.c &iph->saddr, ntohs(th->source), saddr 858 net/netfilter/nf_conntrack_sip.c union nf_inet_addr *saddr; saddr 865 net/netfilter/nf_conntrack_sip.c saddr = NULL; saddr 869 net/netfilter/nf_conntrack_sip.c saddr = &ct->tuplehash[!dir].tuple.src.u3; saddr 916 net/netfilter/nf_conntrack_sip.c if (saddr) saddr 917 net/netfilter/nf_conntrack_sip.c tuple.src.u3 = *saddr; saddr 962 net/netfilter/nf_conntrack_sip.c nf_ct_expect_init(rtp_exp, class, nf_ct_l3num(ct), saddr, daddr, saddr 968 net/netfilter/nf_conntrack_sip.c nf_ct_expect_init(rtcp_exp, class, nf_ct_l3num(ct), saddr, daddr, saddr 1230 net/netfilter/nf_conntrack_sip.c union nf_inet_addr *saddr, daddr; saddr 1288 net/netfilter/nf_conntrack_sip.c saddr = NULL; saddr 1290 net/netfilter/nf_conntrack_sip.c saddr = &ct->tuplehash[!dir].tuple.src.u3; saddr 1293 net/netfilter/nf_conntrack_sip.c saddr, &daddr, proto, NULL, &port); saddr 100 net/netfilter/nf_flow_table_ip.c addr = iph->saddr; saddr 102 net/netfilter/nf_flow_table_ip.c iph->saddr = new_addr; saddr 130 net/netfilter/nf_flow_table_ip.c addr = iph->saddr; saddr 132 net/netfilter/nf_flow_table_ip.c iph->saddr = new_addr; saddr 195 net/netfilter/nf_flow_table_ip.c tuple->src_v4.s_addr = iph->saddr; saddr 370 net/netfilter/nf_flow_table_ip.c addr = ip6h->saddr; saddr 372 net/netfilter/nf_flow_table_ip.c ip6h->saddr = new_addr; saddr 400 net/netfilter/nf_flow_table_ip.c addr = ip6h->saddr; saddr 402 net/netfilter/nf_flow_table_ip.c ip6h->saddr = new_addr; saddr 456 net/netfilter/nf_flow_table_ip.c tuple->src_v6 = ip6h->saddr; saddr 77 net/netfilter/nf_nat_core.c fl4->saddr = t->src.u3.ip; saddr 110 net/netfilter/nf_nat_core.c fl6->saddr = t->src.u3.in6; saddr 144 net/netfilter/nf_nat_masquerade.c struct in6_addr *saddr) saddr 152 net/netfilter/nf_nat_masquerade.c return v6_ops->dev_get_saddr(net, dev, daddr, srcprefs, saddr); saddr 154 net/netfilter/nf_nat_masquerade.c return ipv6_dev_get_saddr(net, dev, daddr, srcprefs, saddr); saddr 372 net/netfilter/nf_nat_proto.c csum_replace4(&iph->check, iph->saddr, target->src.u3.ip); saddr 373 net/netfilter/nf_nat_proto.c iph->saddr = target->src.u3.ip; saddr 411 net/netfilter/nf_nat_proto.c ipv6h->saddr = target->src.u3.in6; saddr 454 net/netfilter/nf_nat_proto.c oldip = iph->saddr; saddr 473 net/netfilter/nf_nat_proto.c oldip = &ipv6h->saddr; saddr 510 net/netfilter/nf_nat_proto.c *check = ~csum_tcpudp_magic(iph->saddr, iph->daddr, datalen, saddr 530 net/netfilter/nf_nat_proto.c *check = ~csum_ipv6_magic(&ipv6h->saddr, &ipv6h->daddr, saddr 833 net/netfilter/nf_nat_proto.c csum_ipv6_magic(&ipv6h->saddr, &ipv6h->daddr, saddr 139 net/netfilter/nf_queue.c rt_info->saddr = iph->saddr; saddr 153 net/netfilter/nf_queue.c rt_info->saddr = iph->saddr; saddr 414 net/netfilter/nf_synproxy_core.c synproxy_build_ip(struct net *net, struct sk_buff *skb, __be32 saddr, saddr 429 net/netfilter/nf_synproxy_core.c iph->saddr = saddr; saddr 442 net/netfilter/nf_synproxy_core.c nth->check = ~tcp_v4_check(tcp_hdr_size, niph->saddr, niph->daddr, 0); saddr 484 net/netfilter/nf_synproxy_core.c niph = synproxy_build_ip(net, nskb, iph->daddr, iph->saddr); saddr 527 net/netfilter/nf_synproxy_core.c niph = synproxy_build_ip(net, nskb, iph->saddr, iph->daddr); saddr 572 net/netfilter/nf_synproxy_core.c niph = synproxy_build_ip(net, nskb, iph->daddr, iph->saddr); saddr 610 net/netfilter/nf_synproxy_core.c niph = synproxy_build_ip(net, nskb, iph->saddr, iph->daddr); saddr 814 net/netfilter/nf_synproxy_core.c const struct in6_addr *saddr, saddr 824 net/netfilter/nf_synproxy_core.c iph->saddr = *saddr; saddr 841 net/netfilter/nf_synproxy_core.c nth->check = ~tcp_v6_check(tcp_hdr_size, &niph->saddr, &niph->daddr, 0); saddr 848 net/netfilter/nf_synproxy_core.c fl6.saddr = niph->saddr; saddr 898 net/netfilter/nf_synproxy_core.c niph = synproxy_build_ip_ipv6(net, nskb, &iph->daddr, &iph->saddr); saddr 942 net/netfilter/nf_synproxy_core.c niph = synproxy_build_ip_ipv6(net, nskb, &iph->saddr, &iph->daddr); saddr 987 net/netfilter/nf_synproxy_core.c niph = synproxy_build_ip_ipv6(net, nskb, &iph->daddr, &iph->saddr); saddr 1026 net/netfilter/nf_synproxy_core.c niph = synproxy_build_ip_ipv6(net, nskb, &iph->saddr, &iph->daddr); saddr 47 net/netfilter/nfnetlink_osf.c if (inet_ifa_match(ip->saddr, ifa)) { saddr 237 net/netfilter/nfnetlink_osf.c &ip->saddr, ntohs(tcp->source), saddr 249 net/netfilter/nfnetlink_osf.c &ip->saddr, ntohs(tcp->source), saddr 22 net/netfilter/nft_chain_route.c __be32 saddr, daddr; saddr 33 net/netfilter/nft_chain_route.c saddr = iph->saddr; saddr 41 net/netfilter/nft_chain_route.c if (iph->saddr != saddr || saddr 69 net/netfilter/nft_chain_route.c struct in6_addr saddr, daddr; saddr 80 net/netfilter/nft_chain_route.c memcpy(&saddr, &ipv6_hdr(skb)->saddr, sizeof(saddr)); saddr 90 net/netfilter/nft_chain_route.c (memcmp(&ipv6_hdr(skb)->saddr, &saddr, sizeof(saddr)) || saddr 39 net/netfilter/nft_log.c &ih->saddr, &ih->daddr, ih->protocol); saddr 59 net/netfilter/nft_log.c &ih->saddr, &ih->daddr, nexthdr); saddr 192 net/netfilter/nft_payload.c case offsetof(struct iphdr, saddr): saddr 228 net/netfilter/nft_payload.c case offsetof(struct ipv6hdr, saddr): saddr 32 net/netfilter/nft_rt.c fl.u.ip4.daddr = ip_hdr(skb)->saddr; saddr 36 net/netfilter/nft_rt.c fl.u.ip6.daddr = ipv6_hdr(skb)->saddr; saddr 44 net/netfilter/nft_tproxy.c iph->saddr, iph->daddr, saddr 66 net/netfilter/nft_tproxy.c iph->saddr, taddr, saddr 111 net/netfilter/nft_tproxy.c &iph->saddr, &iph->daddr, saddr 137 net/netfilter/nft_tproxy.c l4proto, &iph->saddr, &taddr, saddr 142 net/netfilter/nft_xfrm.c *dest = state->props.saddr.a4; saddr 145 net/netfilter/nft_xfrm.c memcpy(dest, &state->props.saddr.in6, sizeof(struct in6_addr)); saddr 22 net/netfilter/utils.c !csum_tcpudp_magic(iph->saddr, iph->daddr, saddr 33 net/netfilter/utils.c skb->csum = csum_tcpudp_nofold(iph->saddr, iph->daddr, saddr 56 net/netfilter/utils.c skb->csum = csum_tcpudp_nofold(iph->saddr, iph->daddr, protocol, saddr 74 net/netfilter/utils.c if (!csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, saddr 85 net/netfilter/utils.c csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, saddr 112 net/netfilter/utils.c skb->csum = ~csum_unfold(csum_ipv6_magic(&ip6h->saddr, saddr 193 net/netfilter/utils.c iph->saddr == rt_info->saddr)) saddr 41 net/netfilter/xt_AUDIT.c &ih->saddr, &ih->daddr, ih->protocol); saddr 61 net/netfilter/xt_AUDIT.c &ih->saddr, &ih->daddr, nexthdr); saddr 193 net/netfilter/xt_HMARK.c t->src = hmark_addr6_mask(ip6->saddr.s6_addr32, info->src_mask.ip6); saddr 270 net/netfilter/xt_HMARK.c t->src = ip->saddr & info->src_mask.ip; saddr 37 net/netfilter/xt_NETMAP.c new_addr.in6 = ipv6_hdr(skb)->saddr; saddr 89 net/netfilter/xt_NETMAP.c new_ip = ip_hdr(skb)->saddr & ~netmask; saddr 54 net/netfilter/xt_TCPMSS.c fl4->daddr = ip_hdr(skb)->saddr; saddr 59 net/netfilter/xt_TCPMSS.c fl6->daddr = ipv6_hdr(skb)->saddr; saddr 52 net/netfilter/xt_TPROXY.c iph->saddr, iph->daddr, saddr 68 net/netfilter/xt_TPROXY.c iph->saddr, laddr, saddr 87 net/netfilter/xt_TPROXY.c iph->protocol, &iph->saddr, ntohs(hp->source), saddr 141 net/netfilter/xt_TPROXY.c &iph->saddr, &iph->daddr, saddr 162 net/netfilter/xt_TPROXY.c tproto, &iph->saddr, laddr, saddr 173 net/netfilter/xt_TPROXY.c tproto, &iph->saddr, ntohs(hp->source), saddr 181 net/netfilter/xt_TPROXY.c tproto, &iph->saddr, ntohs(hp->source), saddr 95 net/netfilter/xt_addrtype.c ret &= match_type6(net, dev, &iph->saddr, info->source) ^ saddr 119 net/netfilter/xt_addrtype.c ret &= match_type(net, NULL, iph->saddr, info->source) ^ saddr 148 net/netfilter/xt_addrtype.c ret &= match_type(net, dev, iph->saddr, info->source) ^ saddr 57 net/netfilter/xt_connlimit.c &iph->daddr : &iph->saddr, sizeof(addr.ip6)); saddr 66 net/netfilter/xt_connlimit.c iph->daddr : iph->saddr; saddr 653 net/netfilter/xt_hashlimit.c dst->ip.src = maskl(ip_hdr(skb)->saddr, saddr 672 net/netfilter/xt_hashlimit.c memcpy(&dst->ip6.src, &ipv6_hdr(skb)->saddr, saddr 24 net/netfilter/xt_iprange.c m = ntohl(iph->saddr) < ntohl(info->src_min.ip); saddr 25 net/netfilter/xt_iprange.c m |= ntohl(iph->saddr) > ntohl(info->src_max.ip); saddr 29 net/netfilter/xt_iprange.c &iph->saddr, saddr 73 net/netfilter/xt_iprange.c m = iprange_ipv6_lt(&iph->saddr, &info->src_min.in6); saddr 74 net/netfilter/xt_iprange.c m |= iprange_ipv6_lt(&info->src_max.in6, &iph->saddr); saddr 78 net/netfilter/xt_iprange.c &iph->saddr, saddr 43 net/netfilter/xt_policy.c return MATCH_ADDR(saddr, smask, &x->props.saddr) && saddr 250 net/netfilter/xt_recent.c addr.ip = iph->saddr; saddr 259 net/netfilter/xt_recent.c memcpy(&addr.in6, &iph->saddr, sizeof(addr.in6)); saddr 1479 net/netlabel/netlabel_unlabeled.c addr4 = netlbl_af4list_search(hdr4->saddr, saddr 1492 net/netlabel/netlabel_unlabeled.c addr6 = netlbl_af6list_search(&hdr6->saddr, saddr 67 net/netrom/nr_dev.c const void *daddr, const void *saddr, unsigned int len) saddr 71 net/netrom/nr_dev.c memcpy(buff, (saddr != NULL) ? saddr : dev->dev_addr, dev->addr_len); saddr 464 net/openvswitch/actions.c new_addr = OVS_MASKED(nh->saddr, key->ipv4_src, mask->ipv4_src); saddr 466 net/openvswitch/actions.c if (unlikely(new_addr != nh->saddr)) { saddr 467 net/openvswitch/actions.c set_ip_addr(skb, nh, &nh->saddr, new_addr); saddr 515 net/openvswitch/actions.c __be32 *saddr = (__be32 *)&nh->saddr; saddr 518 net/openvswitch/actions.c mask_ipv6_addr(saddr, key->ipv6_src, mask->ipv6_src, masked); saddr 520 net/openvswitch/actions.c if (unlikely(memcmp(saddr, masked, sizeof(masked)))) { saddr 521 net/openvswitch/actions.c set_ipv6_addr(skb, flow_key->ip.proto, saddr, masked, saddr 823 net/openvswitch/conntrack.c key->ipv4.addr.src = ip_hdr(skb)->saddr; saddr 825 net/openvswitch/conntrack.c memcpy(&key->ipv6.addr.src, &ipv6_hdr(skb)->saddr, saddr 261 net/openvswitch/flow.c key->ipv6.addr.src = nh->saddr; saddr 553 net/openvswitch/flow.c key->ipv4.addr.src = nh->saddr; saddr 1879 net/packet/af_packet.c DECLARE_SOCKADDR(struct sockaddr_pkt *, saddr, msg->msg_name); saddr 1891 net/packet/af_packet.c if (saddr) { saddr 1895 net/packet/af_packet.c proto = saddr->spkt_protocol; saddr 1903 net/packet/af_packet.c saddr->spkt_device[sizeof(saddr->spkt_device) - 1] = 0; saddr 1906 net/packet/af_packet.c dev = dev_get_by_name_rcu(sock_net(sk), saddr->spkt_device); saddr 2628 net/packet/af_packet.c DECLARE_SOCKADDR(struct sockaddr_ll *, saddr, msg->msg_name); saddr 2647 net/packet/af_packet.c if (likely(saddr == NULL)) { saddr 2654 net/packet/af_packet.c if (msg->msg_namelen < (saddr->sll_halen saddr 2658 net/packet/af_packet.c proto = saddr->sll_protocol; saddr 2659 net/packet/af_packet.c dev = dev_get_by_index(sock_net(&po->sk), saddr->sll_ifindex); saddr 2664 net/packet/af_packet.c addr = saddr->sll_addr; saddr 2842 net/packet/af_packet.c DECLARE_SOCKADDR(struct sockaddr_ll *, saddr, msg->msg_name); saddr 2860 net/packet/af_packet.c if (likely(saddr == NULL)) { saddr 2867 net/packet/af_packet.c if (msg->msg_namelen < (saddr->sll_halen + offsetof(struct sockaddr_ll, sll_addr))) saddr 2869 net/packet/af_packet.c proto = saddr->sll_protocol; saddr 2870 net/packet/af_packet.c dev = dev_get_by_index(sock_net(sk), saddr->sll_ifindex); saddr 2875 net/packet/af_packet.c addr = saddr->sll_addr; saddr 119 net/phonet/af_phonet.c const void *saddr, unsigned int len) saddr 126 net/phonet/af_phonet.c if (!saddr) saddr 127 net/phonet/af_phonet.c saddr = dev->dev_addr; saddr 128 net/phonet/af_phonet.c *media = *(const u8 *)saddr; saddr 232 net/phonet/af_phonet.c u8 daddr, saddr, res; saddr 265 net/phonet/af_phonet.c saddr = phonet_address_get(dev, daddr); saddr 266 net/phonet/af_phonet.c if (saddr == PN_NO_ADDR) saddr 270 net/phonet/af_phonet.c src = pn_object(saddr, pn_obj(src)); saddr 179 net/phonet/pn_dev.c u8 saddr; saddr 188 net/phonet/pn_dev.c saddr = daddr; saddr 190 net/phonet/pn_dev.c saddr = find_first_bit(pnd->addrs, 64) << 2; saddr 192 net/phonet/pn_dev.c saddr = PN_NO_ADDR; saddr 195 net/phonet/pn_dev.c if (saddr == PN_NO_ADDR) { saddr 202 net/phonet/pn_dev.c saddr = phonet_address_get(def_dev, daddr); saddr 206 net/phonet/pn_dev.c return saddr; saddr 163 net/phonet/socket.c u8 saddr; saddr 174 net/phonet/socket.c saddr = pn_addr(handle); saddr 175 net/phonet/socket.c if (saddr && phonet_address_lookup(sock_net(sk), saddr)) saddr 190 net/phonet/socket.c pn->sobject = pn_object(saddr, pn_port(pn->sobject)); saddr 365 net/phonet/socket.c u8 saddr; saddr 377 net/phonet/socket.c saddr = phonet_address_get(dev, pn_addr(handle)); saddr 379 net/phonet/socket.c saddr = PN_NO_ADDR; saddr 384 net/phonet/socket.c if (saddr == PN_NO_ADDR) saddr 387 net/phonet/socket.c handle = pn_object(saddr, pn_port(pn->sobject)); saddr 648 net/qrtr/qrtr.c static int qrtr_bind(struct socket *sock, struct sockaddr *saddr, int len) saddr 650 net/qrtr/qrtr.c DECLARE_SOCKADDR(struct sockaddr_qrtr *, addr, saddr); saddr 869 net/qrtr/qrtr.c static int qrtr_connect(struct socket *sock, struct sockaddr *saddr, saddr 872 net/qrtr/qrtr.c DECLARE_SOCKADDR(struct sockaddr_qrtr *, addr, saddr); saddr 900 net/qrtr/qrtr.c static int qrtr_getname(struct socket *sock, struct sockaddr *saddr, saddr 922 net/qrtr/qrtr.c memcpy(saddr, &qaddr, sizeof(qaddr)); saddr 511 net/rds/connection.c void *saddr, void *daddr, int flip, bool isv6) saddr 515 net/rds/connection.c rds6_inc_info_copy(inc, iter, saddr, daddr, flip); saddr 518 net/rds/connection.c rds_inc_info_copy(inc, iter, *(__be32 *)saddr, saddr 890 net/rds/rds.h struct in6_addr *saddr); saddr 892 net/rds/rds.h struct in6_addr *saddr); saddr 894 net/rds/rds.h void rds_recv_incoming(struct rds_connection *conn, struct in6_addr *saddr, saddr 903 net/rds/rds.h __be32 saddr, __be32 daddr, int flip); saddr 906 net/rds/rds.h struct in6_addr *saddr, struct in6_addr *daddr, saddr 44 net/rds/recv.c struct in6_addr *saddr) saddr 49 net/rds/recv.c inc->i_saddr = *saddr; saddr 58 net/rds/recv.c struct in6_addr *saddr) saddr 64 net/rds/recv.c inc->i_saddr = *saddr; saddr 282 net/rds/recv.c void rds_recv_incoming(struct rds_connection *conn, struct in6_addr *saddr, saddr 339 net/rds/recv.c saddr); saddr 781 net/rds/recv.c __be32 saddr, __be32 daddr, int flip) saddr 791 net/rds/recv.c minfo.faddr = saddr; saddr 795 net/rds/recv.c minfo.laddr = saddr; saddr 809 net/rds/recv.c struct in6_addr *saddr, struct in6_addr *daddr, saddr 820 net/rds/recv.c minfo6.faddr = *saddr; saddr 824 net/rds/recv.c minfo6.laddr = *saddr; saddr 136 net/rds/tcp_listen.c struct in6_addr saddr, daddr; saddr 175 net/rds/tcp_listen.c ipv6_addr_set_v4mapped(inet->inet_saddr, &saddr); saddr 177 net/rds/tcp_listen.c my_addr = &saddr; saddr 37 net/rose/rose_dev.c const void *daddr, const void *saddr, unsigned int len) saddr 129 net/rxrpc/af_rxrpc.c static int rxrpc_bind(struct socket *sock, struct sockaddr *saddr, int len) saddr 131 net/rxrpc/af_rxrpc.c struct sockaddr_rxrpc *srx = (struct sockaddr_rxrpc *)saddr; saddr 137 net/rxrpc/af_rxrpc.c _enter("%p,%p,%d", rx, saddr, len); saddr 63 net/rxrpc/peer_event.c memcpy(&srx->transport.sin.sin_addr, &ip_hdr(skb)->saddr, saddr 90 net/rxrpc/peer_event.c &ipv6_hdr(skb)->saddr, saddr 26 net/rxrpc/utils.c srx->transport.sin.sin_addr.s_addr = ip_hdr(skb)->saddr; saddr 35 net/rxrpc/utils.c srx->transport.sin6.sin6_addr = ipv6_hdr(skb)->saddr; saddr 198 net/sched/act_csum.c icmp6h->icmp6_cksum = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, saddr 224 net/sched/act_csum.c iph->saddr, iph->daddr, skb->csum); saddr 247 net/sched/act_csum.c tcph->check = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, saddr 298 net/sched/act_csum.c udph->check = csum_tcpudp_magic(iph->saddr, iph->daddr, saddr 354 net/sched/act_csum.c udph->check = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, ul, saddr 479 net/sched/act_ife.c u8 *saddr = NULL; saddr 554 net/sched/act_ife.c saddr = nla_data(tb[TCA_IFE_SMAC]); saddr 563 net/sched/act_ife.c if (saddr) saddr 564 net/sched/act_ife.c ether_addr_copy(p->eth_src, saddr); saddr 142 net/sched/act_nat.c addr = iph->saddr; saddr 156 net/sched/act_nat.c iph->saddr = new_addr; saddr 223 net/sched/act_nat.c addr = iph->saddr; saddr 242 net/sched/act_nat.c iph->saddr = new_addr; saddr 94 net/sched/act_skbmod.c u8 *saddr = NULL; saddr 115 net/sched/act_skbmod.c saddr = nla_data(tb[TCA_SKBMOD_SMAC]); saddr 180 net/sched/act_skbmod.c ether_addr_copy(p->eth_src, saddr); saddr 299 net/sched/act_tunnel_key.c __be32 saddr; saddr 302 net/sched/act_tunnel_key.c saddr = nla_get_in_addr(tb[TCA_TUNNEL_KEY_ENC_IPV4_SRC]); saddr 305 net/sched/act_tunnel_key.c metadata = __ip_tun_set_dst(saddr, daddr, tos, ttl, saddr 310 net/sched/act_tunnel_key.c struct in6_addr saddr; saddr 313 net/sched/act_tunnel_key.c saddr = nla_get_in6_addr(tb[TCA_TUNNEL_KEY_ENC_IPV6_SRC]); saddr 316 net/sched/act_tunnel_key.c metadata = __ipv6_tun_set_dst(&saddr, &daddr, tos, ttl, dst_port, saddr 490 net/sched/act_tunnel_key.c __be32 saddr = info->key.u.ipv4.src; saddr 493 net/sched/act_tunnel_key.c if (!nla_put_in_addr(skb, TCA_TUNNEL_KEY_ENC_IPV4_SRC, saddr) && saddr 154 net/sched/cls_rsvp.h src = &nhptr->saddr.s6_addr32[0]; saddr 159 net/sched/cls_rsvp.h src = &nhptr->saddr; saddr 1168 net/sched/sch_cake.c if (iph_check->saddr != iph->saddr || saddr 1178 net/sched/sch_cake.c if (ipv6_addr_cmp(&ipv6h_check->saddr, &ipv6h->saddr) || saddr 477 net/sctp/input.c union sctp_addr saddr; saddr 493 net/sctp/input.c af->from_skb(&saddr, skb, 1); saddr 499 net/sctp/input.c asoc = __sctp_lookup_association(net, &saddr, &daddr, &transport); saddr 63 net/sctp/ipv6.c static void sctp_v6_to_addr(union sctp_addr *addr, struct in6_addr *saddr, saddr 203 net/sctp/ipv6.c skb->len, &fl6->saddr, &fl6->daddr); saddr 226 net/sctp/ipv6.c static void sctp_v6_get_dst(struct sctp_transport *t, union sctp_addr *saddr, saddr 267 net/sctp/ipv6.c if (saddr) { saddr 268 net/sctp/ipv6.c fl6->saddr = saddr->v6.sin6_addr; saddr 270 net/sctp/ipv6.c fl6->fl6_sport = saddr->v6.sin6_port; saddr 272 net/sctp/ipv6.c pr_debug("src=%pI6 - ", &fl6->saddr); saddr 280 net/sctp/ipv6.c if (!asoc || saddr) { saddr 295 net/sctp/ipv6.c sctp_v6_to_addr(&dst_saddr, &fl6->saddr, htons(bp->port)); saddr 334 net/sctp/ipv6.c fl6->saddr = laddr->a.v6.sin6_addr; saddr 375 net/sctp/ipv6.c &fl->u.ip6.saddr); saddr 399 net/sctp/ipv6.c union sctp_addr *saddr = &t->saddr; saddr 404 net/sctp/ipv6.c saddr->v6.sin6_family = AF_INET6; saddr 405 net/sctp/ipv6.c saddr->v6.sin6_addr = fl6->saddr; saddr 490 net/sctp/ipv6.c sa->sin6_addr = ipv6_hdr(skb)->saddr; saddr 560 net/sctp/ipv6.c static void sctp_v6_to_addr(union sctp_addr *addr, struct in6_addr *saddr, saddr 566 net/sctp/ipv6.c addr->v6.sin6_addr = *saddr; saddr 853 net/sctp/ipv6.c addr->v4.sin_addr.s_addr = ip_hdr(skb)->saddr; saddr 858 net/sctp/ipv6.c addr->v6.sin6_addr = ipv6_hdr(skb)->saddr; saddr 45 net/sctp/outqueue.c union sctp_addr *saddr, saddr 1402 net/sctp/outqueue.c union sctp_addr *saddr, saddr 1606 net/sctp/outqueue.c sctp_cmp_addr_exact(&transport->ipaddr, saddr)) { saddr 94 net/sctp/proc.c primary = &peer->saddr; saddr 225 net/sctp/protocol.c sa->sin_addr.s_addr = ip_hdr(skb)->saddr; saddr 281 net/sctp/protocol.c static void sctp_v4_dst_saddr(union sctp_addr *saddr, struct flowi4 *fl4, saddr 284 net/sctp/protocol.c saddr->v4.sin_family = AF_INET; saddr 285 net/sctp/protocol.c saddr->v4.sin_port = port; saddr 286 net/sctp/protocol.c saddr->v4.sin_addr.s_addr = fl4->saddr; saddr 287 net/sctp/protocol.c memset(saddr->v4.sin_zero, 0, sizeof(saddr->v4.sin_zero)); saddr 407 net/sctp/protocol.c static void sctp_v4_get_dst(struct sctp_transport *t, union sctp_addr *saddr, saddr 432 net/sctp/protocol.c if (saddr) { saddr 433 net/sctp/protocol.c fl4->saddr = saddr->v4.sin_addr.s_addr; saddr 435 net/sctp/protocol.c fl4->fl4_sport = saddr->v4.sin_port; saddr 439 net/sctp/protocol.c &fl4->saddr); saddr 451 net/sctp/protocol.c if (!asoc || saddr) saddr 531 net/sctp/protocol.c &fl->u.ip4.daddr, &fl->u.ip4.saddr); saddr 545 net/sctp/protocol.c union sctp_addr *saddr = &t->saddr; saddr 549 net/sctp/protocol.c saddr->v4.sin_family = AF_INET; saddr 550 net/sctp/protocol.c saddr->v4.sin_addr.s_addr = fl->u.ip4.saddr; saddr 918 net/sctp/protocol.c sin->sin_addr.s_addr = ip_hdr(skb)->saddr; saddr 980 net/sctp/protocol.c skb->len, &transport->fl.u.ip4.saddr, saddr 3316 net/sctp/sm_make_chunk.c struct sctp_sockaddr_entry *saddr; saddr 3333 net/sctp/sm_make_chunk.c list_for_each_entry(saddr, &bp->address_list, list) { saddr 3334 net/sctp/sm_make_chunk.c if (sctp_cmp_addr_exact(&saddr->a, &addr)) saddr 3335 net/sctp/sm_make_chunk.c saddr->state = SCTP_ADDR_SRC; saddr 754 net/sctp/socket.c struct sctp_sockaddr_entry *saddr; saddr 866 net/sctp/socket.c list_for_each_entry(saddr, &bp->address_list, list) { saddr 867 net/sctp/socket.c if (sctp_cmp_addr_exact(&saddr->a, laddr)) saddr 868 net/sctp/socket.c saddr->state = SCTP_ADDR_DEL; saddr 48 net/sctp/transport.c memset(&peer->saddr, 0, sizeof(union sctp_addr)); saddr 227 net/sctp/transport.c transport->af_specific->get_dst(transport, &transport->saddr, saddr 273 net/sctp/transport.c t->af_specific->get_dst(t, &t->saddr, &t->fl, sk); saddr 291 net/sctp/transport.c union sctp_addr *saddr, struct sctp_sock *opt) saddr 297 net/sctp/transport.c af->get_dst(transport, saddr, &transport->fl, sctp_opt2sk(opt)); saddr 299 net/sctp/transport.c if (saddr) saddr 300 net/sctp/transport.c memcpy(&transport->saddr, saddr, sizeof(union sctp_addr)); saddr 311 net/sctp/transport.c opt->pf->to_sk_saddr(&transport->saddr, asoc->base.sk); saddr 499 net/tipc/topsrv.c struct sockaddr_tipc saddr; saddr 519 net/tipc/topsrv.c saddr.family = AF_TIPC; saddr 520 net/tipc/topsrv.c saddr.addrtype = TIPC_ADDR_NAMESEQ; saddr 521 net/tipc/topsrv.c saddr.addr.nameseq.type = TIPC_TOP_SRV; saddr 522 net/tipc/topsrv.c saddr.addr.nameseq.lower = TIPC_TOP_SRV; saddr 523 net/tipc/topsrv.c saddr.addr.nameseq.upper = TIPC_TOP_SRV; saddr 524 net/tipc/topsrv.c saddr.scope = TIPC_NODE_SCOPE; saddr 526 net/tipc/topsrv.c rc = kernel_bind(lsock, (struct sockaddr *)&saddr, sizeof(saddr)); saddr 175 net/tipc/udp_media.c .saddr = src->ipv4.s_addr, saddr 184 net/tipc/udp_media.c dst_cache_set_ip4(cache, &rt->dst, fl.saddr); saddr 197 net/tipc/udp_media.c .saddr = src->ipv6, saddr 207 net/tipc/udp_media.c dst_cache_set_ip6(cache, ndst, &fl6.saddr); saddr 339 net/tipc/udp_media.c src.ipv4.s_addr = iphdr->saddr; saddr 347 net/tipc/udp_media.c src.ipv6 = iphdr->saddr; saddr 186 net/tls/tls_device_fallback.c th->check = ~csum_ipv6_magic(&ipv6h->saddr, &ipv6h->daddr, saddr 190 net/tls/tls_device_fallback.c th->check = ~csum_tcpudp_magic(iph->saddr, iph->daddr, datalen, saddr 197 net/xfrm/xfrm_device.c xfrm_address_t *saddr; saddr 210 net/xfrm/xfrm_device.c saddr = &x->props.saddr; saddr 213 net/xfrm/xfrm_device.c saddr = &x->id.daddr; saddr 214 net/xfrm/xfrm_device.c daddr = &x->props.saddr; saddr 217 net/xfrm/xfrm_device.c dst = __xfrm_dst_lookup(net, 0, 0, saddr, daddr, saddr 20 net/xfrm/xfrm_hash.h const xfrm_address_t *saddr) saddr 22 net/xfrm/xfrm_hash.h u32 sum = (__force u32)daddr->a4 + (__force u32)saddr->a4; saddr 27 net/xfrm/xfrm_hash.h const xfrm_address_t *saddr) saddr 29 net/xfrm/xfrm_hash.h return __xfrm6_addr_hash(daddr) ^ __xfrm6_addr_hash(saddr); saddr 45 net/xfrm/xfrm_hash.h const xfrm_address_t *saddr, saddr 50 net/xfrm/xfrm_hash.h ntohl(saddr->a4) & __bits2mask32(sbits), saddr 76 net/xfrm/xfrm_hash.h const xfrm_address_t *saddr, saddr 81 net/xfrm/xfrm_hash.h __xfrm6_pref_hash(saddr, sbits); saddr 85 net/xfrm/xfrm_hash.h const xfrm_address_t *saddr, saddr 92 net/xfrm/xfrm_hash.h h ^= __xfrm4_daddr_saddr_hash(daddr, saddr); saddr 95 net/xfrm/xfrm_hash.h h ^= __xfrm6_daddr_saddr_hash(daddr, saddr); saddr 102 net/xfrm/xfrm_hash.h const xfrm_address_t *saddr, saddr 109 net/xfrm/xfrm_hash.h h ^= __xfrm4_daddr_saddr_hash(daddr, saddr); saddr 112 net/xfrm/xfrm_hash.h h ^= __xfrm6_daddr_saddr_hash(daddr, saddr); saddr 144 net/xfrm/xfrm_hash.h const xfrm_address_t *saddr = &sel->saddr; saddr 153 net/xfrm/xfrm_hash.h h = __xfrm4_dpref_spref_hash(daddr, saddr, dbits, sbits); saddr 161 net/xfrm/xfrm_hash.h h = __xfrm6_dpref_spref_hash(daddr, saddr, dbits, sbits); saddr 169 net/xfrm/xfrm_hash.h const xfrm_address_t *saddr, saddr 178 net/xfrm/xfrm_hash.h h = __xfrm4_dpref_spref_hash(daddr, saddr, dbits, sbits); saddr 182 net/xfrm/xfrm_hash.h h = __xfrm6_dpref_spref_hash(daddr, saddr, dbits, sbits); saddr 209 net/xfrm/xfrm_input.c iph->saddr = x->sel.saddr.a4; saddr 312 net/xfrm/xfrm_input.c ip6h->saddr = x->sel.saddr.in6; saddr 181 net/xfrm/xfrm_output.c top_iph->saddr = x->props.saddr.a4; saddr 228 net/xfrm/xfrm_output.c top_iph->saddr = x->props.saddr.a4; saddr 266 net/xfrm/xfrm_output.c top_iph->saddr = *(struct in6_addr *)&x->props.saddr; saddr 306 net/xfrm/xfrm_output.c top_iph->saddr = *(struct in6_addr *)&x->props.saddr; saddr 185 net/xfrm/xfrm_policy.c const xfrm_address_t *saddr, saddr 199 net/xfrm/xfrm_policy.c addr4_match(fl4->saddr, sel->saddr.a4, sel->prefixlen_s) && saddr 212 net/xfrm/xfrm_policy.c addr_match(&fl6->saddr, &sel->saddr, sel->prefixlen_s) && saddr 251 net/xfrm/xfrm_policy.c const xfrm_address_t *saddr, saddr 262 net/xfrm/xfrm_policy.c dst = afinfo->dst_lookup(net, tos, oif, saddr, daddr, mark); saddr 277 net/xfrm/xfrm_policy.c xfrm_address_t *saddr = &x->props.saddr; saddr 282 net/xfrm/xfrm_policy.c saddr = x->coaddr; saddr 286 net/xfrm/xfrm_policy.c saddr = prev_saddr; saddr 290 net/xfrm/xfrm_policy.c dst = __xfrm_dst_lookup(net, tos, oif, saddr, daddr, family, mark); saddr 293 net/xfrm/xfrm_policy.c if (prev_saddr != saddr) saddr 294 net/xfrm/xfrm_policy.c memcpy(prev_saddr, saddr, sizeof(*prev_saddr)); saddr 500 net/xfrm/xfrm_policy.c const xfrm_address_t *saddr, saddr 509 net/xfrm/xfrm_policy.c hash = __addr_hash(daddr, saddr, family, hmask, dbits, sbits); saddr 532 net/xfrm/xfrm_policy.c h = __addr_hash(&pol->selector.daddr, &pol->selector.saddr, saddr 756 net/xfrm/xfrm_policy.c addr = &policy->selector.saddr; saddr 868 net/xfrm/xfrm_policy.c matches_s = xfrm_policy_addr_delta(&policy->selector.saddr, saddr 1130 net/xfrm/xfrm_policy.c &policy->selector.saddr, saddr 1153 net/xfrm/xfrm_policy.c if (xfrm_pol_inexact_addr_use_any_list(&policy->selector.saddr, saddr 1161 net/xfrm/xfrm_policy.c &policy->selector.saddr, saddr 1657 net/xfrm/xfrm_policy.c &sel->saddr, saddr 1944 net/xfrm/xfrm_policy.c const xfrm_address_t *saddr, saddr 1961 net/xfrm/xfrm_policy.c n = xfrm_policy_lookup_inexact_addr(&n->root, &b->count, saddr, saddr 1967 net/xfrm/xfrm_policy.c n = xfrm_policy_lookup_inexact_addr(&b->root_s, &b->count, saddr, saddr 2077 net/xfrm/xfrm_policy.c const xfrm_address_t *daddr, *saddr; saddr 2085 net/xfrm/xfrm_policy.c saddr = xfrm_flowi_saddr(fl, family); saddr 2086 net/xfrm/xfrm_policy.c if (unlikely(!daddr || !saddr)) saddr 2093 net/xfrm/xfrm_policy.c chain = policy_hash_direct(net, daddr, saddr, family, dir); saddr 2112 net/xfrm/xfrm_policy.c if (!bin || !xfrm_policy_find_inexact_candidates(&cand, bin, saddr, saddr 2365 net/xfrm/xfrm_policy.c xfrm_address_t *saddr = xfrm_flowi_saddr(fl, family); saddr 2371 net/xfrm/xfrm_policy.c xfrm_address_t *local = saddr; saddr 2377 net/xfrm/xfrm_policy.c local = &tmpl->saddr; saddr 2394 net/xfrm/xfrm_policy.c saddr = local; saddr 2550 net/xfrm/xfrm_policy.c xfrm_address_t saddr, daddr; saddr 2552 net/xfrm/xfrm_policy.c xfrm_flowi_addr_get(fl, &saddr, &daddr, family); saddr 2599 net/xfrm/xfrm_policy.c &saddr, &daddr, family, mark); saddr 3279 net/xfrm/xfrm_policy.c fl4->daddr = reverse ? iph->saddr : iph->daddr; saddr 3280 net/xfrm/xfrm_policy.c fl4->saddr = reverse ? iph->daddr : iph->saddr; saddr 3396 net/xfrm/xfrm_policy.c fl6->daddr = reverse ? hdr->saddr : hdr->daddr; saddr 3397 net/xfrm/xfrm_policy.c fl6->saddr = reverse ? hdr->daddr : hdr->saddr; saddr 4174 net/xfrm/xfrm_policy.c audit_log_format(audit_buf, " src=%pI4", &sel->saddr.a4); saddr 4184 net/xfrm/xfrm_policy.c audit_log_format(audit_buf, " src=%pI6", sel->saddr.a6); saddr 4234 net/xfrm/xfrm_policy.c xfrm_addr_equal(&sel_tgt->saddr, &sel_cmp->saddr, saddr 4256 net/xfrm/xfrm_policy.c chain = policy_hash_direct(net, &sel->daddr, &sel->saddr, sel->family, dir); saddr 4295 net/xfrm/xfrm_policy.c xfrm_addr_equal(&t->saddr, &m->old_saddr, saddr 4338 net/xfrm/xfrm_policy.c memcpy(&pol->xfrm_vec[i].saddr, &mp->new_saddr, saddr 4339 net/xfrm/xfrm_policy.c sizeof(pol->xfrm_vec[i].saddr)); saddr 60 net/xfrm/xfrm_state.c const xfrm_address_t *saddr, saddr 64 net/xfrm/xfrm_state.c return __xfrm_dst_hash(daddr, saddr, reqid, family, net->xfrm.state_hmask); saddr 69 net/xfrm/xfrm_state.c const xfrm_address_t *saddr, saddr 72 net/xfrm/xfrm_state.c return __xfrm_src_hash(daddr, saddr, family, net->xfrm.state_hmask); saddr 94 net/xfrm/xfrm_state.c h = __xfrm_dst_hash(&x->id.daddr, &x->props.saddr, saddr 99 net/xfrm/xfrm_state.c h = __xfrm_src_hash(&x->id.daddr, &x->props.saddr, saddr 857 net/xfrm/xfrm_state.c sel->saddr.a4 = fl4->saddr; saddr 876 net/xfrm/xfrm_state.c *(struct in6_addr *)&sel->saddr = fl6->saddr; saddr 891 net/xfrm/xfrm_state.c const xfrm_address_t *daddr, const xfrm_address_t *saddr, saddr 909 net/xfrm/xfrm_state.c x->props.saddr = tmpl->saddr; saddr 910 net/xfrm/xfrm_state.c if (x->props.saddr.a4 == 0) saddr 911 net/xfrm/xfrm_state.c x->props.saddr.a4 = saddr->a4; saddr 916 net/xfrm/xfrm_state.c memcpy(&x->props.saddr, &tmpl->saddr, sizeof(x->props.saddr)); saddr 917 net/xfrm/xfrm_state.c if (ipv6_addr_any((struct in6_addr *)&x->props.saddr)) saddr 918 net/xfrm/xfrm_state.c memcpy(&x->props.saddr, saddr, sizeof(x->props.saddr)); saddr 954 net/xfrm/xfrm_state.c const xfrm_address_t *saddr, saddr 957 net/xfrm/xfrm_state.c unsigned int h = xfrm_src_hash(net, daddr, saddr, family); saddr 964 net/xfrm/xfrm_state.c !xfrm_addr_equal(&x->props.saddr, saddr, family)) saddr 989 net/xfrm/xfrm_state.c &x->props.saddr, saddr 1039 net/xfrm/xfrm_state.c xfrm_state_find(const xfrm_address_t *daddr, const xfrm_address_t *saddr, saddr 1061 net/xfrm/xfrm_state.c h = xfrm_dst_hash(net, daddr, saddr, tmpl->reqid, encap_family); saddr 1068 net/xfrm/xfrm_state.c xfrm_state_addr_check(x, daddr, saddr, encap_family) && saddr 1121 net/xfrm/xfrm_state.c xfrm_init_tempstate(x, fl, tmpl, daddr, saddr, family); saddr 1138 net/xfrm/xfrm_state.c h = xfrm_src_hash(net, daddr, saddr, encap_family); saddr 1184 net/xfrm/xfrm_state.c xfrm_address_t *daddr, xfrm_address_t *saddr, saddr 1191 net/xfrm/xfrm_state.c h = xfrm_dst_hash(net, daddr, saddr, reqid, family); saddr 1198 net/xfrm/xfrm_state.c xfrm_state_addr_check(x, daddr, saddr, family) && saddr 1245 net/xfrm/xfrm_state.c h = xfrm_dst_hash(net, &x->id.daddr, &x->props.saddr, saddr 1249 net/xfrm/xfrm_state.c h = xfrm_src_hash(net, &x->id.daddr, &x->props.saddr, x->props.family); saddr 1279 net/xfrm/xfrm_state.c h = xfrm_dst_hash(net, &xnew->id.daddr, &xnew->props.saddr, reqid, family); saddr 1286 net/xfrm/xfrm_state.c xfrm_addr_equal(&x->props.saddr, &xnew->props.saddr, family)) saddr 1308 net/xfrm/xfrm_state.c const xfrm_address_t *saddr, saddr 1311 net/xfrm/xfrm_state.c unsigned int h = xfrm_dst_hash(net, daddr, saddr, reqid, family); saddr 1324 net/xfrm/xfrm_state.c !xfrm_addr_equal(&x->props.saddr, saddr, family)) saddr 1339 net/xfrm/xfrm_state.c x->sel.saddr.a4 = saddr->a4; saddr 1342 net/xfrm/xfrm_state.c x->props.saddr.a4 = saddr->a4; saddr 1348 net/xfrm/xfrm_state.c x->sel.saddr.in6 = saddr->in6; saddr 1351 net/xfrm/xfrm_state.c x->props.saddr.in6 = saddr->in6; saddr 1371 net/xfrm/xfrm_state.c h = xfrm_src_hash(net, daddr, saddr, family); saddr 1419 net/xfrm/xfrm_state.c &x->id.daddr, &x->props.saddr, 0); saddr 1456 net/xfrm/xfrm_state.c x->props.saddr = orig->props.saddr; saddr 1553 net/xfrm/xfrm_state.c !xfrm_addr_equal(&x->props.saddr, &m->old_saddr, saddr 1568 net/xfrm/xfrm_state.c !xfrm_addr_equal(&x->props.saddr, &m->old_saddr, saddr 1593 net/xfrm/xfrm_state.c memcpy(&xc->props.saddr, &m->new_saddr, sizeof(xc->props.saddr)); saddr 1742 net/xfrm/xfrm_state.c const xfrm_address_t *daddr, const xfrm_address_t *saddr, saddr 1748 net/xfrm/xfrm_state.c x = __xfrm_state_lookup_byaddr(net, mark, daddr, saddr, proto, family); saddr 1757 net/xfrm/xfrm_state.c const xfrm_address_t *saddr, int create, unsigned short family) saddr 1762 net/xfrm/xfrm_state.c x = __find_acq_core(net, mark, family, mode, reqid, if_id, proto, daddr, saddr, create); saddr 2028 net/xfrm/xfrm_state.c return addr_match(&x->props.saddr, &filter->saddr, saddr 2600 net/xfrm/xfrm_state.c &x->props.saddr.a4, &x->id.daddr.a4); saddr 2604 net/xfrm/xfrm_state.c x->props.saddr.a6, x->id.daddr.a6); saddr 2621 net/xfrm/xfrm_state.c &iph4->saddr, &iph4->daddr); saddr 2627 net/xfrm/xfrm_state.c &iph6->saddr, &iph6->daddr, saddr 504 net/xfrm/xfrm_user.c memcpy(&x->props.saddr, &p->saddr, sizeof(x->props.saddr)); saddr 730 net/xfrm/xfrm_user.c xfrm_address_t *saddr = NULL; saddr 732 net/xfrm/xfrm_user.c verify_one_addr(attrs, XFRMA_SRCADDR, &saddr); saddr 733 net/xfrm/xfrm_user.c if (!saddr) { saddr 740 net/xfrm/xfrm_user.c &p->daddr, saddr, saddr 797 net/xfrm/xfrm_user.c memcpy(&p->saddr, &x->props.saddr, sizeof(p->saddr)); saddr 1345 net/xfrm/xfrm_user.c &p->info.saddr, 1, saddr 1476 net/xfrm/xfrm_user.c memcpy(&t->saddr, &ut->saddr, saddr 1705 net/xfrm/xfrm_user.c memcpy(&up->saddr, &kp->saddr, sizeof(up->saddr)); saddr 1990 net/xfrm/xfrm_user.c memcpy(&id->saddr, &x->props.saddr, sizeof(x->props.saddr)); saddr 2289 net/xfrm/xfrm_user.c memcpy(&x->props.saddr, &ua->saddr, sizeof(ua->saddr)); saddr 2936 net/xfrm/xfrm_user.c memcpy(&ua->saddr, &x->props.saddr, sizeof(ua->saddr)); saddr 3283 net/xfrm/xfrm_user.c memcpy(&um->old_saddr, &x->props.saddr, sizeof(um->old_saddr)); saddr 72 samples/bpf/sockex2_kern.c flow->src = load_word(skb, nhoff + offsetof(struct iphdr, saddr)); saddr 91 samples/bpf/sockex2_kern.c nhoff + offsetof(struct ipv6hdr, saddr)); saddr 205 samples/bpf/sockex3_kern.c g->flow.src = load_word(skb, nhoff + offsetof(struct iphdr, saddr)); saddr 230 samples/bpf/sockex3_kern.c nhoff + offsetof(struct ipv6hdr, saddr)); saddr 32 samples/bpf/tcbpf1_kern.c #define IP_SRC_OFF (ETH_HLEN + offsetof(struct iphdr, saddr)) saddr 79 samples/bpf/test_lwt_bpf.c printk("src: %x dst: %x\n", iph->saddr, iph->daddr); saddr 86 samples/bpf/test_lwt_bpf.c #define IP_SRC_OFF offsetof(struct iphdr, saddr) saddr 100 samples/bpf/xdp_adjust_tail_kern.c iph->daddr = orig_iph->saddr; saddr 101 samples/bpf/xdp_adjust_tail_kern.c iph->saddr = orig_iph->daddr; saddr 77 samples/bpf/xdp_fwd_kern.c fib_params.ipv4_src = iph->saddr; saddr 96 samples/bpf/xdp_fwd_kern.c *src = ip6h->saddr; saddr 479 samples/bpf/xdp_redirect_cpu_kern.c cpu_hash = iph->saddr + iph->daddr; saddr 496 samples/bpf/xdp_redirect_cpu_kern.c cpu_hash = ip6h->saddr.s6_addr32[0] + ip6h->daddr.s6_addr32[0]; saddr 497 samples/bpf/xdp_redirect_cpu_kern.c cpu_hash += ip6h->saddr.s6_addr32[1] + ip6h->daddr.s6_addr32[1]; saddr 498 samples/bpf/xdp_redirect_cpu_kern.c cpu_hash += ip6h->saddr.s6_addr32[2] + ip6h->daddr.s6_addr32[2]; saddr 499 samples/bpf/xdp_redirect_cpu_kern.c cpu_hash += ip6h->saddr.s6_addr32[3] + ip6h->daddr.s6_addr32[3]; saddr 103 samples/bpf/xdp_router_ipv4_kern.c *src = iph->saddr; saddr 25 samples/bpf/xdp_tx_iptunnel_common.h } saddr; saddr 137 samples/bpf/xdp_tx_iptunnel_kern.c iph->saddr = tnl->saddr.v4; saddr 207 samples/bpf/xdp_tx_iptunnel_kern.c memcpy(ip6h->saddr.s6_addr32, tnl->saddr.v6, sizeof(tnl->saddr.v6)); saddr 204 samples/bpf/xdp_tx_iptunnel_user.c v6 = tnl.saddr.v6; saddr 49 security/lsm_audit.c ad->u.net->v4info.saddr = ih->saddr; saddr 119 security/lsm_audit.c ad->u.net->v6info.saddr = ip6->saddr; saddr 372 security/lsm_audit.c print_ipv4_addr(ab, a->u.net->v4info.saddr, saddr 380 security/lsm_audit.c print_ipv6_addr(ab, &a->u.net->v6info.saddr, saddr 4190 security/selinux/hooks.c ad->u.net->v4info.saddr = ih->saddr; saddr 4286 security/selinux/hooks.c ad->u.net->v6info.saddr = ip6->saddr; saddr 4370 security/selinux/hooks.c addrp = (char *)(src ? &ad->u.net->v4info.saddr : saddr 4379 security/selinux/hooks.c addrp = (char *)(src ? &ad->u.net->v6info.saddr : saddr 4680 security/selinux/hooks.c ad.u.net->v4info.saddr = addr4->sin_addr.s_addr; saddr 4682 security/selinux/hooks.c ad.u.net->v6info.saddr = addr6->sin6_addr; saddr 295 security/selinux/netlabel.c addr4.sin_addr.s_addr = ip_hdr(skb)->saddr; saddr 299 security/selinux/netlabel.c addr6.sin6_addr = ipv6_hdr(skb)->saddr; saddr 2506 security/smack/smack_lsm.c ad.a.u.net->v6info.saddr = address->sin6_addr; saddr 3795 security/smack/smack_lsm.c sip->sin6_addr = ip6->saddr; saddr 4154 security/smack/smack_lsm.c addr.sin_addr.s_addr = hdr->saddr; saddr 698 sound/pci/riptide/riptide.c u32 laddr, saddr, t, val; saddr 701 sound/pci/riptide/riptide.c laddr = saddr = 0; saddr 708 sound/pci/riptide/riptide.c err = senddata(cif, in, laddr + saddr); saddr 711 sound/pci/riptide/riptide.c saddr = atoh(&in[9], 4) << 4; saddr 3125 tools/include/uapi/linux/bpf.h __be32 saddr; saddr 3131 tools/include/uapi/linux/bpf.h __be32 saddr[4]; saddr 77 tools/perf/examples/bpf/augmented_raw_syscalls.c struct sockaddr_storage saddr; saddr 146 tools/perf/examples/bpf/augmented_raw_syscalls.c if (socklen > sizeof(augmented_args->saddr)) saddr 147 tools/perf/examples/bpf/augmented_raw_syscalls.c socklen = sizeof(augmented_args->saddr); saddr 149 tools/perf/examples/bpf/augmented_raw_syscalls.c probe_read(&augmented_args->saddr, socklen, sockaddr_arg); saddr 165 tools/perf/examples/bpf/augmented_raw_syscalls.c if (socklen > sizeof(augmented_args->saddr)) saddr 166 tools/perf/examples/bpf/augmented_raw_syscalls.c socklen = sizeof(augmented_args->saddr); saddr 168 tools/perf/examples/bpf/augmented_raw_syscalls.c probe_read(&augmented_args->saddr, socklen, sockaddr_arg); saddr 981 tools/perf/util/annotate.c u64 saddr = 0; saddr 998 tools/perf/util/annotate.c saddr = start->al_addr; saddr 999 tools/perf/util/annotate.c if (saddr == 0) saddr 1004 tools/perf/util/annotate.c saddr); saddr 1005 tools/perf/util/annotate.c err = symbol__account_cycles(ams->al_addr, saddr, ams->sym, cycles); saddr 54 tools/testing/selftests/bpf/prog_tests/queue_stack_map.c pkt_v4.iph.saddr = vals[i] * 5; saddr 57 tools/testing/selftests/bpf/prog_tests/queue_stack_map.c pkt_v4.iph.saddr = vals[MAP_SIZE - 1 - i] * 5; saddr 91 tools/testing/selftests/bpf/prog_tests/queue_stack_map.c pkt_v4.iph.saddr = 0; saddr 278 tools/testing/selftests/bpf/progs/bpf_flow.c keys->ipv4_src = iph->saddr; saddr 320 tools/testing/selftests/bpf/progs/bpf_flow.c memcpy(&keys->ipv6_src, &ip6h->saddr, 2*sizeof(ip6h->saddr)); saddr 29 tools/testing/selftests/bpf/progs/connect4_prog.c memset(&tuple.ipv4.saddr, 0, sizeof(tuple.ipv4.saddr)); saddr 37 tools/testing/selftests/bpf/progs/connect6_prog.c memset(&tuple.ipv6.saddr, 0, sizeof(tuple.ipv6.saddr)); saddr 254 tools/testing/selftests/bpf/progs/test_l4lb.c memcpy(pckt->dstv6, ip6h->saddr.s6_addr32, 16); saddr 279 tools/testing/selftests/bpf/progs/test_l4lb.c pckt->dst = iph->saddr; saddr 367 tools/testing/selftests/bpf/progs/test_l4lb.c memcpy(pckt.srcv6, ip6h->saddr.s6_addr32, 16); saddr 390 tools/testing/selftests/bpf/progs/test_l4lb.c pckt.src = iph->saddr; saddr 254 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c memcpy(pckt->dstv6, ip6h->saddr.s6_addr32, 16); saddr 279 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c pckt->dst = iph->saddr; saddr 367 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c memcpy(pckt.srcv6, ip6h->saddr.s6_addr32, 16); saddr 390 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c pckt.src = iph->saddr; saddr 31 tools/testing/selftests/bpf/progs/test_lwt_ip_encap.c hdr.iph.saddr = 0x640110ac; /* 172.16.1.100 */ saddr 34 tools/testing/selftests/bpf/progs/test_lwt_ip_encap.c hdr.iph.saddr = 0xac100164; /* 172.16.1.100 */ saddr 67 tools/testing/selftests/bpf/progs/test_lwt_ip_encap.c hdr.ip6hdr.saddr.s6_addr[0] = 0xfb; saddr 68 tools/testing/selftests/bpf/progs/test_lwt_ip_encap.c hdr.ip6hdr.saddr.s6_addr[1] = 1; saddr 69 tools/testing/selftests/bpf/progs/test_lwt_ip_encap.c hdr.ip6hdr.saddr.s6_addr[15] = 1; saddr 87 tools/testing/selftests/bpf/progs/test_select_reuseport_kern.c offsetof(struct iphdr, saddr), saddr 93 tools/testing/selftests/bpf/progs/test_select_reuseport_kern.c offsetof(struct ipv6hdr, saddr), saddr 38 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c result = (struct bpf_sock_tuple *)&iph->saddr; saddr 47 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c result = (struct bpf_sock_tuple *)&ip6h->saddr; saddr 92 tools/testing/selftests/bpf/progs/test_tc_tunnel.c const __u32 saddr = (192 << 24) | (168 << 16) | (1 << 8) | 1; saddr 109 tools/testing/selftests/bpf/progs/test_tc_tunnel.c iph_inner.saddr = __bpf_constant_htonl(saddr); saddr 77 tools/testing/selftests/bpf/progs/test_tcp_check_syncookie_kern.c tup.ipv4.saddr = ipv4h->saddr; saddr 109 tools/testing/selftests/bpf/progs/test_tcp_check_syncookie_kern.c memcpy(tup.ipv6.saddr, &ipv6h->saddr, sizeof(tup.ipv6.saddr)); saddr 180 tools/testing/selftests/bpf/progs/test_tcp_estats.c __be32 *saddr, __be32 *daddr) saddr 184 tools/testing/selftests/bpf/progs/test_tcp_estats.c unaligned_u32_set(conn_id->localaddress.data, (__u8 *)saddr); saddr 189 tools/testing/selftests/bpf/progs/test_tcp_estats.c __be32 *saddr, __be32 *daddr) saddr 193 tools/testing/selftests/bpf/progs/test_tcp_estats.c unaligned_u32_set(conn_id->localaddress.data, (__u8 *)saddr); saddr 195 tools/testing/selftests/bpf/progs/test_tcp_estats.c (__u8 *)(saddr + 1)); saddr 197 tools/testing/selftests/bpf/progs/test_tcp_estats.c (__u8 *)(saddr + 2)); saddr 199 tools/testing/selftests/bpf/progs/test_tcp_estats.c (__u8 *)(saddr + 3)); saddr 138 tools/testing/selftests/bpf/progs/test_xdp.c iph->saddr = tnl->saddr.v4; saddr 205 tools/testing/selftests/bpf/progs/test_xdp.c memcpy(ip6h->saddr.s6_addr32, tnl->saddr.v6, sizeof(tnl->saddr.v6)); saddr 134 tools/testing/selftests/bpf/progs/test_xdp_loop.c iph->saddr = tnl->saddr.v4; saddr 201 tools/testing/selftests/bpf/progs/test_xdp_loop.c memcpy(ip6h->saddr.s6_addr32, tnl->saddr.v6, sizeof(tnl->saddr.v6)); saddr 312 tools/testing/selftests/bpf/progs/test_xdp_noinline.c ip6h->saddr.in6_u.u6_addr32[0] = 1; saddr 313 tools/testing/selftests/bpf/progs/test_xdp_noinline.c ip6h->saddr.in6_u.u6_addr32[1] = 2; saddr 314 tools/testing/selftests/bpf/progs/test_xdp_noinline.c ip6h->saddr.in6_u.u6_addr32[2] = 3; saddr 315 tools/testing/selftests/bpf/progs/test_xdp_noinline.c ip6h->saddr.in6_u.u6_addr32[3] = ip_suffix; saddr 361 tools/testing/selftests/bpf/progs/test_xdp_noinline.c iph->saddr = ((0xFFFF0000 & ip_suffix) | 4268) ^ dst->dst; saddr 448 tools/testing/selftests/bpf/progs/test_xdp_noinline.c iph->daddr = iph->saddr; saddr 449 tools/testing/selftests/bpf/progs/test_xdp_noinline.c iph->saddr = tmp_addr; saddr 477 tools/testing/selftests/bpf/progs/test_xdp_noinline.c memcpy(tmp_addr, ip6h->saddr.in6_u.u6_addr32, 16); saddr 478 tools/testing/selftests/bpf/progs/test_xdp_noinline.c memcpy(ip6h->saddr.in6_u.u6_addr32, ip6h->daddr.in6_u.u6_addr32, 16); saddr 504 tools/testing/selftests/bpf/progs/test_xdp_noinline.c memcpy(pckt->flow.dstv6, ip6h->saddr.in6_u.u6_addr32, 16); saddr 531 tools/testing/selftests/bpf/progs/test_xdp_noinline.c pckt->flow.dst = iph->saddr; saddr 652 tools/testing/selftests/bpf/progs/test_xdp_noinline.c memcpy(pckt->flow.srcv6, ip6h->saddr.in6_u.u6_addr32, 16); saddr 684 tools/testing/selftests/bpf/progs/test_xdp_noinline.c pckt->flow.src = iph->saddr; saddr 111 tools/testing/selftests/bpf/progs/xdping_kern.c raddr = iph->saddr; saddr 139 tools/testing/selftests/bpf/progs/xdping_kern.c iph->saddr = iph->daddr; saddr 171 tools/testing/selftests/bpf/progs/xdping_kern.c raddr = iph->saddr; saddr 175 tools/testing/selftests/bpf/progs/xdping_kern.c iph->saddr = iph->daddr; saddr 178 tools/testing/selftests/bpf/test_flow_dissector.c iph->saddr = src; saddr 206 tools/testing/selftests/bpf/test_flow_dissector.c memcpy(&ip6h->saddr, &src->sin6_addr, sizeof(ip6h->saddr)); saddr 215 tools/testing/selftests/bpf/test_flow_dissector.c int num_u16 = sizeof(iph->saddr); /* halfwords: twice byte len */ saddr 217 tools/testing/selftests/bpf/test_flow_dissector.c pseudo_sum = add_csum_hword((void *) &iph->saddr, num_u16); saddr 228 tools/testing/selftests/bpf/test_flow_dissector.c int num_u16 = sizeof(ip6h->saddr); /* halfwords: twice byte len */ saddr 230 tools/testing/selftests/bpf/test_flow_dissector.c pseudo_sum = add_csum_hword((void *) &ip6h->saddr, num_u16); saddr 25 tools/testing/selftests/bpf/test_iptunnel_common.h } saddr; saddr 52 tools/testing/selftests/bpf/test_queue_stack_map.h err = bpf_map_push_elem(&map_out, &iph->saddr, 0); saddr 824 tools/testing/selftests/cgroup/test_memcontrol.c struct sockaddr_in6 saddr = { 0 }; saddr 825 tools/testing/selftests/cgroup/test_memcontrol.c socklen_t slen = sizeof(saddr); saddr 831 tools/testing/selftests/cgroup/test_memcontrol.c saddr.sin6_family = AF_INET6; saddr 832 tools/testing/selftests/cgroup/test_memcontrol.c saddr.sin6_addr = in6addr_any; saddr 833 tools/testing/selftests/cgroup/test_memcontrol.c saddr.sin6_port = htons(srv_args->port); saddr 842 tools/testing/selftests/cgroup/test_memcontrol.c if (bind(sk, (struct sockaddr *)&saddr, slen)) { saddr 260 tools/testing/selftests/net/msg_zerocopy.c struct sockaddr_in *saddr = (void *) &cfg_src_addr; saddr 268 tools/testing/selftests/net/msg_zerocopy.c iph->saddr = saddr->sin_addr.s_addr; saddr 280 tools/testing/selftests/net/msg_zerocopy.c struct sockaddr_in6 *saddr = (void *) &cfg_src_addr; saddr 288 tools/testing/selftests/net/msg_zerocopy.c ip6h->saddr = saddr->sin6_addr; saddr 707 tools/testing/selftests/net/msg_zerocopy.c char *daddr = NULL, *saddr = NULL; saddr 753 tools/testing/selftests/net/msg_zerocopy.c saddr = optarg; saddr 771 tools/testing/selftests/net/msg_zerocopy.c if (!cfg_rx && !saddr) saddr 775 tools/testing/selftests/net/msg_zerocopy.c setup_sockaddr(cfg_family, saddr, &cfg_src_addr); saddr 77 tools/testing/selftests/net/psock_lib.h struct sockaddr_in saddr, daddr; saddr 86 tools/testing/selftests/net/psock_lib.h memset(&saddr, 0, sizeof(saddr)); saddr 87 tools/testing/selftests/net/psock_lib.h saddr.sin_family = AF_INET; saddr 88 tools/testing/selftests/net/psock_lib.h saddr.sin_port = htons(port); saddr 89 tools/testing/selftests/net/psock_lib.h saddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); saddr 101 tools/testing/selftests/net/psock_lib.h if (bind(fds[0], (void *) &saddr, sizeof(saddr))) { saddr 127 tools/testing/selftests/net/psock_snd.c iph->saddr = htonl((172 << 24) | (17 << 16) | 2); saddr 166 tools/testing/selftests/net/psock_tpacket.c ip->saddr = htonl(INADDR_LOOPBACK); saddr 107 tools/testing/selftests/net/reuseport_addr_any.c struct sockaddr *saddr, *daddr; saddr 122 tools/testing/selftests/net/reuseport_addr_any.c saddr = (struct sockaddr *)&saddr4; saddr 135 tools/testing/selftests/net/reuseport_addr_any.c saddr = (struct sockaddr *)&saddr6; saddr 156 tools/testing/selftests/net/reuseport_addr_any.c if (bind(fd, saddr, sz)) saddr 191 tools/testing/selftests/net/reuseport_bpf.c struct sockaddr * const saddr = new_any_sockaddr(p.send_family, sport); saddr 202 tools/testing/selftests/net/reuseport_bpf.c if (bind(fd, saddr, sockaddr_size())) saddr 209 tools/testing/selftests/net/reuseport_bpf.c free(saddr); saddr 96 tools/testing/selftests/net/reuseport_bpf_cpu.c struct sockaddr_storage saddr, daddr; saddr 104 tools/testing/selftests/net/reuseport_bpf_cpu.c saddr4 = (struct sockaddr_in *)&saddr; saddr 115 tools/testing/selftests/net/reuseport_bpf_cpu.c saddr6 = (struct sockaddr_in6 *)&saddr; saddr 138 tools/testing/selftests/net/reuseport_bpf_cpu.c if (bind(fd, (struct sockaddr *)&saddr, sizeof(saddr))) saddr 109 tools/testing/selftests/net/reuseport_bpf_numa.c struct sockaddr_storage saddr, daddr; saddr 116 tools/testing/selftests/net/reuseport_bpf_numa.c saddr4 = (struct sockaddr_in *)&saddr; saddr 127 tools/testing/selftests/net/reuseport_bpf_numa.c saddr6 = (struct sockaddr_in6 *)&saddr; saddr 148 tools/testing/selftests/net/reuseport_bpf_numa.c if (bind(fd, (struct sockaddr *)&saddr, sizeof(saddr))) saddr 75 tools/testing/selftests/net/reuseport_dualstack.c struct sockaddr_in saddr, daddr; saddr 78 tools/testing/selftests/net/reuseport_dualstack.c saddr.sin_family = AF_INET; saddr 79 tools/testing/selftests/net/reuseport_dualstack.c saddr.sin_addr.s_addr = htonl(INADDR_ANY); saddr 80 tools/testing/selftests/net/reuseport_dualstack.c saddr.sin_port = 0; saddr 90 tools/testing/selftests/net/reuseport_dualstack.c if (bind(fd, (struct sockaddr *)&saddr, sizeof(saddr))) saddr 149 tools/testing/selftests/net/tcp_fastopen_backup_key.c struct sockaddr *saddr, *daddr; saddr 165 tools/testing/selftests/net/tcp_fastopen_backup_key.c saddr = (struct sockaddr *)&saddr4; saddr 178 tools/testing/selftests/net/tcp_fastopen_backup_key.c saddr = (struct sockaddr *)&saddr6; saddr 192 tools/testing/selftests/net/tcp_fastopen_backup_key.c if (bind(fd, saddr, sz)) saddr 58 tools/testing/selftests/net/txring_overwrite.c iph->saddr = htonl(INADDR_LOOPBACK); saddr 191 tools/testing/selftests/networking/timestamping/txtimestamp.c static void print_pktinfo(int family, int ifindex, void *saddr, void *daddr) saddr 197 tools/testing/selftests/networking/timestamping/txtimestamp.c saddr ? inet_ntop(family, saddr, sa, sizeof(sa)) : "unknown", saddr 344 tools/testing/selftests/networking/timestamping/txtimestamp.c iph->saddr = daddr.sin_addr.s_addr; /* set for udp csum calc */ saddr 364 tools/testing/selftests/networking/timestamping/txtimestamp.c ip6h->saddr = daddr6.sin6_addr;