Home
last modified time | relevance | path

Searched refs:t_hlen (Results 1 – 4 of 4) sorted by relevance

/linux/net/ipv6/
A Dip6_gre.c1118 int t_hlen) in ip6gre_tnl_link_config_route() argument
1136 t_hlen; in ip6gre_tnl_link_config_route()
1160 int t_hlen; in ip6gre_calc_hlen() local
1172 return t_hlen; in ip6gre_calc_hlen()
1467 int t_hlen; in ip6gre_tunnel_init_common() local
1487 t_hlen = ip6gre_calc_hlen(tunnel); in ip6gre_tunnel_init_common()
1488 dev->mtu = ETH_DATA_LEN - t_hlen; in ip6gre_tunnel_init_common()
1846 int t_hlen; in ip6erspan_calc_hlen() local
1854 return t_hlen; in ip6erspan_calc_hlen()
1860 int t_hlen; in ip6erspan_tap_init() local
[all …]
A Dsit.c879 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_xmit() local
978 mtu = dst_mtu(&rt->dst) - t_hlen; in ipip6_tunnel_xmit()
1013 max_headroom = LL_RESERVED_SPACE(tdev) + t_hlen; in ipip6_tunnel_xmit()
1134 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_bind_dev() local
1136 dev->mtu = tdev->mtu - t_hlen; in ipip6_tunnel_bind_dev()
1427 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_setup() local
1435 dev->mtu = ETH_DATA_LEN - t_hlen; in ipip6_tunnel_setup()
1437 dev->max_mtu = IP6_MAX_MTU - t_hlen; in ipip6_tunnel_setup()
A Dip6_tunnel.c1450 int t_hlen; in ip6_tnl_link_config() local
1476 t_hlen = t->hlen + sizeof(struct ipv6hdr); in ip6_tnl_link_config()
1494 dev->hard_header_len = tdev->hard_header_len + t_hlen; in ip6_tnl_link_config()
1497 dev->mtu = mtu - t_hlen; in ip6_tnl_link_config()
1858 int t_hlen; in ip6_tnl_dev_init_gen() local
1876 t_hlen = t->hlen + sizeof(struct ipv6hdr); in ip6_tnl_dev_init_gen()
1879 dev->hard_header_len = LL_MAX_HEADER + t_hlen; in ip6_tnl_dev_init_gen()
1880 dev->mtu = ETH_DATA_LEN - t_hlen; in ip6_tnl_dev_init_gen()
/linux/net/ipv4/
A Dip_tunnel.c286 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ip_tunnel_bind_dev() local
319 dev->needed_headroom = t_hlen + hlen; in ip_tunnel_bind_dev()
320 mtu -= t_hlen + (dev->type == ARPHRD_ETHER ? dev->hard_header_len : 0); in ip_tunnel_bind_dev()
334 int t_hlen; in ip_tunnel_create() local
348 t_hlen = nt->hlen + sizeof(struct iphdr); in ip_tunnel_create()
350 dev->max_mtu = IP_MAX_MTU - t_hlen; in ip_tunnel_create()
979 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in __ip_tunnel_change_mtu() local
980 int max_mtu = IP_MAX_MTU - t_hlen; in __ip_tunnel_change_mtu()

Completed in 16 milliseconds