Home
last modified time | relevance | path

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

/linux-6.6.21/include/net/
Dip6_tunnel.h64 int encap_hlen; /* Encap header length (FOU,GUE) */ member
70 size_t (*encap_hlen)(struct ip_tunnel_encap *e); member
102 if (likely(ops && ops->encap_hlen)) in ip6_encap_hlen()
103 hlen = ops->encap_hlen(e); in ip6_encap_hlen()
Dip_tunnels.h142 int encap_hlen; /* Encap header length (FOU,GUE) */ member
324 size_t (*encap_hlen)(struct ip_tunnel_encap *e); member
376 if (likely(ops && ops->encap_hlen)) in ip_encap_hlen()
377 hlen = ops->encap_hlen(e); in ip_encap_hlen()
/linux-6.6.21/net/ipv6/
Dfou6.c159 .encap_hlen = fou_encap_hlen,
165 .encap_hlen = gue_encap_hlen,
Dip6_tunnel.c1095 unsigned int psh_hlen = sizeof(struct ipv6hdr) + t->encap_hlen; in ip6_tnl_xmit()
1492 t->hlen = t->encap_hlen + t->tun_hlen; in ip6_tnl_link_config()
1809 t->encap_hlen = hlen; in ip6_tnl_encap_setup()
1810 t->hlen = t->encap_hlen + t->tun_hlen; in ip6_tnl_encap_setup()
1889 t->hlen = t->encap_hlen + t->tun_hlen; in ip6_tnl_dev_init_gen()
Dip6_gre.c785 if (skb_cow_head(skb, dev->needed_headroom ?: tun_hlen + tunnel->encap_hlen)) in __gre6_xmit()
1180 tunnel->hlen = tunnel->tun_hlen + tunnel->encap_hlen; in ip6gre_calc_hlen()
1863 tunnel->hlen = tunnel->tun_hlen + tunnel->encap_hlen + in ip6erspan_calc_hlen()
/linux-6.6.21/net/tipc/
Dbearer.h174 u16 encap_hlen; member
Dudp_media.c741 b->encap_hlen = sizeof(struct iphdr) + sizeof(struct udphdr); in tipc_udp_enable()
759 b->encap_hlen = sizeof(struct ipv6hdr) + sizeof(struct udphdr); in tipc_udp_enable()
Dbearer.c550 mtu += b->encap_hlen; in tipc_bearer_min_mtu()
1159 b->encap_hlen + TIPC_MIN_BEARER_MTU) { in __tipc_nl_bearer_set()
/linux-6.6.21/net/ipv4/
Dipip.c388 tunnel->hlen = tunnel->tun_hlen + tunnel->encap_hlen; in ipip_tunnel_init()
Dfou_core.c1149 .encap_hlen = fou_encap_hlen,
1155 .encap_hlen = gue_encap_hlen,
Dip_tunnel.c491 t->encap_hlen = hlen; in ip_tunnel_encap_setup()
492 t->hlen = t->encap_hlen + t->tun_hlen; in ip_tunnel_encap_setup()
Dip_gre.c964 tunnel->hlen = tunnel->tun_hlen + tunnel->encap_hlen; in __gre_tunnel_init()
1305 tunnel->hlen = tunnel->tun_hlen + tunnel->encap_hlen + in erspan_tunnel_init()
/linux-6.6.21/net/mpls/
Daf_mpls.c51 .encap_hlen = ipgre_mpls_encap_hlen,