Home
last modified time | relevance | path

Searched refs:raddr (Results 1 – 7 of 7) sorted by relevance

/net/ipv6/
Dinet6_connection_sock.c102 static u32 inet6_synq_hash(const struct in6_addr *raddr, const __be16 rport, in inet6_synq_hash() argument
107 c = jhash_3words((__force u32)raddr->s6_addr32[0], in inet6_synq_hash()
108 (__force u32)raddr->s6_addr32[1], in inet6_synq_hash()
109 (__force u32)raddr->s6_addr32[2], in inet6_synq_hash()
112 c = jhash_2words((__force u32)raddr->s6_addr32[3], in inet6_synq_hash()
122 const struct in6_addr *raddr, in inet6_csk_search_req() argument
130 for (prev = &lopt->syn_table[inet6_synq_hash(raddr, rport, in inet6_csk_search_req()
139 ipv6_addr_equal(&treq->rmt_addr, raddr) && in inet6_csk_search_req()
Dip6_tunnel.c181 ipv6_addr_equal(remote, &t->parms.raddr) && in ip6_tnl_lookup()
206 const struct in6_addr *remote = &p->raddr; in ip6_tnl_bucket()
347 const struct in6_addr *remote = &p->raddr; in ip6_tnl_locate()
357 ipv6_addr_equal(remote, &t->parms.raddr)) in ip6_tnl_locate()
715 const struct in6_addr *raddr) in ip6_tnl_get_cap() argument
719 int rtype = ipv6_addr_type(raddr); in ip6_tnl_get_cap()
740 const struct in6_addr *raddr) in ip6_tnl_rcv_ctl() argument
748 (ip6_tnl_get_cap(t, laddr, raddr) & IP6_TNL_F_CAP_RCV))) { in ip6_tnl_rcv_ctl()
756 likely(!ipv6_chk_addr(net, raddr, NULL, 0))) in ip6_tnl_rcv_ctl()
891 return ipv6_addr_equal(&t->parms.raddr, &hdr->saddr); in ip6_tnl_addr_conflict()
[all …]
Dip6_gre.c132 !ipv6_addr_equal(remote, &t->parms.raddr) || in ip6gre_tunnel_lookup()
156 if (!ipv6_addr_equal(remote, &t->parms.raddr) || in ip6gre_tunnel_lookup()
181 (!ipv6_addr_equal(local, &t->parms.raddr) || in ip6gre_tunnel_lookup()
241 const struct in6_addr *remote = &p->raddr; in __ip6gre_bucket()
289 const struct in6_addr *remote = &parms->raddr; in ip6gre_tunnel_find()
301 ipv6_addr_equal(remote, &t->parms.raddr) && in ip6gre_tunnel_find()
644 fl6->daddr = tunnel->parms.raddr; in ip6gre_xmit2()
827 if (ipv6_addr_equal(&t->parms.raddr, &ipv6h->saddr)) in ip6gre_xmit_ipv6()
883 return ipv6_addr_equal(&t->parms.raddr, &hdr->saddr); in ip6gre_tnl_addr_conflict()
948 memcpy(dev->broadcast, &p->raddr, sizeof(struct in6_addr)); in ip6gre_tnl_link_config()
[all …]
/net/netfilter/
Dxt_socket.c51 __be32 *raddr, in extract_icmp4_fields() argument
99 *raddr = inside_iph->daddr; in extract_icmp4_fields()
220 struct in6_addr **raddr, in extract_icmp6_fields() argument
264 *raddr = &inside_iph->daddr; in extract_icmp6_fields()
/net/ipv4/
Dinet_connection_sock.c482 static inline u32 inet_synq_hash(const __be32 raddr, const __be16 rport, in inet_synq_hash() argument
485 return jhash_2words((__force u32)raddr, (__force u32)rport, rnd) & (synq_hsize - 1); in inet_synq_hash()
496 const __be16 rport, const __be32 raddr, in inet_csk_search_req() argument
503 for (prev = &lopt->syn_table[inet_synq_hash(raddr, rport, lopt->hash_rnd, in inet_csk_search_req()
510 ireq->rmt_addr == raddr && in inet_csk_search_req()
Draw.c112 unsigned short num, __be32 raddr, __be32 laddr, int dif) in __raw_v4_lookup() argument
118 !(inet->inet_daddr && inet->inet_daddr != raddr) && in __raw_v4_lookup()
/net/mac80211/
Dieee80211_i.h1220 static inline int ieee80211_bssid_match(const u8 *raddr, const u8 *addr) in ieee80211_bssid_match() argument
1222 return ether_addr_equal(raddr, addr) || in ieee80211_bssid_match()
1223 is_broadcast_ether_addr(raddr); in ieee80211_bssid_match()