Lines Matching refs:l2tp_tunnel
48 struct l2tp_tunnel;
79 struct l2tp_tunnel *tunnel; /* back pointer to tunnel
147 struct l2tp_tunnel { struct
184 int (*session_create)(struct net *net, struct l2tp_tunnel *tunnel, argument
195 struct l2tp_tunnel *l2tp_tunnel_get(const struct net *net, u32 tunnel_id);
196 struct l2tp_tunnel *l2tp_tunnel_get_nth(const struct net *net, int nth);
197 struct l2tp_session *l2tp_tunnel_get_session(struct l2tp_tunnel *tunnel,
200 void l2tp_tunnel_free(struct l2tp_tunnel *tunnel);
203 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth);
209 struct l2tp_tunnel **tunnelp);
210 int l2tp_tunnel_register(struct l2tp_tunnel *tunnel, struct net *net,
213 void l2tp_tunnel_delete(struct l2tp_tunnel *tunnel);
215 struct l2tp_tunnel *tunnel,
219 struct l2tp_tunnel *tunnel);
238 static inline void l2tp_tunnel_inc_refcount(struct l2tp_tunnel *tunnel) in l2tp_tunnel_inc_refcount()
243 static inline void l2tp_tunnel_dec_refcount(struct l2tp_tunnel *tunnel) in l2tp_tunnel_dec_refcount()
274 static inline u32 l2tp_tunnel_dst_mtu(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_dst_mtu()
290 static inline bool l2tp_tunnel_uses_xfrm(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_uses_xfrm()
298 static inline bool l2tp_tunnel_uses_xfrm(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_uses_xfrm()