Tom Herbert | 63487ba | 2014-11-04 09:06:51 -0800 | [diff] [blame] | 1 | #ifndef __NET_FOU_H |
| 2 | #define __NET_FOU_H |
| 3 | |
| 4 | #include <linux/skbuff.h> |
| 5 | |
| 6 | #include <net/flow.h> |
| 7 | #include <net/gue.h> |
| 8 | #include <net/ip_tunnels.h> |
| 9 | #include <net/udp.h> |
| 10 | |
Tom Herbert | a8c5f90 | 2014-11-12 11:54:09 -0800 | [diff] [blame] | 11 | size_t fou_encap_hlen(struct ip_tunnel_encap *e); |
Tom Herbert | aa3463d | 2016-05-18 09:06:18 -0700 | [diff] [blame] | 12 | size_t gue_encap_hlen(struct ip_tunnel_encap *e); |
Tom Herbert | a8c5f90 | 2014-11-12 11:54:09 -0800 | [diff] [blame] | 13 | |
Tom Herbert | dc969b8 | 2016-05-18 09:06:15 -0700 | [diff] [blame] | 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); |
Tom Herbert | 63487ba | 2014-11-04 09:06:51 -0800 | [diff] [blame] | 18 | |
Tom Herbert | 63487ba | 2014-11-04 09:06:51 -0800 | [diff] [blame] | 19 | #endif |