Home
last modified time | relevance | path

Searched refs:out_dev (Results 1 – 13 of 13) sorted by relevance

/net/mpls/
Dmpls_iptunnel.c44 struct net_device *out_dev; in mpls_xmit() local
70 out_dev = dst->dev; in mpls_xmit()
71 if (!mpls_output_possible(out_dev) || in mpls_xmit()
81 mtu = mpls_dev_mtu(out_dev); in mpls_xmit()
85 hh_len = LL_RESERVED_SPACE(out_dev); in mpls_xmit()
86 if (!out_dev->header_ops) in mpls_xmit()
100 skb->dev = out_dev; in mpls_xmit()
113 err = neigh_xmit(NEIGH_ARP_TABLE, out_dev, &rt->rt_gateway, in mpls_xmit()
116 err = neigh_xmit(NEIGH_ND_TABLE, out_dev, &rt6->rt6i_gateway, in mpls_xmit()
Daf_mpls.c258 struct net_device *out_dev; in mpls_forward() local
293 out_dev = rcu_dereference(nh->nh_dev); in mpls_forward()
294 if (!mpls_output_possible(out_dev)) in mpls_forward()
315 mtu = mpls_dev_mtu(out_dev); in mpls_forward()
319 hh_len = LL_RESERVED_SPACE(out_dev); in mpls_forward()
320 if (!out_dev->header_ops) in mpls_forward()
327 skb->dev = out_dev; in mpls_forward()
351 err = neigh_xmit(NEIGH_LINK_TABLE, out_dev, in mpls_forward()
352 out_dev->dev_addr, skb); in mpls_forward()
354 err = neigh_xmit(nh->nh_via_table, out_dev, in mpls_forward()
/net/phonet/
Daf_phonet.c429 struct net_device *out_dev; in phonet_rcv() local
431 out_dev = phonet_route_output(net, pn_sockaddr_get_addr(&sa)); in phonet_rcv()
432 if (!out_dev) { in phonet_rcv()
439 skb->dev = out_dev; in phonet_rcv()
440 if (out_dev == dev) { in phonet_rcv()
444 goto out_dev; in phonet_rcv()
447 if (skb_cow_head(skb, out_dev->hard_header_len)) in phonet_rcv()
448 goto out_dev; in phonet_rcv()
450 if (dev_hard_header(skb, out_dev, ETH_P_PHONET, NULL, NULL, in phonet_rcv()
452 goto out_dev; in phonet_rcv()
[all …]
/net/ieee802154/
Dnl-phy.c104 goto out_dev; in ieee802154_list_phy()
116 out_dev: in ieee802154_list_phy()
209 goto out_dev; in ieee802154_add_iface()
267 out_dev: in ieee802154_add_iface()
307 goto out_dev; in ieee802154_del_iface()
311 goto out_dev; in ieee802154_del_iface()
315 goto out_dev; in ieee802154_del_iface()
323 goto out_dev; in ieee802154_del_iface()
343 out_dev: in ieee802154_del_iface()
Dsocket.c284 goto out_dev; in raw_sendmsg()
292 goto out_dev; in raw_sendmsg()
317 out_dev: in raw_sendmsg()
650 goto out_dev; in dgram_sendmsg()
659 goto out_dev; in dgram_sendmsg()
706 out_dev: in dgram_sendmsg()
Dnl-mac.c429 goto out_dev; in ieee802154_list_iface()
441 out_dev: in ieee802154_list_iface()
668 goto out_dev; in ieee802154_llsec_getparams()
673 goto out_dev; in ieee802154_llsec_getparams()
698 out_dev: in ieee802154_llsec_getparams()
/net/decnet/
Ddn_route.c1311 struct net_device *out_dev = NULL; in dn_route_input_slow() local
1364 out_dev = DN_FIB_RES_DEV(res); in dn_route_input_slow()
1365 if (out_dev == NULL) { in dn_route_input_slow()
1369 dev_hold(out_dev); in dn_route_input_slow()
1410 if (out_dev == in_dev && !(flags & RTCF_NAT)) in dn_route_input_slow()
1448 rt = dst_alloc(&dn_dst_ops, out_dev, 0, DST_OBSOLETE_NONE, DST_HOST); in dn_route_input_slow()
1503 if (out_dev) in dn_route_input_slow()
1504 dev_put(out_dev); in dn_route_input_slow()
/net/core/
Dnet-procfs.c324 goto out_dev; in dev_proc_net_init()
337 out_dev: in dev_proc_net_init()
/net/ipv4/
Droute.c1631 struct in_device *out_dev; in __mkroute_input() local
1636 out_dev = __in_dev_get_rcu(FIB_RES_DEV(*res)); in __mkroute_input()
1637 if (!out_dev) { in __mkroute_input()
1652 if (out_dev == in_dev && err && IN_DEV_TX_REDIRECTS(out_dev) && in __mkroute_input()
1654 (IN_DEV_SHARED_MEDIA(out_dev) || in __mkroute_input()
1655 inet_addr_onlink(out_dev, saddr, FIB_RES_GW(*res)))) in __mkroute_input()
1666 if (out_dev == in_dev && in __mkroute_input()
1695 rth = rt_dst_alloc(out_dev->dev, 0, res->type, in __mkroute_input()
1697 IN_DEV_CONF_GET(out_dev, NOXFRM), do_cache); in __mkroute_input()
Darp.c457 struct in_device *out_dev; in arp_fwd_proxy() local
473 out_dev = __in_dev_get_rcu(rt->dst.dev); in arp_fwd_proxy()
474 if (out_dev) in arp_fwd_proxy()
475 omi = IN_DEV_MEDIUM_ID(out_dev); in arp_fwd_proxy()
/net/netfilter/
Dxt_IDLETIMER.c513 goto out_dev; in idletimer_tg_init()
517 out_dev: in idletimer_tg_init()
/net/ipx/
Daf_ipx.c989 goto out_dev; in ipxitf_create()
994 goto out_dev; in ipxitf_create()
999 goto out_dev; in ipxitf_create()
1009 goto out_dev; in ipxitf_create()
1034 out_dev: in ipxitf_create()
/net/x25/
Daf_x25.c1811 goto out_dev; in x25_init()
1823 out_dev: in x25_init()