Home
last modified time | relevance | path

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

/linux-6.15/net/ipv6/
H A Dip6_gre.c1150 int t_hlen) in ip6gre_tnl_link_config_route() argument
1168 t_hlen; in ip6gre_tnl_link_config_route()
1194 int t_hlen; in ip6gre_calc_hlen() local
1206 return t_hlen; in ip6gre_calc_hlen()
1497 int t_hlen; in ip6gre_tunnel_init_common() local
1512 t_hlen = ip6gre_calc_hlen(tunnel); in ip6gre_tunnel_init_common()
1513 dev->mtu = ETH_DATA_LEN - t_hlen; in ip6gre_tunnel_init_common()
1865 int t_hlen; in ip6erspan_calc_hlen() local
1873 return t_hlen; in ip6erspan_calc_hlen()
1879 int t_hlen; in ip6erspan_tap_init() local
[all …]
H A Dip6_tunnel.c1468 int t_hlen; in ip6_tnl_link_config() local
1495 t_hlen = t->hlen + sizeof(struct ipv6hdr); in ip6_tnl_link_config()
1514 tdev->needed_headroom + t_hlen; in ip6_tnl_link_config()
1517 mtu = mtu - t_hlen; in ip6_tnl_link_config()
1738 int t_hlen; in ip6_tnl_change_mtu() local
1740 t_hlen = tnl->hlen + sizeof(struct ipv6hdr); in ip6_tnl_change_mtu()
1749 if (new_mtu > IP6_MAX_MTU - dev->hard_header_len - t_hlen) in ip6_tnl_change_mtu()
1752 if (new_mtu > IP_MAX_MTU - dev->hard_header_len - t_hlen) in ip6_tnl_change_mtu()
1878 int t_hlen; in ip6_tnl_dev_init_gen() local
1892 t_hlen = t->hlen + sizeof(struct ipv6hdr); in ip6_tnl_dev_init_gen()
[all …]
H A Dsit.c874 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_xmit() local
973 mtu = dst_mtu(&rt->dst) - t_hlen; in ipip6_tunnel_xmit()
1008 max_headroom = LL_RESERVED_SPACE(tdev) + t_hlen; in ipip6_tunnel_xmit()
1102 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_bind_dev() local
1132 mtu = tdev->mtu - t_hlen; in ipip6_tunnel_bind_dev()
1138 dev->needed_headroom = t_hlen + hlen; in ipip6_tunnel_bind_dev()
1426 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_setup() local
1434 dev->mtu = ETH_DATA_LEN - t_hlen; in ipip6_tunnel_setup()
1436 dev->max_mtu = IP6_MAX_MTU - t_hlen; in ipip6_tunnel_setup()
/linux-6.15/net/ipv4/
H A Dip_tunnel.c287 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ip_tunnel_bind_dev() local
320 dev->needed_headroom = t_hlen + hlen; in ip_tunnel_bind_dev()
321 mtu -= t_hlen + (dev->type == ARPHRD_ETHER ? dev->hard_header_len : 0); in ip_tunnel_bind_dev()
335 int t_hlen; in ip_tunnel_create() local
349 t_hlen = nt->hlen + sizeof(struct iphdr); in ip_tunnel_create()
351 dev->max_mtu = IP_MAX_MTU - t_hlen; in ip_tunnel_create()
1071 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in __ip_tunnel_change_mtu() local
1072 int max_mtu = IP_MAX_MTU - t_hlen; in __ip_tunnel_change_mtu()