Searched refs:ipv4_is_loopback (Results 1 – 19 of 19) sorted by relevance
38 static inline bool ipv4_is_loopback(__be32 addr) in ipv4_is_loopback() function
325 return ipv4_is_loopback(sin->sin_addr.s_addr); in __nlm_privileged_request4()337 return ipv4_is_loopback(sin6->sin6_addr.s6_addr32[3]); in __nlm_privileged_request6()
187 source_is_loopback = ipv4_is_loopback(ip_hdr(skb)->saddr); in crosses_local_route_boundary()811 if (local && ipv4_is_loopback(cp->daddr.ip) && was_input) { in ip_vs_nat_xmit()1566 if (local && ipv4_is_loopback(cp->daddr.ip) && was_input) { in ip_vs_icmp_xmit()
367 if (ipv4_is_loopback(in_dev->ifa_list->ifa_local)) in led_get_net_activity()
156 if (ipv4_is_loopback(tip) || in br_do_proxy_suppress_arp()
1043 if (ipv4_is_loopback(ip_src) || ipv4_is_multicast(ip_src) || in batadv_arp_get_type()1044 ipv4_is_loopback(ip_dst) || ipv4_is_multicast(ip_dst) || in batadv_arp_get_type()
1705 if (ipv4_is_loopback(saddr) && !IN_DEV_ROUTE_LOCALNET(in_dev)) in ip_mc_validate_source()2176 if (ipv4_is_loopback(saddr) && !IN_DEV_NET_ROUTE_LOCALNET(in_dev, net)) in ip_route_use_hint()2273 if (ipv4_is_loopback(daddr)) { in ip_route_input_slow()2276 } else if (ipv4_is_loopback(saddr)) { in ip_route_input_slow()2519 if (ipv4_is_loopback(fl4->saddr) && in __mkroute_output()
270 ipv4_is_zeronet(iph->saddr) || ipv4_is_loopback(iph->saddr) || in iptunnel_pmtud_check_icmp()
787 (!IN_DEV_ROUTE_LOCALNET(in_dev) && ipv4_is_loopback(tip))) in arp_process()
134 if (ipv4_is_loopback(tw->tw_daddr) || in tcp_twsk_unique()135 ipv4_is_loopback(tw->tw_rcv_saddr)) in tcp_twsk_unique()
581 if (ipv4_is_loopback(ifa->ifa_local)) in inet_set_ifa()
2262 if (ipv4_is_loopback(amta->ip4) || ipv4_is_multicast(amta->ip4) || in amt_advertisement_handler()3207 if (ipv4_is_loopback(amt->local_ip) || in amt_newlink()3251 if (ipv4_is_loopback(amt->discovery_ip) || in amt_newlink()
759 return ipv6_addr_v4mapped(a) && ipv4_is_loopback(a->s6_addr32[3]); in ipv6_addr_v4mapped_loopback()
394 } else if (ipv4_is_loopback(addr->v4.sin_addr.s_addr)) { in sctp_v4_scope()
1295 return ipv4_is_loopback( in cma_loopback_addr()1554 ipv4_is_zeronet(daddr) || ipv4_is_loopback(daddr) || in validate_ipv4_net_dev()1555 ipv4_is_loopback(saddr)) in validate_ipv4_net_dev()
2536 } while (ipv4_is_loopback(s) || in mod_cur_headers()
2098 return ipv4_is_loopback(htonl(rem_addr)) || (loc_addr == rem_addr); in irdma_ipv4_is_lpb()
1856 if (ipv4_is_loopback(tip) || in arp_reduce()
2279 ipv4_is_loopback(addr) || ipv4_is_linklocal_169(addr) || in __ipv6_isatap_ifid()