fou.h 499 B

12345678910111213141516171819
  1. #ifndef __NET_FOU_H
  2. #define __NET_FOU_H
  3. #include <linux/skbuff.h>
  4. #include <net/flow.h>
  5. #include <net/gue.h>
  6. #include <net/ip_tunnels.h>
  7. #include <net/udp.h>
  8. size_t fou_encap_hlen(struct ip_tunnel_encap *e);
  9. static size_t gue_encap_hlen(struct ip_tunnel_encap *e);
  10. int fou_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e,
  11. u8 *protocol, struct flowi4 *fl4);
  12. int gue_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e,
  13. u8 *protocol, struct flowi4 *fl4);
  14. #endif