| /include/net/ |
| A D | ip6_checksum.h | 34 __sum16 csum_ipv6_magic(const struct in6_addr *saddr, 41 return ~csum_unfold(csum_ipv6_magic(&ipv6_hdr(skb)->saddr, in ip6_compute_pseudo() 47 const struct in6_addr *saddr, in tcp_v6_check() argument 51 return csum_ipv6_magic(saddr, daddr, len, IPPROTO_TCP, base); in tcp_v6_check() 55 const struct in6_addr *saddr, in __tcp_v6_send_check() argument 60 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0); in __tcp_v6_send_check() 71 th->check = ~tcp_v6_check(0, &ipv6h->saddr, &ipv6h->daddr, 0); in tcp_v6_gso_csum_prep() 75 const struct in6_addr *saddr, in udp_v6_check() argument 79 return csum_ipv6_magic(saddr, daddr, len, IPPROTO_UDP, base); in udp_v6_check() 83 const struct in6_addr *saddr,
|
| A D | secure_seq.h | 9 u64 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport); 10 u64 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr, 12 u32 secure_tcp_seq(__be32 saddr, __be32 daddr, 14 u32 secure_tcp_ts_off(const struct net *net, __be32 saddr, __be32 daddr); 15 u32 secure_tcpv6_seq(const __be32 *saddr, const __be32 *daddr, 18 const __be32 *saddr, const __be32 *daddr);
|
| A D | inet6_hashtables.h | 45 const struct in6_addr *saddr, 61 const struct in6_addr *saddr, 70 const struct in6_addr *saddr, 79 const struct in6_addr *saddr, 88 const struct in6_addr *saddr, in __inet6_lookup() argument 108 const struct in6_addr *saddr, const __be16 sport, in inet6_steal_sock() argument 133 saddr, sport, daddr, ntohs(dport), in inet6_steal_sock() 165 doff, &ip6h->saddr, sport, in __inet6_lookup_skb() 172 const struct in6_addr *saddr, const __be16 sport, 179 const struct in6_addr *saddr, in inet6_match() argument [all …]
|
| A D | dst_cache.h | 33 struct rtable *dst_cache_get_ip4(struct dst_cache *dst_cache, __be32 *saddr); 44 __be32 saddr); 57 const struct in6_addr *saddr); 67 struct in6_addr *saddr);
|
| A D | inet_hashtables.h | 299 const __be32 saddr, const __be16 sport, 307 __be32 saddr, __be16 sport, in inet_lookup_listener() argument 362 const __be32 saddr, const __be16 sport, 376 __be32 saddr, __be16 sport, 383 __be32 saddr, __be16 sport, 389 const __be32 saddr, const __be16 sport, in inet_lookup_established() argument 400 const __be32 saddr, const __be16 sport, in __inet_lookup() argument 421 const __be32 saddr, const __be16 sport, in inet_lookup() argument 438 const __be32 saddr, const __be16 sport, in inet_steal_sock() argument 463 saddr, sport, daddr, ntohs(dport), in inet_steal_sock() [all …]
|
| A D | flow.h | 83 __be32 saddr; member 98 __be32 daddr, __be32 saddr, in flowi4_init_output() argument 114 fl4->saddr = saddr; in flowi4_init_output() 122 __be32 daddr, __be32 saddr) in flowi4_update_output() argument 126 fl4->saddr = saddr; in flowi4_update_output() 143 struct in6_addr saddr; member
|
| A D | seg6_hmac.h | 43 struct ipv6_sr_hdr *hdr, struct in6_addr *saddr, 49 extern int seg6_push_hmac(struct net *net, struct in6_addr *saddr,
|
| A D | route.h | 187 __be32 saddr, dscp_t dscp, in ip_route_output() argument 195 .saddr = saddr, in ip_route_output() 203 __be32 daddr, __be32 saddr, in ip_route_output_ports() argument 210 daddr, saddr, dport, sport, sock_net_uid(net, sk)); in ip_route_output_ports() 217 ip_mc_validate_source(struct sk_buff *skb, __be32 daddr, __be32 saddr, 221 ip_route_input_noref(struct sk_buff *skb, __be32 daddr, __be32 saddr, 224 ip_route_use_hint(struct sk_buff *skb, __be32 daddr, __be32 saddr, 352 flowi4_update_output(fl4, oif, fl4->daddr, fl4->saddr); in ip_route_connect() 368 fl4->saddr); in ip_route_newports()
|
| A D | dst_metadata.h | 197 static inline struct metadata_dst *__ip_tun_set_dst(__be32 saddr, in __ip_tun_set_dst() argument 212 saddr, daddr, tos, ttl, in __ip_tun_set_dst() 224 return __ip_tun_set_dst(iph->saddr, iph->daddr, iph->tos, iph->ttl, in ip_tun_rx_dst() 228 static inline struct metadata_dst *__ipv6_tun_set_dst(const struct in6_addr *saddr, in __ipv6_tun_set_dst() argument 251 info->key.u.ipv6.src = *saddr; in __ipv6_tun_set_dst() 268 return __ipv6_tun_set_dst(&ip6h->saddr, &ip6h->daddr, in ipv6_tun_rx_dst()
|
| A D | xfrm.h | 226 xfrm_address_t saddr; member 375 xfrm_address_t *saddr; member 556 xfrm_address_t saddr; member 1198 return (tmpl->saddr.a4 && in __xfrm4_state_addr_cmp() 1199 tmpl->saddr.a4 != x->props.saddr.a4); in __xfrm4_state_addr_cmp() 1206 !ipv6_addr_equal((struct in6_addr *)&tmpl->saddr, (struct in6_addr*)&x->props.saddr)); in __xfrm6_state_addr_cmp() 1468 memcpy(&saddr->a4, &fl->u.ip4.saddr, sizeof(saddr->a4)); in xfrm_flowi_addr_get() 1472 saddr->in6 = fl->u.ip6.saddr; in xfrm_flowi_addr_get() 1483 (saddr->a4 == x->props.saddr.a4 || !saddr->a4 || !x->props.saddr.a4)) in __xfrm4_state_addr_check() 1493 (ipv6_addr_equal((struct in6_addr *)saddr, (struct in6_addr *)&x->props.saddr) || in __xfrm6_state_addr_check() [all …]
|
| A D | ip6_route.h | 131 struct in6_addr *saddr) in ip6_route_get_saddr() argument 145 *saddr = f6i->fib6_prefsrc.addr; in ip6_route_get_saddr() 147 err = ipv6_dev_get_saddr(net, same_vrf ? dev : l3mdev, daddr, prefs, saddr); in ip6_route_get_saddr() 155 const struct in6_addr *saddr, int oif, 233 const struct in6_addr *saddr) in ip6_dst_store() argument 241 np->saddr_cache = saddr; in ip6_dst_store() 351 const struct in6_addr *saddr);
|
| A D | ipv6_stubs.h | 45 const struct in6_addr *saddr); 86 const struct in6_addr *saddr, __be16 sport, 98 struct in6_addr *saddr);
|
| /include/trace/events/ |
| A D | net_probe_common.h | 8 struct sockaddr_in *v4 = (void *)__entry->saddr; \ 24 struct sockaddr_in6 *v6 = (void *)__entry->saddr; \ 28 v6->sin6_addr = inet6_sk(sk)->saddr; \ 44 #define TP_STORE_V4MAPPED(__entry, saddr, daddr) \ argument 49 ipv6_addr_set_v4mapped(saddr, pin6); \ 55 #define TP_STORE_ADDRS(__entry, saddr, daddr, saddr6, daddr6) \ argument 65 TP_STORE_V4MAPPED(__entry, saddr, daddr); \ 69 #define TP_STORE_ADDRS(__entry, saddr, daddr, saddr6, daddr6) \ argument 70 TP_STORE_V4MAPPED(__entry, saddr, daddr) 79 v4->sin_addr.s_addr = ip_hdr(skb)->saddr; \ [all …]
|
| A D | udp.h | 24 __array(__u8, saddr, sizeof(struct sockaddr_in6)) 38 memset(__entry->saddr, 0, sizeof(struct sockaddr_in6)); 41 TP_STORE_ADDR_PORTS_SKB(skb, uh, __entry->saddr, __entry->daddr); 46 __entry->saddr, __entry->daddr)
|
| A D | tcp.h | 29 __array(__u8, saddr, 4) 48 p32 = (__be32 *) __entry->saddr; 125 __entry->saddr, __entry->daddr, 149 __array(__u8, saddr, 4) 166 p32 = (__be32 *) __entry->saddr; 181 __entry->saddr, __entry->daddr, 225 __array(__u8, saddr, 4) 253 p32 = (__be32 *) __entry->saddr; 292 __array(__u8, saddr, 4) 309 p32 = (__be32 *) __entry->saddr; [all …]
|
| A D | icmp.h | 21 __array(__u8, saddr, 4) 50 p32 = (__be32 *) __entry->saddr; 51 *p32 = iph->saddr; 59 __entry->saddr, __entry->sport, __entry->daddr,
|
| A D | handshake.h | 197 __array(__u8, saddr, sizeof(struct sockaddr_in6)) 206 memset(__entry->saddr, 0, sizeof(struct sockaddr_in6)); 215 __entry->saddr, __entry->daddr, 289 __array(__u8, saddr, sizeof(struct sockaddr_in6)) 297 memset(__entry->saddr, 0, sizeof(struct sockaddr_in6)); 305 __entry->saddr, __entry->daddr,
|
| A D | sock.h | 154 __array(__u8, saddr, 4) 173 p32 = (__be32 *) __entry->saddr; 187 __entry->saddr, __entry->daddr, 205 __array(__u8, saddr, 4) 221 p32 = (__be32 *) __entry->saddr; 235 __entry->saddr, __entry->daddr,
|
| /include/net/netfilter/ |
| A D | nf_queue.h | 51 if ((__force u32)iph->saddr < (__force u32)iph->daddr) in hash_v4() 52 return jhash_3words((__force u32)iph->saddr, in hash_v4() 56 (__force u32)iph->saddr, iph->protocol, initval); in hash_v4() 63 if ((__force u32)ip6h->saddr.s6_addr32[3] < in hash_v6() 65 a = (__force u32) ip6h->saddr.s6_addr32[3]; in hash_v6() 68 b = (__force u32) ip6h->saddr.s6_addr32[3]; in hash_v6() 72 if ((__force u32)ip6h->saddr.s6_addr32[1] < in hash_v6() 74 c = (__force u32) ip6h->saddr.s6_addr32[1]; in hash_v6()
|
| A D | nf_tproxy.h | 85 const __be32 saddr, const __be32 daddr, 124 const struct in6_addr *saddr, const struct in6_addr *daddr,
|
| /include/uapi/linux/netfilter/ |
| A D | xt_policy.h | 25 __u8 saddr:1, member 44 union nf_inet_addr saddr; member 51 union xt_policy_addr saddr;
|
| /include/asm-generic/ |
| A D | checksum.h | 46 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, 52 csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_magic() argument 55 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
|
| /include/uapi/linux/ |
| A D | if_fc.h | 40 __u8 saddr[FC_ALEN]; /* source address */ member
|
| A D | xfrm.h | 52 xfrm_address_t saddr; member 251 xfrm_address_t saddr; member 391 xfrm_address_t saddr; member 423 xfrm_address_t saddr; member 460 xfrm_address_t saddr; member 520 xfrm_address_t saddr; member
|
| /include/linux/ |
| A D | lsm_audit.h | 36 __be32 saddr; member 40 struct in6_addr saddr; member
|