Lines Matching defs:l2tp_tunnel
170 struct l2tp_tunnel { struct
171 int magic; /* Should be L2TP_TUNNEL_MAGIC */
173 unsigned long dead;
175 struct rcu_head rcu;
176 rwlock_t hlist_lock; /* protect session_hlist */
177 struct hlist_head session_hlist[L2TP_HASH_SIZE];
180 u32 tunnel_id;
181 u32 peer_tunnel_id;
182 int version; /* 2=>L2TPv2, 3=>L2TPv3 */
184 char name[20]; /* for logging */
185 int debug; /* bitmask of debug message
187 enum l2tp_encap_type encap;
188 struct l2tp_stats stats;
190 struct list_head list; /* Keep a list of all tunnels */
191 struct net *l2tp_net; /* the net we belong to */
216 static inline void *l2tp_tunnel_priv(struct l2tp_tunnel *tunnel) in l2tp_tunnel_priv() argument