Home
last modified time | relevance | path

Searched refs:ipv4_is_loopback (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.1/include/linux/
Din.h38 static inline bool ipv4_is_loopback(__be32 addr) in ipv4_is_loopback() function
/Linux-v6.1/include/linux/lockd/
Dlockd.h325 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()
/Linux-v6.1/net/netfilter/ipvs/
Dip_vs_xmit.c187 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()
/Linux-v6.1/drivers/parisc/
Dled.c367 if (ipv4_is_loopback(in_dev->ifa_list->ifa_local)) in led_get_net_activity()
/Linux-v6.1/net/bridge/
Dbr_arp_nd_proxy.c156 if (ipv4_is_loopback(tip) || in br_do_proxy_suppress_arp()
/Linux-v6.1/net/batman-adv/
Ddistributed-arp-table.c1043 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()
/Linux-v6.1/net/ipv4/
Droute.c1705 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()
Dip_tunnel_core.c270 ipv4_is_zeronet(iph->saddr) || ipv4_is_loopback(iph->saddr) || in iptunnel_pmtud_check_icmp()
Darp.c787 (!IN_DEV_ROUTE_LOCALNET(in_dev) && ipv4_is_loopback(tip))) in arp_process()
Dtcp_ipv4.c134 if (ipv4_is_loopback(tw->tw_daddr) || in tcp_twsk_unique()
135 ipv4_is_loopback(tw->tw_rcv_saddr)) in tcp_twsk_unique()
Ddevinet.c581 if (ipv4_is_loopback(ifa->ifa_local)) in inet_set_ifa()
/Linux-v6.1/drivers/net/
Damt.c2262 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()
/Linux-v6.1/include/net/
Dipv6.h759 return ipv6_addr_v4mapped(a) && ipv4_is_loopback(a->s6_addr32[3]); in ipv6_addr_v4mapped_loopback()
/Linux-v6.1/net/sctp/
Dprotocol.c394 } else if (ipv4_is_loopback(addr->v4.sin_addr.s_addr)) { in sctp_v4_scope()
/Linux-v6.1/drivers/infiniband/core/
Dcma.c1295 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()
/Linux-v6.1/net/core/
Dpktgen.c2536 } while (ipv4_is_loopback(s) || in mod_cur_headers()
/Linux-v6.1/drivers/infiniband/hw/irdma/
Dcm.c2098 return ipv4_is_loopback(htonl(rem_addr)) || (loc_addr == rem_addr); in irdma_ipv4_is_lpb()
/Linux-v6.1/drivers/net/vxlan/
Dvxlan_core.c1856 if (ipv4_is_loopback(tip) || in arp_reduce()
/Linux-v6.1/net/ipv6/
Daddrconf.c2279 ipv4_is_loopback(addr) || ipv4_is_linklocal_169(addr) || in __ipv6_isatap_ifid()