Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: bfa76d49576599a4b9f9b7a71f23d73d6dcff735 authored by Linus Torvalds on 09 February 2015, 02:54:22 UTC
Linux 3.19
Tip revision: bfa76d4
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