https://github.com/torvalds/linux
Raw File
Tip revision: c13dcf9f2d6f5f06ef1bf79ec456df614c5e058b authored by Linus Torvalds on 24 August 2015, 03:52:59 UTC
Linux 4.2-rc8
Tip revision: c13dcf9
fou.h
#ifndef __NET_FOU_H
#define __NET_FOU_H

#include <linux/skbuff.h>

#include <net/flow.h>
#include <net/gue.h>
#include <net/ip_tunnels.h>
#include <net/udp.h>

size_t fou_encap_hlen(struct ip_tunnel_encap *e);
static size_t gue_encap_hlen(struct ip_tunnel_encap *e);

int fou_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e,
		     u8 *protocol, struct flowi4 *fl4);
int gue_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e,
		     u8 *protocol, struct flowi4 *fl4);

#endif
back to top