fou.h 510 B

1234567891011121314151617181920
  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. 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, __be16 *sport, int type);
  12. int __gue_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e,
  13. u8 *protocol, __be16 *sport, int type);
  14. #endif