| /Linux-v5.4/include/uapi/linux/ |
| D | if.h | 87 IFF_LOOPBACK = 1<<3, /* volatile */ enumerator 114 #define IFF_LOOPBACK IFF_LOOPBACK macro 135 #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|\
|
| /Linux-v5.4/drivers/net/ethernet/chelsio/libcxgb/ |
| D | libcxgb_cm.c | 109 !(n->dev->flags & IFF_LOOPBACK)) { in cxgb_find_route() 139 !(ip6_dst_idev(dst)->dev->flags & IFF_LOOPBACK))) { in cxgb_find_route6()
|
| /Linux-v5.4/include/net/netfilter/ |
| D | nft_fib.h | 18 return skb->pkt_type == PACKET_LOOPBACK || in->flags & IFF_LOOPBACK; in nft_fib_is_loopback()
|
| D | nf_conntrack.h | 257 return skb->dev && skb->skb_iif && skb->dev->flags & IFF_LOOPBACK; in nf_is_loopback_packet()
|
| /Linux-v5.4/include/net/ |
| D | arp.h | 24 if (dev->flags & (IFF_LOOPBACK | IFF_POINTOPOINT)) in __ipv4_neigh_lookup_noref()
|
| /Linux-v5.4/net/ipv4/netfilter/ |
| D | ipt_rpfilter.c | 51 return skb->pkt_type == PACKET_LOOPBACK || in->flags & IFF_LOOPBACK; in rpfilter_is_loopback()
|
| /Linux-v5.4/drivers/net/arcnet/ |
| D | arc-rawmode.c | 100 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
|
| D | rfc1051.c | 194 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
|
| D | capmode.c | 119 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
|
| /Linux-v5.4/net/ipv6/netfilter/ |
| D | ip6t_rpfilter.c | 87 return skb->pkt_type == PACKET_LOOPBACK || in->flags & IFF_LOOPBACK; in rpfilter_is_loopback()
|
| /Linux-v5.4/net/hsr/ |
| D | hsr_slave.c | 62 if ((dev->flags & IFF_LOOPBACK) || dev->type != ARPHRD_ETHER || in hsr_check_dev_ok()
|
| /Linux-v5.4/drivers/infiniband/core/ |
| D | addr.c | 461 if (ndev_flags & IFF_LOOPBACK) { in addr_resolve_neigh() 479 if (dst->dev->flags & IFF_LOOPBACK) in copy_src_l2_addr() 509 if (ndev->flags & IFF_LOOPBACK) { in rdma_set_src_addr_rcu()
|
| /Linux-v5.4/net/ipv6/ |
| D | ip6_input.c | 183 !(dev->flags & IFF_LOOPBACK) && in ip6_rcv_core() 194 dev->flags & IFF_LOOPBACK) && in ip6_rcv_core()
|
| D | icmp.c | 212 } else if (dst->dev && (dst->dev->flags&IFF_LOOPBACK)) { in icmpv6_xrlim_allow() 514 if (!(skb->dev->flags & IFF_LOOPBACK) && !icmpv6_global_allow(net, type)) in icmp6_send() 738 if ((!(skb->dev->flags & IFF_LOOPBACK) && !icmpv6_global_allow(net, ICMPV6_ECHO_REPLY)) || in icmpv6_echo_reply()
|
| D | exthdrs.c | 452 if (skb_dst(skb)->dev->flags & IFF_LOOPBACK) { in ipv6_srh_rcv() 635 if (skb_dst(skb)->dev->flags&IFF_LOOPBACK) { in ipv6_rthdr_rcv()
|
| /Linux-v5.4/net/openvswitch/ |
| D | vport-netdev.c | 87 if (vport->dev->flags & IFF_LOOPBACK || in ovs_netdev_link()
|
| /Linux-v5.4/drivers/net/ |
| D | loopback.c | 172 dev->flags = IFF_LOOPBACK; in gen_lo_setup()
|
| /Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
| D | l2t.c | 158 if (e->neigh && !(e->neigh->dev->flags & IFF_LOOPBACK)) in write_l2e() 431 if (neigh->dev->flags & IFF_LOOPBACK) in cxgb4_l2t_get() 458 if (neigh->dev->flags & IFF_LOOPBACK) in cxgb4_l2t_get()
|
| /Linux-v5.4/net/appletalk/ |
| D | ddp.c | 352 if (!fiface && !(iface->dev->flags & IFF_LOOPBACK)) in atalk_find_primary() 354 if (!(iface->dev->flags & (IFF_LOOPBACK | IFF_POINTOPOINT))) { in atalk_find_primary() 736 if (!(dev->flags & IFF_LOOPBACK) && in atif_ioctl() 752 if (dev->flags & IFF_LOOPBACK || in atif_ioctl() 1676 !(rt->flags & RTF_GATEWAY) && !(dev->flags & IFF_LOOPBACK)) { in atalk_sendmsg() 1689 if (dev->flags & IFF_LOOPBACK || loopback) { in atalk_sendmsg()
|
| /Linux-v5.4/net/ipv4/ |
| D | fib_frontend.c | 1128 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr() 1156 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric() 1161 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric() 1205 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_del_ifaddr()
|
| D | ipconfig.c | 203 if (dev->flags & IFF_LOOPBACK) in ic_is_init_dev() 206 (!(dev->flags & IFF_LOOPBACK) && in ic_is_init_dev() 223 if (!(dev->flags & IFF_LOOPBACK) && !netdev_uses_dsa(dev)) in ic_open_devs()
|
| D | icmp.c | 321 if (dst->dev && (dst->dev->flags&IFF_LOOPBACK)) in icmpv4_xrlim_allow() 663 if (!(skb_in->dev && (skb_in->dev->flags&IFF_LOOPBACK)) && in __icmp_send()
|
| D | tcp_fastopen.c | 542 if (!(dst && dst->dev && (dst->dev->flags & IFF_LOOPBACK))) in tcp_fastopen_active_disable_ofo_check()
|
| /Linux-v5.4/net/netfilter/ipvs/ |
| D | ip_vs_xmit.c | 161 return rt->dst.dev && rt->dst.dev->flags & IFF_LOOPBACK; in __ip_vs_is_local_route6() 180 (!skb->dev || skb->dev->flags & IFF_LOOPBACK) && in crosses_local_route_boundary() 899 if (local && skb->dev && !(skb->dev->flags & IFF_LOOPBACK) && in ip_vs_nat_xmit_v6() 1654 if (local && skb->dev && !(skb->dev->flags & IFF_LOOPBACK) && in ip_vs_icmp_xmit_v6()
|
| /Linux-v5.4/net/ethernet/ |
| D | eth.c | 107 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in eth_header()
|