Home
last modified time | relevance | path

Searched refs:l2tp_session (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/net/l2tp/
Dl2tp_core.h70 struct l2tp_session { struct
112 void (*recv_skb)(struct l2tp_session *session, struct sk_buff *skb, int data_len); argument
120 void (*session_close)(struct l2tp_session *session); argument
207 void (*session_delete)(struct l2tp_session *session);
210 static inline void *l2tp_session_priv(struct l2tp_session *session) in l2tp_session_priv()
218 void l2tp_session_inc_refcount(struct l2tp_session *session);
219 void l2tp_session_dec_refcount(struct l2tp_session *session);
227 struct l2tp_session *l2tp_tunnel_get_session(struct l2tp_tunnel *tunnel,
230 struct l2tp_session *l2tp_session_get(const struct net *net, u32 session_id);
231 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth);
[all …]
Dtrace.h40 TP_PROTO(struct l2tp_session *session),
91 TP_PROTO(struct l2tp_session *session),
119 TP_PROTO(struct l2tp_session *session),
124 TP_PROTO(struct l2tp_session *session),
129 TP_PROTO(struct l2tp_session *session),
134 TP_PROTO(struct l2tp_session *session),
139 TP_PROTO(struct l2tp_session *session),
158 TP_PROTO(struct l2tp_session *session),
163 TP_PROTO(struct l2tp_session *session),
168 TP_PROTO(struct l2tp_session *session, u32 pkt_ns),
[all …]
Dl2tp_core.c158 static void l2tp_session_free(struct l2tp_session *session) in l2tp_session_free()
191 void l2tp_session_inc_refcount(struct l2tp_session *session) in l2tp_session_inc_refcount()
197 void l2tp_session_dec_refcount(struct l2tp_session *session) in l2tp_session_dec_refcount()
243 struct l2tp_session *l2tp_tunnel_get_session(struct l2tp_tunnel *tunnel, in l2tp_tunnel_get_session()
247 struct l2tp_session *session; in l2tp_tunnel_get_session()
265 struct l2tp_session *l2tp_session_get(const struct net *net, u32 session_id) in l2tp_session_get()
268 struct l2tp_session *session; in l2tp_session_get()
286 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth) in l2tp_session_get_nth()
289 struct l2tp_session *session; in l2tp_session_get_nth()
312 struct l2tp_session *l2tp_session_get_by_ifname(const struct net *net, in l2tp_session_get_by_ifname()
[all …]
Dl2tp_eth.c39 struct l2tp_session *session;
77 struct l2tp_session *session = priv->session; in l2tp_eth_dev_xmit()
125 static void l2tp_eth_dev_recv(struct l2tp_session *session, struct sk_buff *skb, int data_len) in l2tp_eth_dev_recv()
164 static void l2tp_eth_delete(struct l2tp_session *session) in l2tp_eth_delete()
186 struct l2tp_session *session = arg; in l2tp_eth_show()
205 struct l2tp_session *session, in l2tp_eth_adjust_mtu()
251 struct l2tp_session *session; in l2tp_eth_create()
Dl2tp_ppp.c137 static struct sock *pppol2tp_session_get_sock(struct l2tp_session *session) in pppol2tp_session_get_sock()
153 static inline struct l2tp_session *pppol2tp_sock_to_session(struct sock *sk) in pppol2tp_sock_to_session()
155 struct l2tp_session *session; in pppol2tp_sock_to_session()
161 session = (struct l2tp_session *)(sk->sk_user_data); in pppol2tp_sock_to_session()
212 static void pppol2tp_recv(struct l2tp_session *session, struct sk_buff *skb, int data_len) in pppol2tp_recv()
271 struct l2tp_session *session; in pppol2tp_sendmsg()
348 struct l2tp_session *session; in pppol2tp_xmit()
409 struct l2tp_session *session = sk->sk_user_data; in pppol2tp_session_destruct()
427 struct l2tp_session *session; in pppol2tp_release()
528 struct l2tp_session *session = arg; in pppol2tp_show()
[all …]
Dl2tp_netlink.c40 int flags, struct l2tp_session *session,
46 static struct l2tp_session *l2tp_nl_session_get(struct genl_info *info) in l2tp_nl_session_get()
52 struct l2tp_session *session = NULL; in l2tp_nl_session_get()
132 struct l2tp_session *session, in l2tp_session_notify()
528 struct l2tp_session *session; in l2tp_nl_cmd_session_create()
655 struct l2tp_session *session; in l2tp_nl_cmd_session_delete()
681 struct l2tp_session *session; in l2tp_nl_cmd_session_modify()
713 struct l2tp_session *session, u8 cmd) in l2tp_nl_session_send()
794 struct l2tp_session *session; in l2tp_nl_cmd_session_get()
832 struct l2tp_session *session; in l2tp_nl_cmd_session_dump()
Dl2tp_debugfs.c40 struct l2tp_session *session; /* NULL means get next tunnel */
124 struct l2tp_session *session; in l2tp_dfs_seq_tunnel_show()
179 struct l2tp_session *session = v; in l2tp_dfs_seq_session_show()
Dl2tp_ip.c120 struct l2tp_session *session; in l2tp_ip_recv()
Dl2tp_ip6.c133 struct l2tp_session *session; in l2tp_ip6_recv()
/linux-6.1.9/Documentation/networking/
Dl2tp.rst539 The kernel keeps a struct l2tp_session context for each session. Each
582 The PPPoL2TP socket's sk_user_data references the l2tp_session.