Lines Matching refs:l2tp_tunnel
45 struct l2tp_tunnel;
74 struct l2tp_tunnel *tunnel; /* back pointer to tunnel context */
157 struct l2tp_tunnel { struct
198 int (*session_create)(struct net *net, struct l2tp_tunnel *tunnel, argument
216 void l2tp_tunnel_inc_refcount(struct l2tp_tunnel *tunnel);
217 void l2tp_tunnel_dec_refcount(struct l2tp_tunnel *tunnel);
225 struct l2tp_tunnel *l2tp_tunnel_get(const struct net *net, u32 tunnel_id);
226 struct l2tp_tunnel *l2tp_tunnel_get_nth(const struct net *net, int nth);
227 struct l2tp_session *l2tp_tunnel_get_session(struct l2tp_tunnel *tunnel,
231 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth);
241 struct l2tp_tunnel **tunnelp);
242 int l2tp_tunnel_register(struct l2tp_tunnel *tunnel, struct net *net,
244 void l2tp_tunnel_delete(struct l2tp_tunnel *tunnel);
247 struct l2tp_tunnel *tunnel,
251 struct l2tp_tunnel *tunnel);
280 struct l2tp_tunnel *l2tp_sk_to_tunnel(struct sock *sk);
293 static inline u32 l2tp_tunnel_dst_mtu(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_dst_mtu()
309 static inline bool l2tp_tunnel_uses_xfrm(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_uses_xfrm()
317 static inline bool l2tp_tunnel_uses_xfrm(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_uses_xfrm()