Searched refs:devnam (Results 1 – 11 of 11) sorted by relevance
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/ |
H A D | pppoe.c | 96 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 D | mapfile-pppoe | 59 devnam { TYPE = DATA; FLAGS = extern }; # " "
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | main.c | 393 (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 D | options.c | 82 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 D | auth.c | 1156 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 D | sys-solaris.c | 287 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 D | pppd.h | 235 extern char devnam[MAXPATHLEN]; /* Device name */
|
H A D | ipv6cp.c | 1404 argv[2] = devnam;
|
H A D | ipcp.c | 1744 argv[2] = devnam;
|
/titanic_50/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_srv_deleg.c | 448 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 D | netstat.c | 4182 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()
|