4 #include <linux/skbuff.h>
5 #include <net/ip_tunnels.h>
11 #define GRE_HEADER_SECTION 4
13 #define GREPROTO_CISCO 0
14 #define GREPROTO_PPTP 1
15 #define GREPROTO_MAX 2
16 #define GRE_IP_PROTO_MAX 2
19 int (*handler
)(struct sk_buff
*skb
);
20 void (*err_handler
)(struct sk_buff
*skb
, u32 info
);
23 int gre_add_protocol(const struct gre_protocol
*proto
, u8 version
);
24 int gre_del_protocol(const struct gre_protocol
*proto
, u8 version
);
26 struct net_device
*gretap_fb_dev_create(struct net
*net
, const char *name
,