Home
last modified time | relevance | path

Searched refs:t_hlen (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/net/ipv6/
H A Dip6_gre.c1134 int t_hlen) in ip6gre_tnl_link_config_route()
1152 t_hlen; in ip6gre_tnl_link_config_route()
1160 int mtu = rt->dst.dev->mtu - t_hlen; in ip6gre_tnl_link_config_route()
1178 int t_hlen; in ip6gre_calc_hlen() local
1183 t_hlen = tunnel->hlen + sizeof(struct ipv6hdr); in ip6gre_calc_hlen()
1186 tunnel->dev->hard_header_len = LL_MAX_HEADER + t_hlen; in ip6gre_calc_hlen()
1188 tunnel->dev->needed_headroom = LL_MAX_HEADER + t_hlen; in ip6gre_calc_hlen()
1190 return t_hlen; in ip6gre_calc_hlen()
1484 int t_hlen; in ip6gre_tunnel_init_common() local
1504 t_hlen in ip6gre_tunnel_init_common()
1133 ip6gre_tnl_link_config_route(struct ip6_tnl *t, int set_mtu, int t_hlen) ip6gre_tnl_link_config_route() argument
1863 int t_hlen; ip6erspan_calc_hlen() local
1877 int t_hlen; ip6erspan_tap_init() local
[all...]
H A Dsit.c870 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_xmit() local
969 mtu = dst_mtu(&rt->dst) - t_hlen; in ipip6_tunnel_xmit()
1004 max_headroom = LL_RESERVED_SPACE(tdev) + t_hlen; in ipip6_tunnel_xmit()
1098 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_bind_dev() local
1128 mtu = tdev->mtu - t_hlen; in ipip6_tunnel_bind_dev()
1134 dev->needed_headroom = t_hlen + hlen; in ipip6_tunnel_bind_dev()
1420 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_setup() local
1428 dev->mtu = ETH_DATA_LEN - t_hlen; in ipip6_tunnel_setup()
1430 dev->max_mtu = IP6_MAX_MTU - t_hlen; in ipip6_tunnel_setup()
H A Dip6_tunnel.c1489 int t_hlen; in ip6_tnl_link_config() local
1516 t_hlen = t->hlen + sizeof(struct ipv6hdr); in ip6_tnl_link_config()
1534 dev->hard_header_len = tdev->hard_header_len + t_hlen; in ip6_tnl_link_config()
1537 mtu = mtu - t_hlen; in ip6_tnl_link_config()
1898 int t_hlen; in ip6_tnl_dev_init_gen() local
1916 t_hlen = t->hlen + sizeof(struct ipv6hdr); in ip6_tnl_dev_init_gen()
1919 dev->hard_header_len = LL_MAX_HEADER + t_hlen; in ip6_tnl_dev_init_gen()
1920 dev->mtu = ETH_DATA_LEN - t_hlen; in ip6_tnl_dev_init_gen()
/kernel/linux/linux-6.6/net/ipv6/
H A Dip6_gre.c1133 int t_hlen) in ip6gre_tnl_link_config_route()
1151 t_hlen; in ip6gre_tnl_link_config_route()
1159 int mtu = rt->dst.dev->mtu - t_hlen; in ip6gre_tnl_link_config_route()
1177 int t_hlen; in ip6gre_calc_hlen() local
1182 t_hlen = tunnel->hlen + sizeof(struct ipv6hdr); in ip6gre_calc_hlen()
1185 tunnel->dev->hard_header_len = LL_MAX_HEADER + t_hlen; in ip6gre_calc_hlen()
1187 tunnel->dev->needed_headroom = LL_MAX_HEADER + t_hlen; in ip6gre_calc_hlen()
1189 return t_hlen; in ip6gre_calc_hlen()
1481 int t_hlen; in ip6gre_tunnel_init_common() local
1501 t_hlen in ip6gre_tunnel_init_common()
1132 ip6gre_tnl_link_config_route(struct ip6_tnl *t, int set_mtu, int t_hlen) ip6gre_tnl_link_config_route() argument
1860 int t_hlen; ip6erspan_calc_hlen() local
1874 int t_hlen; ip6erspan_tap_init() local
[all...]
H A Dsit.c871 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_xmit() local
970 mtu = dst_mtu(&rt->dst) - t_hlen; in ipip6_tunnel_xmit()
1005 max_headroom = LL_RESERVED_SPACE(tdev) + t_hlen; in ipip6_tunnel_xmit()
1099 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_bind_dev() local
1129 mtu = tdev->mtu - t_hlen; in ipip6_tunnel_bind_dev()
1135 dev->needed_headroom = t_hlen + hlen; in ipip6_tunnel_bind_dev()
1423 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ipip6_tunnel_setup() local
1431 dev->mtu = ETH_DATA_LEN - t_hlen; in ipip6_tunnel_setup()
1433 dev->max_mtu = IP6_MAX_MTU - t_hlen; in ipip6_tunnel_setup()
H A Dip6_tunnel.c1466 int t_hlen; in ip6_tnl_link_config() local
1493 t_hlen = t->hlen + sizeof(struct ipv6hdr); in ip6_tnl_link_config()
1511 dev->hard_header_len = tdev->hard_header_len + t_hlen; in ip6_tnl_link_config()
1514 mtu = mtu - t_hlen; in ip6_tnl_link_config()
1872 int t_hlen; in ip6_tnl_dev_init_gen() local
1890 t_hlen = t->hlen + sizeof(struct ipv6hdr); in ip6_tnl_dev_init_gen()
1893 dev->hard_header_len = LL_MAX_HEADER + t_hlen; in ip6_tnl_dev_init_gen()
1894 dev->mtu = ETH_DATA_LEN - t_hlen; in ip6_tnl_dev_init_gen()
/kernel/linux/linux-5.10/net/ipv4/
H 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()
1005 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in __ip_tunnel_change_mtu() local
1006 int max_mtu = IP_MAX_MTU - t_hlen; in __ip_tunnel_change_mtu()
/kernel/linux/linux-6.6/net/ipv4/
H 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()
1027 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in __ip_tunnel_change_mtu() local
1028 int max_mtu = IP_MAX_MTU - t_hlen; in __ip_tunnel_change_mtu()

Completed in 18 milliseconds