Home
last modified time | relevance | path

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

/linux-3.4.99/net/l2tp/
Dl2tp_ppp.c642 u32 tunnel_id, peer_tunnel_id; in pppol2tp_connect() local
667 peer_tunnel_id = sp->pppol2tp.d_tunnel; in pppol2tp_connect()
674 peer_tunnel_id = sp3->pppol2tp.d_tunnel; in pppol2tp_connect()
699 error = l2tp_tunnel_create(sock_net(sk), fd, ver, tunnel_id, peer_tunnel_id, &tcfg, &tunnel); in pppol2tp_connect()
717 if (tunnel->peer_tunnel_id == 0) { in pppol2tp_connect()
719 tunnel->peer_tunnel_id = sp->pppol2tp.d_tunnel; in pppol2tp_connect()
721 tunnel->peer_tunnel_id = sp3->pppol2tp.d_tunnel; in pppol2tp_connect()
931 sp.pppol2tp.d_tunnel = tunnel->peer_tunnel_id; in pppol2tp_getname()
947 sp.pppol2tp.d_tunnel = tunnel->peer_tunnel_id; in pppol2tp_getname()
1648 tunnel->peer_tunnel_id, in pppol2tp_seq_session_show()
Dl2tp_core.h166 u32 peer_tunnel_id; member
231 …nnel_create(struct net *net, int fd, int version, u32 tunnel_id, u32 peer_tunnel_id, struct l2tp_t…
Dl2tp_netlink.c100 u32 peer_tunnel_id; in l2tp_nl_cmd_tunnel_create() local
118 peer_tunnel_id = nla_get_u32(info->attrs[L2TP_ATTR_PEER_CONN_ID]); in l2tp_nl_cmd_tunnel_create()
162 peer_tunnel_id, &cfg, &tunnel); in l2tp_nl_cmd_tunnel_create()
236 NLA_PUT_U32(skb, L2TP_ATTR_PEER_CONN_ID, tunnel->peer_tunnel_id); in l2tp_nl_tunnel_send()
568 NLA_PUT_U32(skb, L2TP_ATTR_PEER_CONN_ID, tunnel->peer_tunnel_id); in l2tp_nl_session_send()
Dl2tp_core.c891 u32 tunnel_id = tunnel->peer_tunnel_id; in l2tp_build_l2tpv2_header()
1266 static int l2tp_tunnel_sock_create(u32 tunnel_id, u32 peer_tunnel_id, struct l2tp_tunnel_cfg *cfg, … in l2tp_tunnel_sock_create() argument
1318 ip_addr.l2tp_conn_id = peer_tunnel_id; in l2tp_tunnel_sock_create()
1338 int l2tp_tunnel_create(struct net *net, int fd, int version, u32 tunnel_id, u32 peer_tunnel_id, str… in l2tp_tunnel_create() argument
1352 err = l2tp_tunnel_sock_create(tunnel_id, peer_tunnel_id, cfg, &sock); in l2tp_tunnel_create()
1406 tunnel->peer_tunnel_id = peer_tunnel_id; in l2tp_tunnel_create()
Dl2tp_debugfs.c122 seq_printf(m, "\nTUNNEL %u peer %u", tunnel->tunnel_id, tunnel->peer_tunnel_id); in l2tp_dfs_seq_tunnel_show()
/linux-3.4.99/Documentation/networking/
Dl2tp.txt219 # ip l2tp add tunnel tunnel_id 1 peer_tunnel_id 1 udp_sport 5000 \
238 peer_tunnel_id=45 peer_tunnel_id=42
292 sax.pppol2tp.d_tunnel = peer_tunnel_id;