Home
last modified time | relevance | path

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

12

/linux/include/uapi/linux/
H 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/
H A 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/include/net/
H A Darp.h24 if (dev->flags & (IFF_LOOPBACK | IFF_POINTOPOINT)) in __ipv4_neigh_lookup_noref()
/linux/drivers/net/arcnet/
H A Darc-rawmode.c100 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
H A Drfc1051.c195 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
H A Dcapmode.c119 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
/linux/net/ipv6/netfilter/
H A Dip6t_rpfilter.c87 return skb->pkt_type == PACKET_LOOPBACK || in->flags & IFF_LOOPBACK; in rpfilter_is_loopback()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H 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/openvswitch/
H A Dvport-netdev.c144 if (vport->dev->flags & IFF_LOOPBACK || in netdev_create()
/linux/drivers/net/
H A Dloopback.c173 dev->flags = IFF_LOOPBACK; in gen_lo_setup()
/linux/net/ipv6/
H A Dip6_input.c257 !(dev->flags & IFF_LOOPBACK) && in ip6_rcv_core()
268 dev->flags & IFF_LOOPBACK) && in ip6_rcv_core()
H A Dicmp.c217 } else if (dev && (dev->flags & IFF_LOOPBACK)) { in icmpv6_xrlim_allow()
737 if (!(skb->dev->flags & IFF_LOOPBACK) && in icmp6_send()
997 if ((!(skb->dev->flags & IFF_LOOPBACK) && in icmpv6_echo_reply()
H A Dexthdrs.c462 if (skb_dst_dev(skb)->flags & IFF_LOOPBACK) { in ipv6_srh_rcv()
621 if (skb_dst_dev(skb)->flags & IFF_LOOPBACK) { in ipv6_rpl_srh_rcv()
813 if (skb_dst_dev(skb)->flags & IFF_LOOPBACK) { in ipv6_rthdr_rcv()
H A Danycast.c117 IFF_UP | IFF_LOOPBACK); in ipv6_sock_ac_join()
/linux/net/hsr/
H A Dhsr_slave.c103 if ((dev->flags & IFF_LOOPBACK) || dev->type != ARPHRD_ETHER || in hsr_check_dev_ok()
/linux/net/netfilter/ipvs/
H A Dip_vs_xmit.c164 return rt->dst.dev && rt->dst.dev->flags & IFF_LOOPBACK; in __ip_vs_is_local_route6()
183 (!skb->dev || skb->dev->flags & IFF_LOOPBACK) && in crosses_local_route_boundary()
915 if (local && skb->dev && !(skb->dev->flags & IFF_LOOPBACK) && in ip_vs_nat_xmit_v6()
1655 if (local && skb->dev && !(skb->dev->flags & IFF_LOOPBACK) && in ip_vs_icmp_xmit_v6()
/linux/include/net/netfilter/
H A Dnf_conntrack.h282 return skb->dev && skb->skb_iif && skb->dev->flags & IFF_LOOPBACK; in nf_is_loopback_packet()
/linux/net/ipv4/
H A Dfib_frontend.c1185 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr()
1212 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric()
1217 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_modify_prefix_metric()
1261 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_del_ifaddr()
H 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()
H A Darp.c231 if (dev->flags & (IFF_LOOPBACK | IFF_POINTOPOINT)) in arp_constructor()
272 } else if (dev->flags & (IFF_NOARP | IFF_LOOPBACK)) { in arp_constructor()
H A Dtcp_fastopen.c668 if (!(dev && (dev->flags & IFF_LOOPBACK))) in tcp_fastopen_active_disable_ofo_check()
H A Dicmp.c331 if (dev && (dev->flags & IFF_LOOPBACK)) in icmpv4_xrlim_allow()
917 if (!(skb_in->dev && (skb_in->dev->flags&IFF_LOOPBACK)) && in __icmp_send()
/linux/net/ethernet/
H A Deth.c107 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in eth_header()
/linux/net/netfilter/
H A Dnf_flow_table_path.c38 if (!dev || (dev->flags & IFF_LOOPBACK) || dev->type != ARPHRD_ETHER || in nft_is_valid_ether_device()
/linux/net/bridge/
H A Dbr_if.c569 if ((dev->flags & IFF_LOOPBACK) || in br_add_if()

12