/linux-6.1.9/include/uapi/linux/ |
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-6.1.9/drivers/net/ethernet/chelsio/libcxgb/ |
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-6.1.9/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 | 280 return skb->dev && skb->skb_iif && skb->dev->flags & IFF_LOOPBACK; in nf_is_loopback_packet()
|
/linux-6.1.9/include/net/ |
D | arp.h | 24 if (dev->flags & (IFF_LOOPBACK | IFF_POINTOPOINT)) in __ipv4_neigh_lookup_noref()
|
/linux-6.1.9/net/ipv4/netfilter/ |
D | ipt_rpfilter.c | 50 return skb->pkt_type == PACKET_LOOPBACK || in->flags & IFF_LOOPBACK; in rpfilter_is_loopback()
|
/linux-6.1.9/net/appletalk/ |
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-6.1.9/net/ipv6/netfilter/ |
D | ip6t_rpfilter.c | 85 return skb->pkt_type == PACKET_LOOPBACK || in->flags & IFF_LOOPBACK; in rpfilter_is_loopback()
|
/linux-6.1.9/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-6.1.9/net/openvswitch/ |
D | vport-netdev.c | 86 if (vport->dev->flags & IFF_LOOPBACK || in ovs_netdev_link()
|
/linux-6.1.9/net/hsr/ |
D | hsr_slave.c | 87 if ((dev->flags & IFF_LOOPBACK) || dev->type != ARPHRD_ETHER || in hsr_check_dev_ok()
|
/linux-6.1.9/net/ipv6/ |
D | ip6_input.c | 215 !(dev->flags & IFF_LOOPBACK) && in ip6_rcv_core() 226 dev->flags & IFF_LOOPBACK) && in ip6_rcv_core()
|
D | ioam6.c | 671 if (skb_dst(skb)->dev->flags & IFF_LOOPBACK) in __ioam6_fill_trace_data() 726 if (skb_dst(skb)->dev->flags & IFF_LOOPBACK) { in __ioam6_fill_trace_data() 766 if (skb_dst(skb)->dev->flags & IFF_LOOPBACK) in __ioam6_fill_trace_data()
|
D | icmp.c | 211 } else if (dst->dev && (dst->dev->flags&IFF_LOOPBACK)) { in icmpv6_xrlim_allow() 535 if (!(skb->dev->flags & IFF_LOOPBACK) && !icmpv6_global_allow(net, type)) in icmp6_send() 778 if ((!(skb->dev->flags & IFF_LOOPBACK) && !icmpv6_global_allow(net, ICMPV6_ECHO_REPLY)) || in icmpv6_echo_reply()
|
D | exthdrs.c | 470 if (skb_dst(skb)->dev->flags & IFF_LOOPBACK) { in ipv6_srh_rcv() 656 if (skb_dst(skb)->dev->flags & IFF_LOOPBACK) { in ipv6_rpl_srh_rcv() 845 if (skb_dst(skb)->dev->flags&IFF_LOOPBACK) { in ipv6_rthdr_rcv()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/ |
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-6.1.9/drivers/infiniband/core/ |
D | addr.c | 463 if (ndev_flags & IFF_LOOPBACK) { in addr_resolve_neigh() 481 if (dst->dev->flags & IFF_LOOPBACK) in copy_src_l2_addr() 511 if (ndev->flags & IFF_LOOPBACK) { in rdma_set_src_addr_rcu()
|
/linux-6.1.9/drivers/net/ |
D | loopback.c | 175 dev->flags = IFF_LOOPBACK; in gen_lo_setup()
|
/linux-6.1.9/net/ipv4/ |
D | fib_frontend.c | 1139 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr() 1166 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric() 1171 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric() 1215 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_del_ifaddr()
|
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()
|
D | tcp_fastopen.c | 572 if (!(dst && dst->dev && (dst->dev->flags & IFF_LOOPBACK))) in tcp_fastopen_active_disable_ofo_check()
|
/linux-6.1.9/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-6.1.9/net/ethernet/ |
D | eth.c | 107 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in eth_header()
|