Home
last modified time | relevance | path

Searched refs:IFF_LOOPBACK (Results 1 – 25 of 58) sorted by relevance

123

/linux-6.1.9/include/uapi/linux/
Dif.h88 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/
Dlibcxgb_cm.c110 !(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/
Dnft_fib.h18 return skb->pkt_type == PACKET_LOOPBACK || in->flags & IFF_LOOPBACK; in nft_fib_is_loopback()
Dnf_conntrack.h280 return skb->dev && skb->skb_iif && skb->dev->flags & IFF_LOOPBACK; in nf_is_loopback_packet()
/linux-6.1.9/include/net/
Darp.h24 if (dev->flags & (IFF_LOOPBACK | IFF_POINTOPOINT)) in __ipv4_neigh_lookup_noref()
/linux-6.1.9/net/ipv4/netfilter/
Dipt_rpfilter.c50 return skb->pkt_type == PACKET_LOOPBACK || in->flags & IFF_LOOPBACK; in rpfilter_is_loopback()
/linux-6.1.9/net/appletalk/
Dddp.c353 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/
Dip6t_rpfilter.c85 return skb->pkt_type == PACKET_LOOPBACK || in->flags & IFF_LOOPBACK; in rpfilter_is_loopback()
/linux-6.1.9/drivers/net/arcnet/
Darc-rawmode.c100 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
Drfc1051.c194 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
Dcapmode.c119 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
/linux-6.1.9/net/openvswitch/
Dvport-netdev.c86 if (vport->dev->flags & IFF_LOOPBACK || in ovs_netdev_link()
/linux-6.1.9/net/hsr/
Dhsr_slave.c87 if ((dev->flags & IFF_LOOPBACK) || dev->type != ARPHRD_ETHER || in hsr_check_dev_ok()
/linux-6.1.9/net/ipv6/
Dip6_input.c215 !(dev->flags & IFF_LOOPBACK) && in ip6_rcv_core()
226 dev->flags & IFF_LOOPBACK) && in ip6_rcv_core()
Dioam6.c671 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()
Dicmp.c211 } 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()
Dexthdrs.c470 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/
Dl2t.c158 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/
Daddr.c463 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/
Dloopback.c175 dev->flags = IFF_LOOPBACK; in gen_lo_setup()
/linux-6.1.9/net/ipv4/
Dfib_frontend.c1139 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()
Dipconfig.c202 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()
Dtcp_fastopen.c572 if (!(dst && dst->dev && (dst->dev->flags & IFF_LOOPBACK))) in tcp_fastopen_active_disable_ofo_check()
/linux-6.1.9/net/netfilter/ipvs/
Dip_vs_xmit.c161 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/
Deth.c107 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in eth_header()

123