Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
l2tp_session Struct Reference

#include <l2tp_core.h>

Data Fields

int magic
 
struct l2tp_tunneltunnel
 
u32 session_id
 
u32 peer_session_id
 
u8 cookie [8]
 
int cookie_len
 
u8 peer_cookie [8]
 
int peer_cookie_len
 
u16 offset
 
u16 l2specific_len
 
u16 l2specific_type
 
u16 hdr_len
 
u32 nr
 
u32 ns
 
struct sk_buff_head reorder_q
 
struct hlist_node hlist
 
atomic_t ref_count
 
char name [32]
 
char ifname [IFNAMSIZ]
 
unsigned int data_seq:2
 
unsigned int recv_seq:1
 
unsigned int send_seq:1
 
unsigned int lns_mode:1
 
int debug
 
int reorder_timeout
 
int reorder_skip
 
int mtu
 
int mru
 
enum l2tp_pwtype pwtype
 
struct l2tp_stats stats
 
struct hlist_node global_hlist
 
int(* build_header )(struct l2tp_session *session, void *buf)
 
void(* recv_skb )(struct l2tp_session *session, struct sk_buff *skb, int data_len)
 
void(* session_close )(struct l2tp_session *session)
 
void(* ref )(struct l2tp_session *session)
 
void(* deref )(struct l2tp_session *session)
 
uint8_t priv [0]
 

Detailed Description

Definition at line 86 of file l2tp_core.h.

Field Documentation

int(* build_header)(struct l2tp_session *session, void *buf)

Definition at line 133 of file l2tp_core.h.

u8 cookie[8]

Definition at line 94 of file l2tp_core.h.

int cookie_len

Definition at line 95 of file l2tp_core.h.

unsigned int data_seq

Definition at line 111 of file l2tp_core.h.

int debug

Definition at line 122 of file l2tp_core.h.

void(* deref)(struct l2tp_session *session)

Definition at line 137 of file l2tp_core.h.

struct hlist_node global_hlist

Definition at line 131 of file l2tp_core.h.

u16 hdr_len

Definition at line 102 of file l2tp_core.h.

Definition at line 106 of file l2tp_core.h.

char ifname[IFNAMSIZ]

Definition at line 110 of file l2tp_core.h.

u16 l2specific_len

Definition at line 100 of file l2tp_core.h.

u16 l2specific_type

Definition at line 101 of file l2tp_core.h.

unsigned int lns_mode

Definition at line 119 of file l2tp_core.h.

int magic

Definition at line 87 of file l2tp_core.h.

int mru

Definition at line 128 of file l2tp_core.h.

int mtu

Definition at line 127 of file l2tp_core.h.

char name[32]

Definition at line 109 of file l2tp_core.h.

u32 nr

Definition at line 103 of file l2tp_core.h.

u32 ns

Definition at line 104 of file l2tp_core.h.

Definition at line 98 of file l2tp_core.h.

u8 peer_cookie[8]

Definition at line 96 of file l2tp_core.h.

int peer_cookie_len

Definition at line 97 of file l2tp_core.h.

u32 peer_session_id

Definition at line 93 of file l2tp_core.h.

Definition at line 141 of file l2tp_core.h.

enum l2tp_pwtype pwtype

Definition at line 129 of file l2tp_core.h.

unsigned int recv_seq

Definition at line 115 of file l2tp_core.h.

void(* recv_skb)(struct l2tp_session *session, struct sk_buff *skb, int data_len)

Definition at line 134 of file l2tp_core.h.

void(* ref)(struct l2tp_session *session)

Definition at line 136 of file l2tp_core.h.

atomic_t ref_count

Definition at line 107 of file l2tp_core.h.

struct sk_buff_head reorder_q

Definition at line 105 of file l2tp_core.h.

int reorder_skip

Definition at line 126 of file l2tp_core.h.

int reorder_timeout

Definition at line 124 of file l2tp_core.h.

unsigned int send_seq

Definition at line 117 of file l2tp_core.h.

void(* session_close)(struct l2tp_session *session)

Definition at line 135 of file l2tp_core.h.

u32 session_id

Definition at line 92 of file l2tp_core.h.

Definition at line 130 of file l2tp_core.h.

Definition at line 90 of file l2tp_core.h.


The documentation for this struct was generated from the following file: