Home
last modified time | relevance | path

Searched refs:tdev (Results 1 – 7 of 7) sorted by relevance

/net/ipv6/
A Dip6_vti.c445 struct net_device *tdev; in vti6_xmit() local
500 tdev = dst_dev(dst); in vti6_xmit()
502 if (tdev == dev) { in vti6_xmit()
653 struct net_device *tdev = NULL; in vti6_link_config() local
682 tdev = rt->dst.dev; in vti6_link_config()
686 if (!tdev && p->link) in vti6_link_config()
687 tdev = __dev_get_by_index(t->net, p->link); in vti6_link_config()
689 if (tdev) in vti6_link_config()
690 mtu = tdev->mtu - sizeof(struct ipv6hdr); in vti6_link_config()
A Dsit.c865 struct net_device *tdev; /* Device to other host */ in ipip6_tunnel_xmit() local
959 tdev = rt->dst.dev; in ipip6_tunnel_xmit()
961 if (tdev == dev) { in ipip6_tunnel_xmit()
1008 max_headroom = LL_RESERVED_SPACE(tdev) + t_hlen; in ipip6_tunnel_xmit()
1103 struct net_device *tdev = NULL; in ipip6_tunnel_bind_dev() local
1120 tdev = rt->dst.dev; in ipip6_tunnel_bind_dev()
1126 if (!tdev && tunnel->parms.link) in ipip6_tunnel_bind_dev()
1127 tdev = __dev_get_by_index(tunnel->net, tunnel->parms.link); in ipip6_tunnel_bind_dev()
1129 if (tdev && !netif_is_l3_master(tdev)) { in ipip6_tunnel_bind_dev()
1132 mtu = tdev->mtu - t_hlen; in ipip6_tunnel_bind_dev()
[all …]
A Dip6_tunnel.c1094 struct net_device *tdev; in ip6_tnl_xmit() local
1182 tdev = dst_dev(dst); in ip6_tnl_xmit()
1184 if (tdev == dev) { in ip6_tnl_xmit()
1221 max_headroom += LL_RESERVED_SPACE(tdev); in ip6_tnl_xmit()
1465 struct net_device *tdev = NULL; in ip6_tnl_link_config() local
1505 tdev = rt->dst.dev; in ip6_tnl_link_config()
1509 if (!tdev && p->link) in ip6_tnl_link_config()
1510 tdev = __dev_get_by_index(t->net, p->link); in ip6_tnl_link_config()
1512 if (tdev) { in ip6_tnl_link_config()
1513 dev->needed_headroom = tdev->hard_header_len + in ip6_tnl_link_config()
[all …]
/net/ipv4/
A Dip_tunnel.c282 struct net_device *tdev = NULL; in ip_tunnel_bind_dev() local
303 tdev = rt->dst.dev; in ip_tunnel_bind_dev()
312 if (!tdev && tunnel->parms.link) in ip_tunnel_bind_dev()
313 tdev = __dev_get_by_index(tunnel->net, tunnel->parms.link); in ip_tunnel_bind_dev()
315 if (tdev) { in ip_tunnel_bind_dev()
316 hlen = tdev->hard_header_len + tdev->needed_headroom; in ip_tunnel_bind_dev()
317 mtu = min(tdev->mtu, IP_MAX_MTU); in ip_tunnel_bind_dev()
A Dip_vti.c175 struct net_device *tdev; /* Device to other host */ in vti_xmit() local
232 tdev = dst_dev(dst); in vti_xmit()
234 if (tdev == dev) { in vti_xmit()
/net/netfilter/ipvs/
A Dip_vs_xmit.c1113 struct net_device *tdev; /* Device to other host */ in ip_vs_tunnel_xmit() local
1136 tdev = rt->dst.dev; in ip_vs_tunnel_xmit()
1141 max_headroom = LL_RESERVED_SPACE(tdev) + sizeof(struct iphdr); in ip_vs_tunnel_xmit()
1258 struct net_device *tdev; /* Device to other host */ in ip_vs_tunnel_xmit_v6() local
1281 tdev = rt->dst.dev; in ip_vs_tunnel_xmit_v6()
1286 max_headroom = LL_RESERVED_SPACE(tdev) + sizeof(struct ipv6hdr); in ip_vs_tunnel_xmit_v6()
/net/xfrm/
A Dxfrm_interface_core.c429 struct net_device *tdev; in xfrmi_xmit2() local
470 tdev = dst->dev; in xfrmi_xmit2()
472 if (tdev == dev) { in xfrmi_xmit2()
506 skb->dev = tdev; in xfrmi_xmit2()

Completed in 27 milliseconds