4 #include <linux/skbuff.h>
8 #include <net/ip_tunnels.h>
11 int fou_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e,
12 u8 *protocol, struct flowi4 *fl4);
13 int gue_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e,
14 u8 *protocol, struct flowi4 *fl4);
16 static size_t fou_encap_hlen(struct ip_tunnel_encap *e)
18 return sizeof(struct udphdr);
21 static size_t gue_encap_hlen(struct ip_tunnel_encap *e)
23 return sizeof(struct udphdr) + sizeof(struct guehdr);