Home
last modified time | relevance | path

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

123

/linux/include/uapi/linux/
A 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/drivers/net/ethernet/chelsio/libcxgb/
A Dlibcxgb_cm.c109 !(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 Dnft_fib.h18 return skb->pkt_type == PACKET_LOOPBACK || in->flags & IFF_LOOPBACK; in nft_fib_is_loopback()
A Dnf_conntrack.h271 return skb->dev && skb->skb_iif && skb->dev->flags & IFF_LOOPBACK; in nf_is_loopback_packet()
/linux/include/net/
A Darp.h24 if (dev->flags & (IFF_LOOPBACK | IFF_POINTOPOINT)) in __ipv4_neigh_lookup_noref()
/linux/net/appletalk/
A 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/net/ipv4/netfilter/
A Dipt_rpfilter.c51 return skb->pkt_type == PACKET_LOOPBACK || in->flags & IFF_LOOPBACK; in rpfilter_is_loopback()
/linux/drivers/net/arcnet/
A Darc-rawmode.c100 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
A Drfc1051.c194 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
A Dcapmode.c119 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
/linux/net/ipv6/netfilter/
A Dip6t_rpfilter.c87 return skb->pkt_type == PACKET_LOOPBACK || in->flags & IFF_LOOPBACK; in rpfilter_is_loopback()
/linux/drivers/infiniband/core/
A Daddr.c464 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 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/net/ipv6/
A Dip6_input.c205 !(dev->flags & IFF_LOOPBACK) && in ip6_rcv_core()
216 dev->flags & IFF_LOOPBACK) && in ip6_rcv_core()
A Dicmp.c219 } 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 Dexthdrs.c464 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 Dioam6.c667 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 Dvport-netdev.c86 if (vport->dev->flags & IFF_LOOPBACK || in ovs_netdev_link()
/linux/net/hsr/
A Dhsr_slave.c87 if ((dev->flags & IFF_LOOPBACK) || dev->type != ARPHRD_ETHER || in hsr_check_dev_ok()
/linux/drivers/net/
A Dloopback.c174 dev->flags = IFF_LOOPBACK; in gen_lo_setup()
/linux/net/netfilter/ipvs/
A 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/net/ipv4/
A Dfib_frontend.c1123 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 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()
A Darp.c230 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 Deth.c107 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in eth_header()

Completed in 38 milliseconds

123