Lines Matching defs:l2tp_tunnel
157 struct l2tp_tunnel { struct
158 int magic; /* Should be L2TP_TUNNEL_MAGIC */
160 unsigned long dead;
162 struct rcu_head rcu;
163 rwlock_t hlist_lock; /* protect session_hlist */
164 bool acpt_newsess; /* indicates whether this tunnel accepts
167 struct hlist_head session_hlist[L2TP_HASH_SIZE];
169 u32 tunnel_id;
170 u32 peer_tunnel_id;
171 int version; /* 2=>L2TPv2, 3=>L2TPv3 */
173 char name[L2TP_TUNNEL_NAME_MAX]; /* for logging */
174 enum l2tp_encap_type encap;
198 int (*session_create)(struct net *net, struct l2tp_tunnel *tunnel, argument