Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c96 if (devnam[0] != '\0') { in pppoe_check_options()
103 tstfd = open(devnam, O_NONBLOCK | O_RDWR, 0); in pppoe_check_options()
109 option_error("unable to open %s: %m", devnam); in pppoe_check_options()
116 devnam); in pppoe_check_options()
152 if ((*argsp)[2] == devnam && in pppoe_updown_script()
H A Dmapfile-pppoe59 devnam { TYPE = DATA; FLAGS = extern }; # " "
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmain.c393 (void) strlcpy(devnam, p, sizeof(devnam));
394 if (stat(devnam, &devstat) < 0)
395 fatal("Couldn't stat default device %s: %m", devnam);
544 if (devnam[0] != '\0')
545 script_setenv("DEVICE", devnam, 1);
637 (void) strlcpy(ppp_devnam, devnam, sizeof(ppp_devnam));
654 if (lock(devnam) < 0)
671 } else if (devnam[0] != '\0') {
679 ttyfd = open(devnam, O_NONBLOCK | O_RDWR);
687 error("Failed to open %s: %m", devnam);
[all …]
H A Doptions.c82 char devnam[MAXPATHLEN]; /* Device name */ variable
597 dev = devnam; in options_for_tty()
1703 devnam, name_source(&devnam_info));
1707 (void) strlcpy(devnam, cp, sizeof(devnam));
H A Dauth.c1156 warn("%d LOGIN FAILURES ON %s, %s", attempts, devnam, user);
1290 tty = devnam;
1369 tty = devnam;
1419 tty = devnam; in plogout()
2174 argv[4] = devnam;
H A Dsys-solaris.c287 if (devnam[0] == '\0' && in ppp_available()
288 (fd = open(devnam, O_RDWR | O_NONBLOCK | O_NOCTTY)) >= 0) { in ppp_available()
456 if (!direct_tty && devnam[0] != '\0') { in sys_init()
464 pppfd = open(devnam, O_RDWR | O_NONBLOCK); in sys_init()
471 drvnam = devnam; in sys_init()
1346 "baud rate", devnam);
3620 getbits(ttyfd, devnam, strptr); in sys_print_state()
H A Dpppd.h235 extern char devnam[MAXPATHLEN]; /* Device name */
H A Dipv6cp.c1404 argv[2] = devnam;
H A Dipcp.c1744 argv[2] = devnam;
/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_deleg.c448 char *devnam; in rfs4_cbch_init() local
465 devnam = "/dev/tcp"; in rfs4_cbch_init()
472 devnam = "/dev/udp"; in rfs4_cbch_init()
479 devnam = "/dev/tcp6"; in rfs4_cbch_init()
486 devnam = "/dev/udp6"; in rfs4_cbch_init()
492 if (lookupname(devnam, UIO_SYSSPACE, FOLLOW, NULLVPP, &vp) != 0) { in rfs4_cbch_init()
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c4182 dev_name_match(const DeviceName *devnam, const char *ifname) in dev_name_match() argument
4187 return (devnam->o_length == 0); /* "none" */ in dev_name_match()
4189 return (devnam->o_length != 0); /* "any" */ in dev_name_match()
4192 if (iflen > devnam->o_length || in dev_name_match()
4193 (iflen < devnam->o_length && devnam->o_bytes[iflen] != ':')) in dev_name_match()
4195 return (strncmp(ifname, devnam->o_bytes, iflen) == 0); in dev_name_match()