/include/net/ |
D | ip6_checksum.h | 38 __sum16 csum_ipv6_magic(const struct in6_addr *saddr, 45 return ~csum_unfold(csum_ipv6_magic(&ipv6_hdr(skb)->saddr, in ip6_compute_pseudo() 54 return ~csum_unfold(csum_ipv6_magic(&iph->saddr, &iph->daddr, in ip6_gro_compute_pseudo() 59 const struct in6_addr *saddr, in tcp_v6_check() argument 63 return csum_ipv6_magic(saddr, daddr, len, IPPROTO_TCP, base); in tcp_v6_check() 67 const struct in6_addr *saddr, in __tcp_v6_send_check() argument 73 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0); in __tcp_v6_send_check() 77 th->check = tcp_v6_check(skb->len, saddr, daddr, in __tcp_v6_send_check() 88 __tcp_v6_send_check(skb, &np->saddr, &sk->sk_v6_daddr); in tcp_v6_send_check() 93 const struct in6_addr *saddr, in udp_v6_check() argument [all …]
|
D | secure_seq.h | 6 u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport); 7 u32 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr, 9 __u32 secure_tcp_sequence_number(__be32 saddr, __be32 daddr, 11 __u32 secure_tcpv6_sequence_number(const __be32 *saddr, const __be32 *daddr, 13 u64 secure_dccp_sequence_number(__be32 saddr, __be32 daddr, 15 u64 secure_dccpv6_sequence_number(__be32 *saddr, __be32 *daddr,
|
D | inet6_hashtables.h | 49 const struct in6_addr *saddr, 57 const struct in6_addr *saddr, 65 const struct in6_addr *saddr, in __inet6_lookup() argument 72 struct sock *sk = __inet6_lookup_established(net, hashinfo, saddr, in __inet6_lookup() 78 return inet6_lookup_listener(net, hashinfo, skb, doff, saddr, sport, in __inet6_lookup() 96 doff, &ipv6_hdr(skb)->saddr, sport, in __inet6_lookup_skb() 103 const struct in6_addr *saddr, const __be16 sport,
|
D | dst_cache.h | 32 struct rtable *dst_cache_get_ip4(struct dst_cache *dst_cache, __be32 *saddr); 43 __be32 saddr); 66 struct in6_addr *saddr);
|
D | inet_hashtables.h | 216 const __be32 saddr, const __be16 sport, 224 __be32 saddr, __be16 sport, in inet_lookup_listener() argument 227 return __inet_lookup_listener(net, hashinfo, skb, doff, saddr, sport, in inet_lookup_listener() 284 const __be32 saddr, const __be16 sport, 290 const __be32 saddr, const __be16 sport, in inet_lookup_established() argument 294 return __inet_lookup_established(net, hashinfo, saddr, sport, daddr, in inet_lookup_established() 301 const __be32 saddr, const __be16 sport, in __inet_lookup() argument 309 sk = __inet_lookup_established(net, hashinfo, saddr, sport, in __inet_lookup() 315 return __inet_lookup_listener(net, hashinfo, skb, doff, saddr, in __inet_lookup() 322 const __be32 saddr, const __be16 sport, in inet_lookup() argument [all …]
|
D | flow.h | 82 __be32 saddr; member 98 __be32 daddr, __be32 saddr, in flowi4_init_output() argument 113 fl4->saddr = saddr; in flowi4_init_output() 120 __be32 daddr, __be32 saddr) in flowi4_update_output() argument 125 fl4->saddr = saddr; in flowi4_update_output() 141 struct in6_addr saddr; member 163 __le16 saddr; member
|
D | route.h | 136 __be32 saddr, u8 tos, int oif) in ip_route_output() argument 142 .saddr = saddr, in ip_route_output() 149 __be32 daddr, __be32 saddr, in ip_route_output_ports() argument 156 daddr, saddr, dport, sport, sock_net_uid(net, sk)); in ip_route_output_ports() 163 __be32 daddr, __be32 saddr, in ip_route_output_gre() argument 169 fl4->saddr = saddr; in ip_route_output_gre() 293 flowi4_update_output(fl4, oif, tos, fl4->daddr, fl4->saddr); in ip_route_connect() 310 fl4->saddr); in ip_route_newports()
|
D | dst_metadata.h | 115 static inline struct metadata_dst *__ip_tun_set_dst(__be32 saddr, in __ip_tun_set_dst() argument 129 saddr, daddr, tos, ttl, in __ip_tun_set_dst() 141 return __ip_tun_set_dst(iph->saddr, iph->daddr, iph->tos, iph->ttl, in ip_tun_rx_dst() 145 static inline struct metadata_dst *__ipv6_tun_set_dst(const struct in6_addr *saddr, in __ipv6_tun_set_dst() argument 167 info->key.u.ipv6.src = *saddr; in __ipv6_tun_set_dst() 184 return __ipv6_tun_set_dst(&ip6h->saddr, &ip6h->daddr, in ipv6_tun_rx_dst()
|
D | xfrm.h | 154 xfrm_address_t saddr; member 287 const xfrm_address_t *saddr, 291 xfrm_address_t *saddr, 332 const xfrm_address_t *saddr); 480 xfrm_address_t saddr; member 1028 return (tmpl->saddr.a4 && in __xfrm4_state_addr_cmp() 1029 tmpl->saddr.a4 != x->props.saddr.a4); in __xfrm4_state_addr_cmp() 1035 return (!ipv6_addr_any((struct in6_addr*)&tmpl->saddr) && in __xfrm6_state_addr_cmp() 1036 !ipv6_addr_equal((struct in6_addr *)&tmpl->saddr, (struct in6_addr*)&x->props.saddr)); in __xfrm6_state_addr_cmp() 1221 return (xfrm_address_t *)&fl->u.ip4.saddr; in xfrm_flowi_saddr() [all …]
|
D | ip6_route.h | 101 struct in6_addr *saddr) in ip6_route_get_saddr() argument 108 *saddr = rt->rt6i_prefsrc.addr; in ip6_route_get_saddr() 111 daddr, prefs, saddr); in ip6_route_get_saddr() 117 const struct in6_addr *saddr, int oif, int flags); 173 const struct in6_addr *saddr) in ip6_dst_store() argument 181 np->saddr_cache = saddr; in ip6_dst_store()
|
D | udp.h | 152 static inline __sum16 udp_v4_check(int len, __be32 saddr, in udp_v4_check() argument 155 return csum_tcpudp_magic(saddr, daddr, len, IPPROTO_UDP, base); in udp_v4_check() 159 __be32 saddr, __be32 daddr, int len); 272 struct sock *udp4_lib_lookup(struct net *net, __be32 saddr, __be16 sport, 274 struct sock *__udp4_lib_lookup(struct net *net, __be32 saddr, __be16 sport, 280 const struct in6_addr *saddr, __be16 sport, 284 const struct in6_addr *saddr, __be16 sport,
|
/include/net/netfilter/ |
D | nf_queue.h | 46 if ((__force u32)iph->saddr < (__force u32)iph->daddr) in hash_v4() 47 return jhash_3words((__force u32)iph->saddr, in hash_v4() 51 (__force u32)iph->saddr, iph->protocol, initval); in hash_v4() 58 if ((__force u32)ip6h->saddr.s6_addr32[3] < in hash_v6() 60 a = (__force u32) ip6h->saddr.s6_addr32[3]; in hash_v6() 63 b = (__force u32) ip6h->saddr.s6_addr32[3]; in hash_v6() 67 if ((__force u32)ip6h->saddr.s6_addr32[1] < in hash_v6() 69 c = (__force u32) ip6h->saddr.s6_addr32[1]; in hash_v6()
|
/include/uapi/linux/netfilter/ |
D | xt_policy.h | 23 __u8 saddr:1, member 42 union nf_inet_addr saddr; member 49 union xt_policy_addr saddr;
|
/include/asm-generic/ |
D | checksum.h | 68 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, 74 csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_magic() argument 77 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
|
/include/net/irda/ |
D | irlap_frame.h | 92 __le32 saddr; /* Source device address */ member 102 __le32 saddr; /* Source device address */ member 109 __le32 saddr; /* Source device address */ member 136 __le32 saddr; member
|
D | iriap.h | 65 __u32 saddr; member 98 __u32 saddr, __u32 daddr,
|
D | irlmp.h | 152 __u32 saddr; /* Source device address */ member 210 void irlmp_register_link(struct irlap_cb *, __u32 saddr, notify_t *); 211 void irlmp_unregister_link(__u32 saddr); 214 __u32 saddr, __u32 daddr, 251 return (self && self->lap) ? self->lap->saddr : 0; in irlmp_get_saddr()
|
D | irlan_client.h | 37 void irlan_client_wakeup(struct irlan_cb *self, __u32 saddr, __u32 daddr);
|
D | ircomm_core.h | 70 __u32 saddr; /* Source device address (link we are using) */ member 92 __u32 saddr, __u32 daddr, struct sk_buff *skb,
|
/include/linux/ |
D | lsm_audit.h | 34 __be32 saddr; member 38 struct in6_addr saddr; member
|
/include/uapi/linux/ |
D | if_fc.h | 39 __u8 saddr[FC_ALEN]; /* source address */ member
|
D | xfrm.h | 50 xfrm_address_t saddr; member 238 xfrm_address_t saddr; member 365 xfrm_address_t saddr; member 396 xfrm_address_t saddr; member 432 xfrm_address_t saddr; member 492 xfrm_address_t saddr; member
|
/include/uapi/linux/netfilter_bridge/ |
D | ebt_ip.h | 32 __be32 saddr; member
|
D | ebt_ip6.h | 33 struct in6_addr saddr; member
|
D | ebt_arp.h | 25 __be32 saddr; member
|