Searched refs:pppox (Results 1 – 6 of 6) sorted by relevance
/external/ppp/pppd/ |
D | pppox.c | 43 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()
|
D | Android.mk | 27 pppox.c
|
/external/mtpd/ |
D | mtpd.c | 312 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()
|
D | pptp.c | 236 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()
|
D | l2tp.c | 350 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()
|
D | mtpd.h | 45 void start_pppd(int pppox);
|