Home
last modified time | relevance | path

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

12

/linux-2.6.39/include/linux/
Dif.h34 #define IFF_LOOPBACK 0x8 /* is a loopback net */ macro
56 #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|\
/linux-2.6.39/drivers/net/
Dloopback.c166 dev->flags = IFF_LOOPBACK; in loopback_setup()
/linux-2.6.39/drivers/net/arcnet/
Darc-rawmode.c152 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
Drfc1051.c203 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
Dcapmode.c119 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
Drfc1201.c426 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
/linux-2.6.39/drivers/infiniband/core/
Daddr.c198 if (rt->dst.dev->flags & IFF_LOOPBACK) { in addr4_resolve()
258 if (dst->dev->flags & IFF_LOOPBACK) { in addr6_resolve()
/linux-2.6.39/net/appletalk/
Dddp.c360 if (!fiface && !(iface->dev->flags & IFF_LOOPBACK)) in atalk_find_primary()
362 if (!(iface->dev->flags & (IFF_LOOPBACK | IFF_POINTOPOINT))) { in atalk_find_primary()
744 if (!(dev->flags & IFF_LOOPBACK) && in atif_ioctl()
760 if (dev->flags & IFF_LOOPBACK || in atif_ioctl()
1688 !(rt->flags & RTF_GATEWAY) && !(dev->flags & IFF_LOOPBACK)) { in atalk_sendmsg()
1701 if (dev->flags & IFF_LOOPBACK || loopback) { in atalk_sendmsg()
/linux-2.6.39/net/netfilter/ipvs/
Dip_vs_xmit.c193 return rt->rt6i_dev && rt->rt6i_dev->flags & IFF_LOOPBACK; in __ip_vs_is_local_route6()
292 if (unlikely(!local && (!skb->dev || skb->dev->flags & IFF_LOOPBACK) && in __ip_vs_get_out_rt_v6()
657 if (local && skb->dev && !(skb->dev->flags & IFF_LOOPBACK) && in ip_vs_nat_xmit_v6()
1280 if (local && skb->dev && !(skb->dev->flags & IFF_LOOPBACK) && in ip_vs_icmp_xmit_v6()
/linux-2.6.39/net/ethernet/
Deth.c107 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in eth_header()
/linux-2.6.39/net/ipv6/
Dip6_input.c110 if (!(dev->flags & IFF_LOOPBACK) && in ipv6_rcv()
Droute.c321 if (dev->flags & IFF_LOOPBACK) { in rt6_device_match()
393 if ((dev->flags & IFF_LOOPBACK) && in rt6_check_dev()
1258 (dev && (dev->flags&IFF_LOOPBACK) && !(addr_type&IPV6_ADDR_LOOPBACK) in ip6_route_add()
1327 if (dev == NULL || (dev->flags&IFF_LOOPBACK)) in ip6_route_add()
2287 else if (rt->rt6i_dev && (rt->rt6i_dev->flags&IFF_LOOPBACK)) in rt6_fill_node()
2497 if (event == NETDEV_REGISTER && (dev->flags & IFF_LOOPBACK)) { in ip6_route_dev_notify()
Danycast.c94 IFF_UP | IFF_LOOPBACK); in ipv6_sock_ac_join()
Daddrconf.c403 if (dev->flags & (IFF_NOARP | IFF_LOOPBACK)) in ipv6_add_dev()
418 if ((dev->flags&IFF_LOOPBACK) || in ipv6_add_dev()
612 (!(idev->dev->flags & IFF_LOOPBACK) && in ipv6_add_addr()
1462 if (dev->flags&(IFF_LOOPBACK|IFF_NOARP)) in addrconf_join_solict()
1473 if (idev->dev->flags&(IFF_LOOPBACK|IFF_NOARP)) in addrconf_leave_solict()
2847 if (dev->flags&(IFF_NOARP|IFF_LOOPBACK) || in addrconf_dad_start()
2950 (dev->flags&IFF_LOOPBACK) == 0 && in addrconf_dad_completed()
Dicmp.c184 } else if (dst->dev && (dst->dev->flags&IFF_LOOPBACK)) { in icmpv6_xrlim_allow()
Dexthdrs.c478 if (skb_dst(skb)->dev->flags&IFF_LOOPBACK) { in ipv6_rthdr_rcv()
/linux-2.6.39/net/ipv4/
Dipconfig.c194 (!(dev->flags & IFF_LOOPBACK) && in ic_device_match()
212 if (!(dev->flags & IFF_LOOPBACK)) in ic_open_devs()
219 if (dev->flags & IFF_LOOPBACK) in ic_open_devs()
Dfib_frontend.c713 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_add_ifaddr()
760 dev->flags & IFF_LOOPBACK ? RTN_LOCAL : RTN_UNICAST, in fib_del_ifaddr()
Darp.c311 } else if (dev->flags & (IFF_NOARP | IFF_LOOPBACK)) { in arp_constructor()
530 if (dev->flags & (IFF_LOOPBACK | IFF_POINTOPOINT)) in arp_bind_neighbour()
/linux-2.6.39/net/bridge/
Dbr_if.c395 if ((dev->flags & IFF_LOOPBACK) || in br_add_if()
/linux-2.6.39/net/batman-adv/
Dhard-interface.c72 if (net_dev->flags & IFF_LOOPBACK) in is_valid_iface()
/linux-2.6.39/drivers/net/cxgb4/
Dl2t.c368 if (neigh->dev->flags & IFF_LOOPBACK) in cxgb4_l2t_get()
/linux-2.6.39/net/llc/
Dllc_c_ac.c783 if (llc->dev->flags & IFF_LOOPBACK) in llc_conn_ac_send_sabme_cmd_p_set_x()
1181 if (acked > 0 || (llc->dev->flags & IFF_LOOPBACK)) { in llc_conn_ac_upd_nr_received()
Dllc_c_ev.c83 if (llc->dev->flags & IFF_LOOPBACK) in llc_util_nr_inside_tx_window()
Dllc_conn.c354 !(skb->dev->flags & IFF_LOOPBACK)) { in llc_conn_send_pdus()

12