vhost_net: disable zerocopy by default
[linux/fpc-iii.git] / include / net / fou.h
blobf5cc6910a27e25bcf9d124b00cc19806bba5ec21
1 #ifndef __NET_FOU_H
2 #define __NET_FOU_H
4 #include <linux/skbuff.h>
6 #include <net/flow.h>
7 #include <net/gue.h>
8 #include <net/ip_tunnels.h>
9 #include <net/udp.h>
11 size_t fou_encap_hlen(struct ip_tunnel_encap *e);
12 size_t gue_encap_hlen(struct ip_tunnel_encap *e);
14 int __fou_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e,
15 u8 *protocol, __be16 *sport, int type);
16 int __gue_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e,
17 u8 *protocol, __be16 *sport, int type);
19 #endif