Lines Matching full:session

18 /* Random numbers used for internal consistency checks of tunnel and session structures */
38 /* L2TP session configuration */
61 /* Represents a session (pseudowire) instance.
63 * Is linked into a per-tunnel session list and a per-net ("global") IDR tree.
80 u32 nr; /* session NR state (receive) */
81 u32 ns; /* session NR state (send) */
90 struct hlist_node hlist; /* per-net session hlist */
91 unsigned long hlist_key; /* key for session hlist */
92 struct l2tp_session_coll_list *coll_list; /* session collision list */
108 /* Session receive handler for data packets.
111 * reordering, if data sequence numbers are enabled for the session.
113 void (*recv_skb)(struct l2tp_session *session, struct sk_buff *skb, int data_len);
115 /* Session close handler.
118 * The callback is called by core after unlisting the session and purging its
121 void (*session_close)(struct l2tp_session *session);
123 /* Session show handler.
124 * Pseudowire-specific implementation of debugfs session rendering.
125 * The callback is called by l2tp_debugfs.c after rendering core session
188 /* The pseudowire session create callback is responsible for creating a session
191 * session instance, as well as carry out any pseudowire-specific initialisation.
198 /* The pseudowire session delete callback is responsible for initiating the deletion
199 * of a session instance.
203 void (*session_delete)(struct l2tp_session *session);
206 static inline void *l2tp_session_priv(struct l2tp_session *session) in l2tp_session_priv() argument
208 return &session->priv[0]; in l2tp_session_priv()
211 /* Tunnel and session refcounts */
213 void l2tp_session_put(struct l2tp_session *session);
215 /* Tunnel and session lookup.
231 /* Tunnel and session lifetime management.
246 int l2tp_session_register(struct l2tp_session *session,
248 void l2tp_session_delete(struct l2tp_session *session);
250 /* Receive path helpers. If data sequencing is enabled for the session these
254 void l2tp_recv_common(struct l2tp_session *session, struct sk_buff *skb,
260 void l2tp_session_set_header_len(struct l2tp_session *session, int version,
262 int l2tp_xmit_skb(struct l2tp_session *session, struct sk_buff *skb);
276 static inline int l2tp_get_l2specific_len(struct l2tp_session *session) in l2tp_get_l2specific_len() argument
278 switch (session->l2specific_type) { in l2tp_get_l2specific_len()
317 static inline int l2tp_v3_ensure_opt_in_linear(struct l2tp_session *session, struct sk_buff *skb, in l2tp_v3_ensure_opt_in_linear() argument
320 int opt_len = session->peer_cookie_len + l2tp_get_l2specific_len(session); in l2tp_v3_ensure_opt_in_linear()