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