Home
last modified time | relevance | path

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

/openbmc/linux/net/l2tp/
H A Dl2tp_core.h45 struct l2tp_tunnel;
74 struct l2tp_tunnel *tunnel; /* back pointer to tunnel context */
157 struct l2tp_tunnel { struct
198 int (*session_create)(struct net *net, struct l2tp_tunnel *tunnel, argument
216 void l2tp_tunnel_inc_refcount(struct l2tp_tunnel *tunnel);
217 void l2tp_tunnel_dec_refcount(struct l2tp_tunnel *tunnel);
225 struct l2tp_tunnel *l2tp_tunnel_get(const struct net *net, u32 tunnel_id);
226 struct l2tp_tunnel *l2tp_tunnel_get_nth(const struct net *net, int nth);
227 struct l2tp_session *l2tp_tunnel_get_session(struct l2tp_tunnel *tunnel,
231 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth);
[all …]
H A Dl2tp_core.c151 l2tp_session_id_hash(struct l2tp_tunnel *tunnel, u32 session_id) in l2tp_session_id_hash()
156 static void l2tp_tunnel_free(struct l2tp_tunnel *tunnel) in l2tp_tunnel_free()
171 struct l2tp_tunnel *l2tp_sk_to_tunnel(struct sock *sk) in l2tp_sk_to_tunnel()
173 struct l2tp_tunnel *tunnel = sk->sk_user_data; in l2tp_sk_to_tunnel()
183 void l2tp_tunnel_inc_refcount(struct l2tp_tunnel *tunnel) in l2tp_tunnel_inc_refcount()
189 void l2tp_tunnel_dec_refcount(struct l2tp_tunnel *tunnel) in l2tp_tunnel_dec_refcount()
210 struct l2tp_tunnel *l2tp_tunnel_get(const struct net *net, u32 tunnel_id) in l2tp_tunnel_get()
213 struct l2tp_tunnel *tunnel; in l2tp_tunnel_get()
227 struct l2tp_tunnel *l2tp_tunnel_get_nth(const struct net *net, int nth) in l2tp_tunnel_get_nth()
231 struct l2tp_tunnel *tunnel; in l2tp_tunnel_get_nth()
[all …]
H A Dl2tp_netlink.c38 int flags, struct l2tp_tunnel *tunnel, u8 cmd);
51 struct l2tp_tunnel *tunnel; in l2tp_nl_session_get()
104 struct l2tp_tunnel *tunnel, in l2tp_tunnel_notify()
192 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_create()
260 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_delete()
290 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_modify()
370 static int l2tp_nl_tunnel_send_addr(struct sk_buff *skb, struct l2tp_tunnel *tunnel) in l2tp_nl_tunnel_send_addr()
385 struct l2tp_tunnel *tunnel, u8 cmd) in l2tp_nl_tunnel_send()
451 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_get()
496 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_dump()
[all …]
H A Dl2tp_ppp.c272 struct l2tp_tunnel *tunnel; in pppol2tp_sendmsg()
349 struct l2tp_tunnel *tunnel; in pppol2tp_xmit()
642 static int pppol2tp_tunnel_mtu(const struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_mtu()
653 static struct l2tp_tunnel *pppol2tp_tunnel_get(struct net *net, in pppol2tp_tunnel_get()
657 struct l2tp_tunnel *tunnel; in pppol2tp_tunnel_get()
721 struct l2tp_tunnel *tunnel; in pppol2tp_connect()
862 static int pppol2tp_session_create(struct net *net, struct l2tp_tunnel *tunnel, in pppol2tp_session_create()
908 struct l2tp_tunnel *tunnel; in pppol2tp_getname()
1036 struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_copy_stats()
1159 struct l2tp_tunnel *tunnel, in pppol2tp_tunnel_setsockopt()
[all …]
H A Dtrace.h28 TP_PROTO(struct l2tp_tunnel *tunnel),
52 TP_PROTO(struct l2tp_tunnel *tunnel),
81 TP_PROTO(struct l2tp_tunnel *tunnel),
86 TP_PROTO(struct l2tp_tunnel *tunnel),
H A Dl2tp_eth.c207 static void l2tp_eth_adjust_mtu(struct l2tp_tunnel *tunnel, in l2tp_eth_adjust_mtu()
247 static int l2tp_eth_create(struct net *net, struct l2tp_tunnel *tunnel, in l2tp_eth_create()
H A Dl2tp_debugfs.c39 struct l2tp_tunnel *tunnel;
123 struct l2tp_tunnel *tunnel = v; in l2tp_dfs_seq_tunnel_show()
H A Dl2tp_ip.c121 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip_recv()
238 struct l2tp_tunnel *tunnel = l2tp_sk_to_tunnel(sk); in l2tp_ip_destroy_sock()
H A Dl2tp_ip6.c131 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip6_recv()
249 struct l2tp_tunnel *tunnel = l2tp_sk_to_tunnel(sk); in l2tp_ip6_destroy_sock()
/openbmc/linux/Documentation/networking/
H A Dl2tp.rst507 The kernel keeps a struct l2tp_tunnel context per L2TP tunnel. The
508 l2tp_tunnel is always associated with a UDP or L2TP/IP socket and