Home
last modified time | relevance | path

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

/external/ppp/pppd/
Dpppox.c43 static int pppox = -1; variable
46 if (!int_option(*argv, &pppox)) { in pppox_set()
49 info("Using PPPoX (socket = %d)", pppox); in pppox_set()
55 return pppox; in pppox_connect()
59 if (pppox != -1) { in pppox_disconnect()
60 close(pppox); in pppox_disconnect()
61 pppox = -1; in pppox_disconnect()
DAndroid.mk27 pppox.c
/external/mtpd/
Dmtpd.c312 void start_pppd(int pppox) in start_pppd() argument
316 close(pppox); in start_pppd()
320 log_print(INFO, "Starting pppd (pppox = %d)", pppox); in start_pppd()
332 sprintf(number, "%d", pppox); in start_pppd()
364 close(pppox); in start_pppd()
Dpptp.c236 int pppox; in create_pppox() local
238 pppox = socket(AF_PPPOX, SOCK_DGRAM, PX_PROTO_OPNS); in create_pppox()
240 if (pppox == -1) { in create_pppox()
251 if (connect(pppox, (struct sockaddr *)&address, sizeof(address)) != 0) { in create_pppox()
256 return pppox; in create_pppox()
Dl2tp.c350 int pppox; in create_pppox() local
352 pppox = socket(AF_PPPOX, SOCK_DGRAM, PX_PROTO_OLAC); in create_pppox()
354 if (pppox == -1) { in create_pppox()
365 if (connect(pppox, (struct sockaddr *)&address, sizeof(address)) != 0) { in create_pppox()
370 return pppox; in create_pppox()
Dmtpd.h45 void start_pppd(int pppox);