Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
net
gre.h
Go to the documentation of this file.
1
#ifndef __LINUX_GRE_H
2
#define __LINUX_GRE_H
3
4
#include <
linux/skbuff.h
>
5
6
#define GREPROTO_CISCO 0
7
#define GREPROTO_PPTP 1
8
#define GREPROTO_MAX 2
9
10
struct
gre_protocol
{
11
int
(*
handler
)(
struct
sk_buff
*
skb
);
12
void
(*
err_handler
)(
struct
sk_buff
*
skb
,
u32
info
);
13
};
14
15
int
gre_add_protocol
(
const
struct
gre_protocol
*
proto
,
u8
version
);
16
int
gre_del_protocol
(
const
struct
gre_protocol
*
proto
,
u8
version
);
17
18
#endif
Generated on Thu Jan 10 2013 14:53:04 for Linux Kernel by
1.8.2