Home
last modified time | relevance | path

Searched refs:loc_addr (Results 1 – 4 of 4) sorted by relevance

/net/ipv4/
Dudp.c596 __be16 loc_port, __be32 loc_addr, in __udp_is_mcast_sock() argument
606 (inet->inet_rcv_saddr && inet->inet_rcv_saddr != loc_addr) || in __udp_is_mcast_sock()
610 if (!ip_mc_sf_allow(sk, loc_addr, rmt_addr, dif)) in __udp_is_mcast_sock()
1855 __be16 loc_port, __be32 loc_addr, in __udp4_lib_mcast_demux_lookup() argument
1870 if (__udp_is_mcast_sock(net, sk, loc_port, loc_addr, in __udp4_lib_mcast_demux_lookup()
1886 __be16 loc_port, __be32 loc_addr, in __udp4_lib_demux_lookup() argument
1891 unsigned int hash2 = udp4_portaddr_hash(net, loc_addr, hnum); in __udp4_lib_demux_lookup()
1894 INET_ADDR_COOKIE(acookie, rmt_addr, loc_addr); in __udp4_lib_demux_lookup()
1900 loc_addr, ports, dif)) in __udp4_lib_demux_lookup()
Digmp.c2580 int ip_mc_sf_allow(struct sock *sk, __be32 loc_addr, __be32 rmt_addr, int dif) in ip_mc_sf_allow() argument
2589 if (!ipv4_is_multicast(loc_addr)) in ip_mc_sf_allow()
2594 if (pmc->multi.imr_multiaddr.s_addr == loc_addr && in ip_mc_sf_allow()
/net/ipv6/
Draw.c73 unsigned short num, const struct in6_addr *loc_addr, in __raw_v6_lookup() argument
76 bool is_multicast = ipv6_addr_is_multicast(loc_addr); in __raw_v6_lookup()
92 if (ipv6_addr_equal(&sk->sk_v6_rcv_saddr, loc_addr)) in __raw_v6_lookup()
95 inet6_mc_check(sk, loc_addr, rmt_addr)) in __raw_v6_lookup()
Dudp.c656 __be16 loc_port, const struct in6_addr *loc_addr, in __udp_v6_is_mcast_sock() argument
672 !ipv6_addr_equal(&sk->sk_v6_rcv_saddr, loc_addr))) in __udp_v6_is_mcast_sock()
674 if (!inet6_mc_check(sk, loc_addr, rmt_addr)) in __udp_v6_is_mcast_sock()