Lines Matching refs:l2tp_session
70 struct l2tp_session { struct
112 void (*recv_skb)(struct l2tp_session *session, struct sk_buff *skb, int data_len); argument
120 void (*session_close)(struct l2tp_session *session); argument
207 void (*session_delete)(struct l2tp_session *session);
210 static inline void *l2tp_session_priv(struct l2tp_session *session) in l2tp_session_priv()
218 void l2tp_session_inc_refcount(struct l2tp_session *session);
219 void l2tp_session_dec_refcount(struct l2tp_session *session);
227 struct l2tp_session *l2tp_tunnel_get_session(struct l2tp_tunnel *tunnel,
230 struct l2tp_session *l2tp_session_get(const struct net *net, u32 session_id);
231 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth);
232 struct l2tp_session *l2tp_session_get_by_ifname(const struct net *net,
246 struct l2tp_session *l2tp_session_create(int priv_size,
250 int l2tp_session_register(struct l2tp_session *session,
252 void l2tp_session_delete(struct l2tp_session *session);
258 void l2tp_recv_common(struct l2tp_session *session, struct sk_buff *skb,
264 void l2tp_session_set_header_len(struct l2tp_session *session, int version);
265 int l2tp_xmit_skb(struct l2tp_session *session, struct sk_buff *skb);
282 static inline int l2tp_get_l2specific_len(struct l2tp_session *session) in l2tp_get_l2specific_len()
323 static inline int l2tp_v3_ensure_opt_in_linear(struct l2tp_session *session, struct sk_buff *skb, in l2tp_v3_ensure_opt_in_linear()