Home
last modified time | relevance | path

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

/net/ipv6/
Dudp.c802 __be16 loc_port, const struct in6_addr *loc_addr, in __udp_v6_is_mcast_sock() argument
818 !ipv6_addr_equal(&sk->sk_v6_rcv_saddr, loc_addr))) in __udp_v6_is_mcast_sock()
820 if (!inet6_mc_check(sk, loc_addr, rmt_addr)) in __udp_v6_is_mcast_sock()
1057 __be16 loc_port, const struct in6_addr *loc_addr, in __udp6_lib_demux_lookup() argument
1062 unsigned int hash2 = ipv6_portaddr_hash(net, loc_addr, hnum); in __udp6_lib_demux_lookup()
1070 inet6_match(net, sk, rmt_addr, loc_addr, ports, dif, sdif)) in __udp6_lib_demux_lookup()
Draw.c70 unsigned short num, const struct in6_addr *loc_addr, in __raw_v6_lookup() argument
73 bool is_multicast = ipv6_addr_is_multicast(loc_addr); in __raw_v6_lookup()
90 if (ipv6_addr_equal(&sk->sk_v6_rcv_saddr, loc_addr)) in __raw_v6_lookup()
93 inet6_mc_check(sk, loc_addr, rmt_addr)) in __raw_v6_lookup()
/net/ipv4/
Dudp.c584 __be16 loc_port, __be32 loc_addr, in __udp_is_mcast_sock() argument
594 (inet->inet_rcv_saddr && inet->inet_rcv_saddr != loc_addr) || in __udp_is_mcast_sock()
598 if (!ip_mc_sf_allow(sk, loc_addr, rmt_addr, dif, sdif)) in __udp_is_mcast_sock()
2528 __be16 loc_port, __be32 loc_addr, in __udp4_lib_mcast_demux_lookup() argument
2543 if (__udp_is_mcast_sock(net, sk, loc_port, loc_addr, in __udp4_lib_mcast_demux_lookup()
2559 __be16 loc_port, __be32 loc_addr, in __udp4_lib_demux_lookup() argument
2564 unsigned int hash2 = ipv4_portaddr_hash(net, loc_addr, hnum); in __udp4_lib_demux_lookup()
2567 INET_ADDR_COOKIE(acookie, rmt_addr, loc_addr); in __udp4_lib_demux_lookup()
Digmp.c2641 int ip_mc_sf_allow(struct sock *sk, __be32 loc_addr, __be32 rmt_addr, in ip_mc_sf_allow() argument
2651 if (!ipv4_is_multicast(loc_addr)) in ip_mc_sf_allow()
2656 if (pmc->multi.imr_multiaddr.s_addr == loc_addr && in ip_mc_sf_allow()