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

/external/ppp/pppd/
H A Dpppox.c25 {"pppox", o_special, pppox_set, "PPPoX socket", OPT_DEVNAM},
43 static int pppox = -1; variable
46 if (!int_option(*argv, &pppox)) {
49 info("Using PPPoX (socket = %d)", pppox);
55 return pppox;
59 if (pppox != -1) {
60 close(pppox);
61 pppox = -1;
H A DAndroid.mk25 pppox.c
/external/mtpd/
H A Dmtpd.h44 void start_pppd(int pppox);
H A Dmtpd.c302 void start_pppd(int pppox) argument
306 close(pppox);
310 log_print(INFO, "Starting pppd (pppox = %d)", pppox);
322 sprintf(number, "%d", pppox);
325 args[2] = "pppox";
354 close(pppox);
H A Dpptp.c234 int pppox = socket(AF_PPPOX, SOCK_DGRAM, PX_PROTO_OPNS); local
237 if (pppox == -1) {
248 if (connect(pppox, (struct sockaddr *)&address, sizeof(address))) {
253 return pppox;
H A Dl2tp.c351 int pppox = socket(AF_PPPOX, SOCK_DGRAM, PX_PROTO_OLAC); local
354 if (pppox == -1) {
365 if (connect(pppox, (struct sockaddr *)&address, sizeof(address))) {
370 return pppox;

Completed in 113 milliseconds