Home
last modified time | relevance | path

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

/net/l2tp/
Dl2tp_ppp.c576 u32 tunnel_id, peer_tunnel_id; in pppol2tp_connect() local
612 peer_tunnel_id = 0; in pppol2tp_connect()
616 peer_tunnel_id = sp->pppol2tp.d_tunnel; in pppol2tp_connect()
625 peer_tunnel_id = sp3->pppol2tp.d_tunnel; in pppol2tp_connect()
633 peer_tunnel_id = sp6->pppol2tp.d_tunnel; in pppol2tp_connect()
642 peer_tunnel_id = sp6->pppol2tp.d_tunnel; in pppol2tp_connect()
669 error = l2tp_tunnel_create(sock_net(sk), fd, ver, tunnel_id, peer_tunnel_id, &tcfg, &tunnel); in pppol2tp_connect()
684 if (tunnel->peer_tunnel_id == 0) in pppol2tp_connect()
685 tunnel->peer_tunnel_id = peer_tunnel_id; in pppol2tp_connect()
875 sp.pppol2tp.d_tunnel = tunnel->peer_tunnel_id; in pppol2tp_getname()
[all …]
Dl2tp_core.c1041 u32 tunnel_id = tunnel->peer_tunnel_id; in l2tp_build_l2tpv2_header()
1418 u32 peer_tunnel_id, in l2tp_tunnel_sock_create() argument
1481 ip6_addr.l2tp_conn_id = peer_tunnel_id; in l2tp_tunnel_sock_create()
1507 ip_addr.l2tp_conn_id = peer_tunnel_id; in l2tp_tunnel_sock_create()
1532 int l2tp_tunnel_create(struct net *net, int fd, int version, u32 tunnel_id, u32 peer_tunnel_id, str… in l2tp_tunnel_create() argument
1546 err = l2tp_tunnel_sock_create(net, tunnel_id, peer_tunnel_id, in l2tp_tunnel_create()
1612 tunnel->peer_tunnel_id = peer_tunnel_id; in l2tp_tunnel_create()
Dl2tp_core.h174 u32 peer_tunnel_id; member
251 u32 peer_tunnel_id, struct l2tp_tunnel_cfg *cfg,
Dl2tp_netlink.c168 u32 peer_tunnel_id; in l2tp_nl_cmd_tunnel_create() local
186 peer_tunnel_id = nla_get_u32(info->attrs[L2TP_ATTR_PEER_CONN_ID]); in l2tp_nl_cmd_tunnel_create()
252 peer_tunnel_id, &cfg, &tunnel); in l2tp_nl_cmd_tunnel_create()
341 nla_put_u32(skb, L2TP_ATTR_PEER_CONN_ID, tunnel->peer_tunnel_id) || in l2tp_nl_tunnel_send()
753 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()