Lines Matching refs:tunnel_id
25 * attaches it to a bound UDP socket with local tunnel_id / session_id and
26 * peer tunnel_id / session_id set. Data can then be sent or received using
48 * sax.pppol2tp.s_tunnel = tunnel_id;
632 u32 tunnel_id, peer_tunnel_id;
656 tunnel_id = sp->pppol2tp.s_tunnel;
663 tunnel_id = sp3->pppol2tp.s_tunnel;
672 /* Don't bind if tunnel_id is 0 */
674 if (tunnel_id == 0)
677 tunnel = l2tp_tunnel_find(sock_net(sk), tunnel_id);
689 error = l2tp_tunnel_create(sock_net(sk), fd, ver, tunnel_id, peer_tunnel_id, &tcfg, &tunnel);
725 po->proto.l2tp.ts.tunnel_id = tunnel->tunnel_id;
838 static int pppol2tp_session_create(struct net *net, u32 tunnel_id, u32 session_id, u32 peer_session_id, struct l2tp_session_cfg *cfg)
845 tunnel = l2tp_tunnel_find(net, tunnel_id);
942 sp.pppol2tp.s_tunnel = tunnel->tunnel_id;
958 sp.pppol2tp.s_tunnel = tunnel->tunnel_id;
1112 stats.tunnel_id = tunnel->tunnel_id;
1658 tunnel->tunnel_id,