Searched refs:IFF_LOOPBACK (Results 1 – 25 of 44) sorted by relevance
12
34 #define IFF_LOOPBACK 0x8 /* is a loopback net */ macro56 #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|\
166 dev->flags = IFF_LOOPBACK; in loopback_setup()
152 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
203 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
119 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
426 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in build_header()
198 if (rt->dst.dev->flags & IFF_LOOPBACK) { in addr4_resolve()258 if (dst->dev->flags & IFF_LOOPBACK) { in addr6_resolve()
360 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()
193 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()
107 if (dev->flags & (IFF_LOOPBACK | IFF_NOARP)) { in eth_header()
110 if (!(dev->flags & IFF_LOOPBACK) && in ipv6_rcv()
321 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()
94 IFF_UP | IFF_LOOPBACK); in ipv6_sock_ac_join()
403 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()
184 } else if (dst->dev && (dst->dev->flags&IFF_LOOPBACK)) { in icmpv6_xrlim_allow()
478 if (skb_dst(skb)->dev->flags&IFF_LOOPBACK) { in ipv6_rthdr_rcv()
194 (!(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()
713 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()
311 } else if (dev->flags & (IFF_NOARP | IFF_LOOPBACK)) { in arp_constructor()530 if (dev->flags & (IFF_LOOPBACK | IFF_POINTOPOINT)) in arp_bind_neighbour()
395 if ((dev->flags & IFF_LOOPBACK) || in br_add_if()
72 if (net_dev->flags & IFF_LOOPBACK) in is_valid_iface()
368 if (neigh->dev->flags & IFF_LOOPBACK) in cxgb4_l2t_get()
783 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()
83 if (llc->dev->flags & IFF_LOOPBACK) in llc_util_nr_inside_tx_window()
354 !(skb->dev->flags & IFF_LOOPBACK)) { in llc_conn_send_pdus()