Searched refs:l2tp_session (Results 1 – 10 of 10) sorted by relevance
/linux/net/l2tp/ |
H A D | l2tp_core.h | 66 struct l2tp_session { struct 113 void (*recv_skb)(struct l2tp_session *session, struct sk_buff *skb, int data_len); argument 121 void (*session_close)(struct l2tp_session *session); argument 203 void (*session_delete)(struct l2tp_session *session); 206 static inline void *l2tp_session_priv(struct l2tp_session *session) in l2tp_session_priv() 213 void l2tp_session_put(struct l2tp_session *session); 222 struct l2tp_session *l2tp_v3_session_get(const struct net *net, struct sock *sk, u32 session_id); 223 struct l2tp_session *l2tp_v2_session_get(const struct net *net, u16 tunnel_id, u16 session_id); 224 struct l2tp_session *l2tp_session_get(const struct net *net, struct sock *sk, int pver, 226 struct l2tp_session *l2tp_session_get_next(const struct net *net, struct sock *sk, int pver, [all …]
|
H A D | trace.h | 40 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 …]
|
H A D | l2tp_core.c | 169 static void l2tp_session_free(struct l2tp_session *session) in l2tp_session_free() 207 void l2tp_session_put(struct l2tp_session *session) in l2tp_session_put() 254 struct l2tp_session *l2tp_v3_session_get(const struct net *net, struct sock *sk, u32 session_id) in l2tp_v3_session_get() 257 struct l2tp_session *session; in l2tp_v3_session_get() 297 struct l2tp_session *l2tp_v2_session_get(const struct net *net, u16 tunnel_id, u16 session_id) in l2tp_v2_session_get() 301 struct l2tp_session *session; in l2tp_v2_session_get() 315 struct l2tp_session *l2tp_session_get(const struct net *net, struct sock *sk, int pver, in l2tp_session_get() 325 static struct l2tp_session *l2tp_v2_session_get_next(const struct net *net, in l2tp_v2_session_get_next() 330 struct l2tp_session *session = NULL; in l2tp_v2_session_get_next() 363 static struct l2tp_session *l2tp_v3_session_get_next(const struct net *net, in l2tp_v3_session_get_next() [all …]
|
H A D | l2tp_eth.c | 39 struct l2tp_session *session; 71 struct l2tp_session *session = priv->session; in l2tp_eth_dev_xmit() 106 static void l2tp_eth_dev_recv(struct l2tp_session *session, struct sk_buff *skb, int data_len) in l2tp_eth_dev_recv() 145 static void l2tp_eth_delete(struct l2tp_session *session) in l2tp_eth_delete() 167 struct l2tp_session *session = arg; in l2tp_eth_show() 186 struct l2tp_session *session, in l2tp_eth_adjust_mtu() 232 struct l2tp_session *session; in l2tp_eth_create()
|
H A D | l2tp_ppp.c | 136 static struct sock *pppol2tp_session_get_sock(struct l2tp_session *session) in pppol2tp_session_get_sock() 152 static struct l2tp_session *pppol2tp_sock_to_session(struct sock *sk) in pppol2tp_sock_to_session() 154 struct l2tp_session *session; in pppol2tp_sock_to_session() 207 static void pppol2tp_recv(struct l2tp_session *session, struct sk_buff *skb, int data_len) in pppol2tp_recv() 266 struct l2tp_session *session; in pppol2tp_sendmsg() 343 struct l2tp_session *session; in pppol2tp_xmit() 400 static void pppol2tp_session_close(struct l2tp_session *session) in pppol2tp_session_close() 425 struct l2tp_session *session; in pppol2tp_release() 510 struct l2tp_session *session = arg; in pppol2tp_show() 522 static void pppol2tp_session_init(struct l2tp_session *session) in pppol2tp_session_init() [all …]
|
H A D | l2tp_netlink.c | 40 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() 133 struct l2tp_session *session, in l2tp_session_notify() 535 struct l2tp_session *session; in l2tp_nl_cmd_session_create() 663 struct l2tp_session *session; in l2tp_nl_cmd_session_delete() 689 struct l2tp_session *session; in l2tp_nl_cmd_session_modify() 723 struct l2tp_session *session, u8 cmd) in l2tp_nl_session_send() 804 struct l2tp_session *session; in l2tp_nl_cmd_session_get() 843 struct l2tp_session *session; in l2tp_nl_cmd_session_dump()
|
H A D | l2tp_debugfs.c | 40 struct l2tp_session *session; /* NULL means get next tunnel */ 126 struct l2tp_session *session; in l2tp_dfs_seq_tunnel_show() 178 struct l2tp_session *session = v; in l2tp_dfs_seq_session_show()
|
H A D | l2tp_ip.c | 133 struct l2tp_session *session; in l2tp_ip_recv()
|
H A D | l2tp_ip6.c | 143 struct l2tp_session *session; in l2tp_ip6_recv()
|
/linux/Documentation/networking/ |
H A D | l2tp.rst | 659 The kernel keeps a struct l2tp_session context for each session. Each 697 The PPPoL2TP socket's sk_user_data references the l2tp_session.
|