Home
last modified time | relevance | path

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

/external/mtpd/
Dl2tp.c421 struct sockaddr_pppol2tp tunnel_sa; in create_pppox_ol2tp() local
431 memset(&tunnel_sa, 0, sizeof(tunnel_sa)); in create_pppox_ol2tp()
432 tunnel_sa.sa_family = AF_PPPOX; in create_pppox_ol2tp()
433 tunnel_sa.sa_protocol = PX_PROTO_OL2TP; in create_pppox_ol2tp()
434 tunnel_sa.pppol2tp.fd = the_socket; /* UDP socket */ in create_pppox_ol2tp()
435 tunnel_sa.pppol2tp.s_tunnel = ntohs(local_tunnel); in create_pppox_ol2tp()
436 tunnel_sa.pppol2tp.s_session = 0; /* special case: mgmt socket */ in create_pppox_ol2tp()
437 tunnel_sa.pppol2tp.d_tunnel = ntohs(remote_tunnel); in create_pppox_ol2tp()
438 tunnel_sa.pppol2tp.d_session = 0; /* special case: mgmt socket */ in create_pppox_ol2tp()
441 if (connect(tunnel_fd, (struct sockaddr *)&tunnel_sa, in create_pppox_ol2tp()
[all …]