blob: 19b8a0c62a9801a8401f1289a94c13c242bef6e7 [file] [log] [blame]
Tom Herbert63487ba2014-11-04 09:06:51 -08001#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 Herberta8c5f902014-11-12 11:54:09 -080011size_t fou_encap_hlen(struct ip_tunnel_encap *e);
12static size_t gue_encap_hlen(struct ip_tunnel_encap *e);
13
Tom Herbert63487ba2014-11-04 09:06:51 -080014int fou_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e,
15 u8 *protocol, struct flowi4 *fl4);
16int gue_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e,
17 u8 *protocol, struct flowi4 *fl4);
18
Tom Herbert63487ba2014-11-04 09:06:51 -080019#endif