Home
last modified time | relevance | path

Searched refs:peer_tunnel_id (Results 1 – 5 of 5) sorted by relevance

/net/l2tp/
Dl2tp_ppp.c603 u32 tunnel_id, peer_tunnel_id; in pppol2tp_connect() local
630 peer_tunnel_id = 0; in pppol2tp_connect()
634 peer_tunnel_id = sp->pppol2tp.d_tunnel; in pppol2tp_connect()
643 peer_tunnel_id = sp3->pppol2tp.d_tunnel; in pppol2tp_connect()
651 peer_tunnel_id = sp6->pppol2tp.d_tunnel; in pppol2tp_connect()
660 peer_tunnel_id = sp6->pppol2tp.d_tunnel; in pppol2tp_connect()
685 error = l2tp_tunnel_create(sock_net(sk), fd, ver, tunnel_id, peer_tunnel_id, &tcfg, &tunnel); in pppol2tp_connect()
703 if (tunnel->peer_tunnel_id == 0) in pppol2tp_connect()
704 tunnel->peer_tunnel_id = peer_tunnel_id; in pppol2tp_connect()
902 sp.pppol2tp.d_tunnel = tunnel->peer_tunnel_id; in pppol2tp_getname()
[all …]
Dl2tp_core.c985 u32 tunnel_id = tunnel->peer_tunnel_id; in l2tp_build_l2tpv2_header()
1361 u32 peer_tunnel_id, in l2tp_tunnel_sock_create() argument
1426 ip6_addr.l2tp_conn_id = peer_tunnel_id; in l2tp_tunnel_sock_create()
1454 ip_addr.l2tp_conn_id = peer_tunnel_id; in l2tp_tunnel_sock_create()
1479 int l2tp_tunnel_create(struct net *net, int fd, int version, u32 tunnel_id, u32 peer_tunnel_id, str… in l2tp_tunnel_create() argument
1493 err = l2tp_tunnel_sock_create(net, tunnel_id, peer_tunnel_id, in l2tp_tunnel_create()
1555 tunnel->peer_tunnel_id = peer_tunnel_id; in l2tp_tunnel_create()
Dl2tp_core.h181 u32 peer_tunnel_id; member
255 u32 peer_tunnel_id, struct l2tp_tunnel_cfg *cfg,
Dl2tp_netlink.c103 u32 peer_tunnel_id; in l2tp_nl_cmd_tunnel_create() local
121 peer_tunnel_id = nla_get_u32(info->attrs[L2TP_ATTR_PEER_CONN_ID]); in l2tp_nl_cmd_tunnel_create()
187 peer_tunnel_id, &cfg, &tunnel); in l2tp_nl_cmd_tunnel_create()
264 nla_put_u32(skb, L2TP_ATTR_PEER_CONN_ID, tunnel->peer_tunnel_id) || in l2tp_nl_tunnel_send()
624 nla_put_u32(skb, L2TP_ATTR_PEER_CONN_ID, tunnel->peer_tunnel_id) || in l2tp_nl_session_send()
Dl2tp_debugfs.c124 seq_printf(m, "\nTUNNEL %u peer %u", tunnel->tunnel_id, tunnel->peer_tunnel_id); in l2tp_dfs_seq_tunnel_show()