| /linux/include/uapi/linux/ |
| H 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/ |
| H A D | libcxgb_cm.c | 110 !(n->dev->flags & IFF_LOOPBACK)) { in cxgb_find_route() 140 !(ip6_dst_idev(dst)->dev->flags & IFF_LOOPBACK))) { in cxgb_find_route6()
|
| /linux/include/net/netfilter/ |
| H A D | nft_fib.h | 19 return skb->pkt_type == PACKET_LOOPBACK || in->flags & IFF_LOOPBACK; in nft_fib_is_loopback()
|
| H A D | nf_conntrack.h | 277 return skb->dev && skb->skb_iif && skb->dev->flags & IFF_LOOPBACK; in nf_is_loopback_packet()
|
| /linux/include/net/ |
| H A D | arp.h | 24 if (dev->flags & (IFF_LOOPBACK | IFF_POINTOPOINT)) in __ipv4_neigh_lookup_noref()
|
| /linux/net/appletalk/ |
| H A D | ddp.c | 366 if (!fiface && !(iface->dev->flags & IFF_LOOPBACK)) in atalk_find_primary() 368 if (!(iface->dev->flags & (IFF_LOOPBACK | IFF_POINTOPOINT))) { in atalk_find_primary() 751 if (!(dev->flags & IFF_LOOPBACK) && in atif_ioctl() 767 if (dev->flags & IFF_LOOPBACK || in atif_ioctl() 1625 (dev->flags & IFF_LOOPBACK || !(rt->flags & RTF_GATEWAY))) { in atalk_sendmsg() 1678 !(rt->flags & RTF_GATEWAY) && !(dev->flags & IFF_LOOPBACK)) { in atalk_sendmsg() 1691 if (dev->flags & IFF_LOOPBACK || loopback) { in atalk_sendmsg()
|
| /linux/net/ipv6/netfilter/ |
| H A D | ip6t_rpfilter.c | 87 return skb->pkt_type == PACKET_LOOPBACK || in->flags & IFF_LOOPBACK; in rpfilter_is_loopback()
|
| /linux/drivers/net/arcnet/ |
| H A D | arc-rawmode.c | 100 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
|
| H A D | rfc1051.c | 195 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
|
| H A D | capmode.c | 119 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
|
| H A D | rfc1201.c | 429 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H 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/ |
| H A D | ip6_input.c | 217 !(dev->flags & IFF_LOOPBACK) && in ip6_rcv_core() 228 dev->flags & IFF_LOOPBACK) && in ip6_rcv_core()
|
| H A D | ioam6.c | 746 if (dev->flags & IFF_LOOPBACK) in __ioam6_fill_trace_data() 801 if (dev->flags & IFF_LOOPBACK) { in __ioam6_fill_trace_data() 841 if (dev->flags & IFF_LOOPBACK) in __ioam6_fill_trace_data()
|
| H A D | exthdrs.c | 468 if (skb_dst_dev(skb)->flags & IFF_LOOPBACK) { in ipv6_srh_rcv() 627 if (skb_dst_dev(skb)->flags & IFF_LOOPBACK) { in ipv6_rpl_srh_rcv() 815 if (skb_dst_dev(skb)->flags & IFF_LOOPBACK) { in ipv6_rthdr_rcv()
|
| H A D | icmp.c | 217 } else if (dev && (dev->flags & IFF_LOOPBACK)) { in icmpv6_xrlim_allow() 737 if (!(skb->dev->flags & IFF_LOOPBACK) && in icmp6_send() 994 if ((!(skb->dev->flags & IFF_LOOPBACK) && in icmpv6_echo_reply()
|
| /linux/net/openvswitch/ |
| H A D | vport-netdev.c | 93 if (vport->dev->flags & IFF_LOOPBACK || in ovs_netdev_link()
|
| /linux/drivers/net/ |
| H A D | loopback.c | 173 dev->flags = IFF_LOOPBACK; in gen_lo_setup()
|
| /linux/net/hsr/ |
| H A D | hsr_slave.c | 103 if ((dev->flags & IFF_LOOPBACK) || dev->type != ARPHRD_ETHER || in hsr_check_dev_ok()
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_xmit.c | 153 return rt->dst.dev && rt->dst.dev->flags & IFF_LOOPBACK; in __ip_vs_is_local_route6() 172 (!skb->dev || skb->dev->flags & IFF_LOOPBACK) && in crosses_local_route_boundary() 902 if (local && skb->dev && !(skb->dev->flags & IFF_LOOPBACK) && in ip_vs_nat_xmit_v6() 1630 if (local && skb->dev && !(skb->dev->flags & IFF_LOOPBACK) && in ip_vs_icmp_xmit_v6()
|
| /linux/net/ipv4/ |
| H 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()
|
| H A D | arp.c | 232 if (dev->flags & (IFF_LOOPBACK | IFF_POINTOPOINT)) in arp_constructor() 273 } else if (dev->flags & (IFF_NOARP | IFF_LOOPBACK)) { in arp_constructor()
|
| H A D | tcp_fastopen.c | 668 if (!(dev && (dev->flags & IFF_LOOPBACK))) in tcp_fastopen_active_disable_ofo_check()
|
| /linux/net/ethernet/ |
| H A D | eth.c | 107 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in eth_header()
|
| /linux/net/netfilter/ |
| H A D | nf_flow_table_path.c | 38 if (!dev || (dev->flags & IFF_LOOPBACK) || dev->type != ARPHRD_ETHER || in nft_is_valid_ether_device()
|