Searched refs:encap_len (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/net/ipv6/
H A Dila.c136 size_t encap_len = sizeof(*p); ila_build_state() local
152 newts = lwtunnel_state_alloc(encap_len); ila_build_state()
156 newts->len = encap_len; ila_build_state()
/linux-4.4.14/net/core/
H A Dlwtunnel.c30 struct lwtunnel_state *lwtunnel_state_alloc(int encap_len) lwtunnel_state_alloc() argument
34 lws = kzalloc(sizeof(*lws) + encap_len, GFP_ATOMIC); lwtunnel_state_alloc()
/linux-4.4.14/drivers/net/
H A Dgeneve.c1165 int err, encap_len; geneve_configure() local
1198 encap_len = GENEVE_BASE_HLEN + ETH_HLEN; geneve_configure()
1200 encap_len += sizeof(struct iphdr); geneve_configure()
1202 encap_len += sizeof(struct ipv6hdr); geneve_configure()
1203 dev->needed_headroom = encap_len + ETH_HLEN; geneve_configure()

Completed in 233 milliseconds