Searched refs:encap_len (Results 1 – 2 of 2) sorted by relevance
/net/core/ |
D | lwt_bpf.c | 523 int encap_len) in handle_gso_type() argument 529 skb_decrease_gso_size(shinfo, encap_len); in handle_gso_type() 534 static int handle_gso_encap(struct sk_buff *skb, bool ipv4, int encap_len) in handle_gso_encap() argument 560 if (next_hdr_offset > encap_len) in handle_gso_encap() 565 encap_len); in handle_gso_encap() 566 return handle_gso_type(skb, SKB_GSO_GRE, encap_len); in handle_gso_encap() 570 if (next_hdr_offset > encap_len) in handle_gso_encap() 575 encap_len); in handle_gso_encap() 576 return handle_gso_type(skb, SKB_GSO_UDP_TUNNEL, encap_len); in handle_gso_encap() 581 return handle_gso_type(skb, SKB_GSO_IPXIP4, encap_len); in handle_gso_encap() [all …]
|
D | lwtunnel.c | 59 struct lwtunnel_state *lwtunnel_state_alloc(int encap_len) in lwtunnel_state_alloc() argument 63 lws = kzalloc(sizeof(*lws) + encap_len, GFP_ATOMIC); in lwtunnel_state_alloc()
|