Home
last modified time | relevance | path

Searched refs:saddr (Results 1 – 25 of 59) sorted by relevance

123

/include/net/
Dip6_checksum.h38 __sum16 csum_ipv6_magic(const struct in6_addr *saddr,
46 return ~csum_unfold(csum_ipv6_magic(&ipv6_hdr(skb)->saddr, in ip6_compute_pseudo()
55 return ~csum_unfold(csum_ipv6_magic(&iph->saddr, &iph->daddr, in ip6_gro_compute_pseudo()
60 const struct in6_addr *saddr, in tcp_v6_check() argument
64 return csum_ipv6_magic(saddr, daddr, len, IPPROTO_TCP, base); in tcp_v6_check()
68 const struct in6_addr *saddr, in __tcp_v6_send_check() argument
74 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0); in __tcp_v6_send_check()
78 th->check = tcp_v6_check(skb->len, saddr, daddr, in __tcp_v6_send_check()
89 __tcp_v6_send_check(skb, &np->saddr, &sk->sk_v6_daddr); in tcp_v6_send_check()
94 const struct in6_addr *saddr, in udp_v6_check() argument
[all …]
Dsecure_seq.h6 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,
Dinet6_hashtables.h51 const struct in6_addr *saddr,
58 const struct in6_addr *saddr,
65 const struct in6_addr *saddr, in __inet6_lookup() argument
71 struct sock *sk = __inet6_lookup_established(net, hashinfo, saddr, in __inet6_lookup()
76 return inet6_lookup_listener(net, hashinfo, saddr, sport, in __inet6_lookup()
92 &ipv6_hdr(skb)->saddr, sport, in __inet6_lookup_skb()
98 const struct in6_addr *saddr, const __be16 sport,
Dinet_hashtables.h259 const __be32 saddr, const __be16 sport,
266 __be32 saddr, __be16 sport, in inet_lookup_listener() argument
269 return __inet_lookup_listener(net, hashinfo, saddr, sport, in inet_lookup_listener()
329 const __be32 saddr, const __be16 sport,
335 const __be32 saddr, const __be16 sport, in inet_lookup_established() argument
339 return __inet_lookup_established(net, hashinfo, saddr, sport, daddr, in inet_lookup_established()
345 const __be32 saddr, const __be16 sport, in __inet_lookup() argument
351 saddr, sport, daddr, hnum, dif); in __inet_lookup()
353 return sk ? : __inet_lookup_listener(net, hashinfo, saddr, sport, in __inet_lookup()
359 const __be32 saddr, const __be16 sport, in inet_lookup() argument
[all …]
Dflow.h74 __be32 saddr; member
90 __be32 daddr, __be32 saddr, in flowi4_init_output() argument
104 fl4->saddr = saddr; in flowi4_init_output()
111 __be32 daddr, __be32 saddr) in flowi4_update_output() argument
116 fl4->saddr = saddr; in flowi4_update_output()
132 struct in6_addr saddr; member
153 __le16 saddr; member
Droute.h123 __be32 saddr, u8 tos, int oif) in ip_route_output() argument
129 .saddr = saddr, in ip_route_output()
136 __be32 daddr, __be32 saddr, in ip_route_output_ports() argument
143 daddr, saddr, dport, sport, sock_net_uid(net, sk)); in ip_route_output_ports()
150 __be32 daddr, __be32 saddr, in ip_route_output_gre() argument
156 fl4->saddr = saddr; in ip_route_output_gre()
273 flowi4_update_output(fl4, oif, tos, fl4->daddr, fl4->saddr); in ip_route_connect()
290 fl4->saddr); in ip_route_newports()
Dip6_route.h84 struct in6_addr *saddr);
87 const struct in6_addr *saddr, int oif, int flags);
140 const struct in6_addr *saddr) in __ip6_dst_store() argument
148 np->saddr_cache = saddr; in __ip6_dst_store()
154 struct in6_addr *daddr, struct in6_addr *saddr) in ip6_dst_store() argument
157 __ip6_dst_store(sk, dst, daddr, saddr); in ip6_dst_store()
Dxfrm.h160 xfrm_address_t saddr; member
291 const xfrm_address_t *saddr,
295 xfrm_address_t *saddr,
338 const xfrm_address_t *saddr);
486 xfrm_address_t saddr; member
1035 return (tmpl->saddr.a4 && in __xfrm4_state_addr_cmp()
1036 tmpl->saddr.a4 != x->props.saddr.a4); in __xfrm4_state_addr_cmp()
1042 return (!ipv6_addr_any((struct in6_addr*)&tmpl->saddr) && in __xfrm6_state_addr_cmp()
1043 !ipv6_addr_equal((struct in6_addr *)&tmpl->saddr, (struct in6_addr*)&x->props.saddr)); in __xfrm6_state_addr_cmp()
1222 return (xfrm_address_t *)&fl->u.ip4.saddr; in xfrm_flowi_saddr()
[all …]
Dudp.h152 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);
250 struct sock *udp4_lib_lookup(struct net *net, __be32 saddr, __be16 sport,
252 struct sock *__udp4_lib_lookup(struct net *net, __be32 saddr, __be16 sport,
256 const struct in6_addr *saddr, __be16 sport,
260 const struct in6_addr *saddr, __be16 sport,
/include/net/netfilter/
Dnf_queue.h53 if ((__force u32)iph->saddr < (__force u32)iph->daddr) in hash_v4()
54 return jhash_3words((__force u32)iph->saddr, in hash_v4()
58 (__force u32)iph->saddr, iph->protocol, jhash_initval); in hash_v4()
67 if ((__force u32)ip6h->saddr.s6_addr32[3] < in hash_v6()
69 a = (__force u32) ip6h->saddr.s6_addr32[3]; in hash_v6()
72 b = (__force u32) ip6h->saddr.s6_addr32[3]; in hash_v6()
76 if ((__force u32)ip6h->saddr.s6_addr32[1] < in hash_v6()
78 c = (__force u32) ip6h->saddr.s6_addr32[1]; in hash_v6()
/include/uapi/linux/netfilter/
Dxt_policy.h21 __u8 saddr:1, member
40 union nf_inet_addr saddr; member
47 union xt_policy_addr saddr;
/include/asm-generic/
Dchecksum.h68 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, unsigned short len,
74 csum_tcpudp_magic(__be32 saddr, __be32 daddr, unsigned short 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/
Dirlap_frame.h92 __le32 saddr; /* Source device address */ member
102 __le32 saddr; /* Source device address */ member
109 __le32 saddr; /* Source device address */ member
136 __le32 saddr; member
Diriap.h65 __u32 saddr; member
98 __u32 saddr, __u32 daddr,
Dirlmp.h152 __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()
Dirlan_client.h37 void irlan_client_wakeup(struct irlan_cb *self, __u32 saddr, __u32 daddr);
Dircomm_core.h70 __u32 saddr; /* Source device address (link we are using) */ member
92 __u32 saddr, __u32 daddr, struct sk_buff *skb,
Dircomm_event.h65 __u32 saddr; /* Source device address */ member
Ddiscovery.h91 void irlmp_expire_discoveries(hashbin_t *log, __u32 saddr, int force);
/include/linux/
Dlsm_audit.h34 __be32 saddr; member
38 struct in6_addr saddr; member
/include/uapi/linux/
Dif_fc.h39 __u8 saddr[FC_ALEN]; /* source address */ member
Dxfrm.h48 xfrm_address_t saddr; member
236 xfrm_address_t saddr; member
363 xfrm_address_t saddr; member
394 xfrm_address_t saddr; member
430 xfrm_address_t saddr; member
490 xfrm_address_t saddr; member
/include/uapi/linux/netfilter_bridge/
Debt_ip.h32 __be32 saddr; member
Debt_ip6.h32 struct in6_addr saddr; member
Debt_arp.h24 __be32 saddr; member

123