OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:tunnel_fd
(Results
1 - 4
of
4
) sorted by null
/external/ppp/pppd/plugins/pppol2tp-android/
pppol2tp-android.c
30
static int
tunnel_fd
= -1;
variable
39
{ "
tunnel_fd
", o_int, &
tunnel_fd
,
106
if (
tunnel_fd
!= -1) {
107
close(
tunnel_fd
);
108
tunnel_fd
= -1;
/external/mtpd/
mtpd.h
73
void start_pppd_ol2tp(int
tunnel_fd
, int session_fd, int tunnel_id,
l2tp.c
419
int
tunnel_fd
;
local
425
tunnel_fd
= socket(AF_PPPOX, SOCK_DGRAM, PX_PROTO_OL2TP);
426
if (
tunnel_fd
< 0) {
441
if (connect(
tunnel_fd
, (struct sockaddr *)&tunnel_sa,
470
*tfd =
tunnel_fd
;
610
int
tunnel_fd
, session_fd;
local
612
create_pppox_ol2tp(&
tunnel_fd
, &session_fd);
613
start_pppd_ol2tp(
tunnel_fd
, session_fd,
mtpd.c
354
* @param
tunnel_fd
Tunnel socket file descriptor
359
void start_pppd_ol2tp(int
tunnel_fd
, int session_fd, int tunnel_id,
367
log_print(INFO, "Starting pppd (
tunnel_fd
= %d, session_fd = %d)",
368
tunnel_fd
, session_fd);
382
snprintf(tunnel_fd_str, FD_MAX_LEN + 1, "%d",
tunnel_fd
);
394
"
tunnel_fd
",
419
close(
tunnel_fd
);
Completed in 104 milliseconds