/linux/include/uapi/linux/ |
A D | if.h | 88 IFF_LOOPBACK = 1<<3, /* volatile */ enumerator 115 #define IFF_LOOPBACK IFF_LOOPBACK macro 136 #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|\
|
/linux/drivers/net/ethernet/chelsio/libcxgb/ |
A 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/include/net/netfilter/ |
A D | nft_fib.h | 18 return skb->pkt_type == PACKET_LOOPBACK || in->flags & IFF_LOOPBACK; in nft_fib_is_loopback()
|
A D | nf_conntrack.h | 271 return skb->dev && skb->skb_iif && skb->dev->flags & IFF_LOOPBACK; in nf_is_loopback_packet()
|
/linux/include/net/ |
A D | arp.h | 24 if (dev->flags & (IFF_LOOPBACK | IFF_POINTOPOINT)) in __ipv4_neigh_lookup_noref()
|
/linux/net/appletalk/ |
A D | ddp.c | 353 if (!fiface && !(iface->dev->flags & IFF_LOOPBACK)) in atalk_find_primary() 355 if (!(iface->dev->flags & (IFF_LOOPBACK | IFF_POINTOPOINT))) { in atalk_find_primary() 737 if (!(dev->flags & IFF_LOOPBACK) && in atif_ioctl() 753 if (dev->flags & IFF_LOOPBACK || in atif_ioctl() 1647 (dev->flags & IFF_LOOPBACK || !(rt->flags & RTF_GATEWAY))) { in atalk_sendmsg() 1700 !(rt->flags & RTF_GATEWAY) && !(dev->flags & IFF_LOOPBACK)) { in atalk_sendmsg() 1713 if (dev->flags & IFF_LOOPBACK || loopback) { in atalk_sendmsg()
|
/linux/net/ipv4/netfilter/ |
A D | ipt_rpfilter.c | 51 return skb->pkt_type == PACKET_LOOPBACK || in->flags & IFF_LOOPBACK; in rpfilter_is_loopback()
|
/linux/drivers/net/arcnet/ |
A D | arc-rawmode.c | 100 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
|
A D | rfc1051.c | 194 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
|
A D | capmode.c | 119 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
|
/linux/net/ipv6/netfilter/ |
A D | ip6t_rpfilter.c | 87 return skb->pkt_type == PACKET_LOOPBACK || in->flags & IFF_LOOPBACK; in rpfilter_is_loopback()
|
/linux/drivers/infiniband/core/ |
A D | addr.c | 464 if (ndev_flags & IFF_LOOPBACK) { in addr_resolve_neigh() 482 if (dst->dev->flags & IFF_LOOPBACK) in copy_src_l2_addr() 512 if (ndev->flags & IFF_LOOPBACK) { in rdma_set_src_addr_rcu()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | l2t.c | 158 if (e->neigh && !(e->neigh->dev->flags & IFF_LOOPBACK)) in write_l2e() 427 if (neigh->dev->flags & IFF_LOOPBACK) in cxgb4_l2t_get() 454 if (neigh->dev->flags & IFF_LOOPBACK) in cxgb4_l2t_get()
|
/linux/net/ipv6/ |
A D | ip6_input.c | 205 !(dev->flags & IFF_LOOPBACK) && in ip6_rcv_core() 216 dev->flags & IFF_LOOPBACK) && in ip6_rcv_core()
|
A D | icmp.c | 219 } else if (dst->dev && (dst->dev->flags&IFF_LOOPBACK)) { in icmpv6_xrlim_allow() 543 if (!(skb->dev->flags & IFF_LOOPBACK) && !icmpv6_global_allow(net, type)) in icmp6_send() 785 if ((!(skb->dev->flags & IFF_LOOPBACK) && !icmpv6_global_allow(net, ICMPV6_ECHO_REPLY)) || in icmpv6_echo_reply()
|
A D | exthdrs.c | 464 if (skb_dst(skb)->dev->flags & IFF_LOOPBACK) { in ipv6_srh_rcv() 653 if (skb_dst(skb)->dev->flags & IFF_LOOPBACK) { in ipv6_rpl_srh_rcv() 843 if (skb_dst(skb)->dev->flags&IFF_LOOPBACK) { in ipv6_rthdr_rcv()
|
A D | ioam6.c | 667 if (skb_dst(skb)->dev->flags & IFF_LOOPBACK) in __ioam6_fill_trace_data() 752 if (skb_dst(skb)->dev->flags & IFF_LOOPBACK) in __ioam6_fill_trace_data()
|
/linux/net/openvswitch/ |
A D | vport-netdev.c | 86 if (vport->dev->flags & IFF_LOOPBACK || in ovs_netdev_link()
|
/linux/net/hsr/ |
A D | hsr_slave.c | 87 if ((dev->flags & IFF_LOOPBACK) || dev->type != ARPHRD_ETHER || in hsr_check_dev_ok()
|
/linux/drivers/net/ |
A D | loopback.c | 174 dev->flags = IFF_LOOPBACK; in gen_lo_setup()
|
/linux/net/netfilter/ipvs/ |
A 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/net/ipv4/ |
A D | fib_frontend.c | 1123 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr() 1149 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric() 1154 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric() 1198 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_del_ifaddr()
|
A D | ipconfig.c | 202 if (dev->flags & IFF_LOOPBACK) in ic_is_init_dev() 205 (!(dev->flags & IFF_LOOPBACK) && in ic_is_init_dev() 222 if (!(dev->flags & IFF_LOOPBACK)) in ic_open_devs()
|
A D | arp.c | 230 if (dev->flags & (IFF_LOOPBACK | IFF_POINTOPOINT)) in arp_constructor() 271 } else if (dev->flags & (IFF_NOARP | IFF_LOOPBACK)) { in arp_constructor()
|
/linux/net/ethernet/ |
A D | eth.c | 107 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in eth_header()
|