Home
last modified time | relevance | path

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

/net/l2tp/
Dl2tp_core.h75 struct l2tp_session { struct
126 int (*build_header)(struct l2tp_session *session, void *buf); argument
127 void (*recv_skb)(struct l2tp_session *session, struct sk_buff *skb, int data_len); argument
128 void (*session_close)(struct l2tp_session *session); argument
129 void (*ref)(struct l2tp_session *session); argument
130 void (*deref)(struct l2tp_session *session); argument
204 int (*session_delete)(struct l2tp_session *session);
212 static inline void *l2tp_session_priv(struct l2tp_session *session) in l2tp_session_priv()
239 struct l2tp_session *l2tp_session_get(const struct net *net,
242 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth,
[all …]
Dl2tp_core.c228 struct l2tp_session *l2tp_session_get(const struct net *net, in l2tp_session_get()
233 struct l2tp_session *session; in l2tp_session_get()
274 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth, in l2tp_session_get_nth()
278 struct l2tp_session *session; in l2tp_session_get_nth()
303 struct l2tp_session *l2tp_session_get_by_ifname(const struct net *net, in l2tp_session_get_by_ifname()
309 struct l2tp_session *session; in l2tp_session_get_by_ifname()
332 struct l2tp_session *session) in l2tp_session_add_to_tunnel()
334 struct l2tp_session *session_walk; in l2tp_session_add_to_tunnel()
442 static void l2tp_recv_queue_skb(struct l2tp_session *session, struct sk_buff *skb) in l2tp_recv_queue_skb()
469 static void l2tp_recv_dequeue_skb(struct l2tp_session *session, struct sk_buff *skb) in l2tp_recv_dequeue_skb()
[all …]
Dl2tp_eth.c46 struct l2tp_session *session;
81 struct l2tp_session *session = priv->session; in l2tp_eth_dev_xmit()
130 static void l2tp_eth_dev_recv(struct l2tp_session *session, struct sk_buff *skb, int data_len) in l2tp_eth_dev_recv()
171 static void l2tp_eth_delete(struct l2tp_session *session) in l2tp_eth_delete()
190 struct l2tp_session *session = arg; in l2tp_eth_show()
199 struct l2tp_session *session, in l2tp_eth_adjust_mtu()
254 struct l2tp_session *session; in l2tp_eth_create()
Dl2tp_ppp.c143 static inline struct l2tp_session *pppol2tp_sock_to_session(struct sock *sk) in pppol2tp_sock_to_session()
145 struct l2tp_session *session; in pppol2tp_sock_to_session()
151 session = (struct l2tp_session *)(sk->sk_user_data); in pppol2tp_sock_to_session()
200 static void pppol2tp_recv(struct l2tp_session *session, struct sk_buff *skb, int data_len) in pppol2tp_recv()
250 static void pppol2tp_session_sock_hold(struct l2tp_session *session) in pppol2tp_session_sock_hold()
258 static void pppol2tp_session_sock_put(struct l2tp_session *session) in pppol2tp_session_sock_put()
280 struct l2tp_session *session; in pppol2tp_sendmsg()
365 struct l2tp_session *session; in pppol2tp_xmit()
424 static void pppol2tp_session_close(struct l2tp_session *session) in pppol2tp_session_close()
444 struct l2tp_session *session = sk->sk_user_data; in pppol2tp_session_destruct()
[all …]
Dl2tp_debugfs.c45 struct l2tp_session *session; /* NULL means get next tunnel */
113 struct l2tp_session *session; in l2tp_dfs_seq_tunnel_show()
115 session = hlist_entry(walk, struct l2tp_session, hlist); in l2tp_dfs_seq_tunnel_show()
164 struct l2tp_session *session = v; in l2tp_dfs_seq_session_show()
Dl2tp_netlink.c45 int flags, struct l2tp_session *session,
51 static struct l2tp_session *l2tp_nl_session_get(struct genl_info *info, in l2tp_nl_session_get()
58 struct l2tp_session *session = NULL; in l2tp_nl_session_get()
139 struct l2tp_session *session, in l2tp_session_notify()
513 struct l2tp_session *session; in l2tp_nl_cmd_session_create()
666 struct l2tp_session *session; in l2tp_nl_cmd_session_delete()
694 struct l2tp_session *session; in l2tp_nl_cmd_session_modify()
738 struct l2tp_session *session, u8 cmd) in l2tp_nl_session_send()
824 struct l2tp_session *session; in l2tp_nl_cmd_session_get()
862 struct l2tp_session *session; in l2tp_nl_cmd_session_dump()
Dl2tp_ip.c124 struct l2tp_session *session; in l2tp_ip_recv()
Dl2tp_ip6.c137 struct l2tp_session *session; in l2tp_ip6_recv()