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