Searched defs:l2tp_tunnel (Results 1 – 2 of 2) sorted by relevance
170 struct l2tp_tunnel { struct171 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 */[all …]
118 static inline struct l2tp_tunnel *l2tp_tunnel(struct sock *sk) in l2tp_tunnel() function