Home
last modified time | relevance | path

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

/external/ppp/pppd/plugins/pppoatm/
Dpppoatm.c46 devnam},
86 strlcpy(devnam, cp, sizeof devnam); in setdevname_pppoatm()
155 fatal("connect(%s): %m", devnam); in connect_pppoatm()
159 strlcpy(ppp_devnam, devnam, sizeof(ppp_devnam)); in connect_pppoatm()
/external/ppp/pppd/
Dtty.c171 devnam},
327 strlcpy(devnam, cp, sizeof(devnam));
427 strlcpy(devnam, p, sizeof(devnam)); in tty_process_extra_options()
428 if (stat(devnam, &devstat) < 0) in tty_process_extra_options()
429 fatal("Couldn't stat default device %s: %m", devnam); in tty_process_extra_options()
531 strlcpy(ppp_devnam, devnam, sizeof(ppp_devnam)); in connect_tty()
549 if (lock(devnam) < 0) in connect_tty()
563 if (devnam[0] != 0) { in connect_tty()
572 devnam); in connect_tty()
576 real_ttyfd = open(devnam, O_NONBLOCK | O_RDWR, 0); in connect_tty()
[all …]
Dauth.c623 session_end(devnam);
1436 if (session_full(user, passwd, devnam, msg) == 0) {
1440 if (session_check(user, NULL, devnam, NULL) == 0) {
1467 warn("%d LOGIN FAILURES ON %s, %s", attempts, devnam, user);
2360 argv[4] = devnam;
Dmain.c487 if (devnam[0])
488 script_setenv("DEVICE", devnam, 1);
Dchap-new.c384 session_check(name, NULL, devnam, NULL) == 0) { in chap_handle_response()
Doptions.c96 char devnam[MAXPATHLEN]; /* Device name */ variable
523 dev = devnam; in options_for_tty()
Dpppd.h280 extern char devnam[MAXPATHLEN]; /* Device name */
Dipv6cp.c1397 argv[2] = devnam;
Dipxcp.c1449 argv[2] = devnam;
Dsys-linux.c993 fatal("Baud rate for %s is 0; need explicit baud rate", devnam); in set_up_tty()
Dsys-solaris.c1257 fatal("Baud rate for %s is 0; need explicit baud rate", devnam);
Dipcp.c2096 argv[2] = devnam;
/external/ppp/pppd/plugins/rp-pppoe/
Dplugin.c77 devnam},
110 conn->ifName = devnam; in PPPOEInitDevice()
171 strlcpy(ppp_devnam, devnam, sizeof(ppp_devnam)); in PPPOEConnectDevice()
285 snprintf(buf, 256, _PATH_ETHOPT "%s", devnam); in PPPOEDeviceOptions()
348 strncpy(devnam, cmd, sizeof(devnam)); in PPPoEDevnameHook()
/external/ppp/pppd/plugins/radius/
Dradius.c276 rstate.client_port = get_client_port(portnummap ? devnam : ifname); in radius_pap_auth()
376 rstate.client_port = get_client_port (portnummap ? devnam : ifname); in radius_chap_verify()