allow coexistance of N build and AC build.
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / include / net / gre.h
blob68369588a99cc8b49079f2f93df58986655b8ad0
1 #ifndef __LINUX_GRE_H
2 #define __LINUX_GRE_H
4 #include <linux/skbuff.h>
6 #define GREPROTO_CISCO 0
7 #define GREPROTO_PPTP 1
8 #define GREPROTO_MAX 2
10 struct gre_protocol {
11 int (*handler)(struct sk_buff *skb);
12 void (*err_handler)(struct sk_buff *skb, u32 info);
15 int gre_add_protocol(struct gre_protocol *proto, u8 version);
16 int gre_del_protocol(struct gre_protocol *proto, u8 version);
18 #endif