/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | multilink.c | 134 p += slprintf(p, l-1, "BUNDLE=\"%q\"", peer_authname); in mp_join_bundle() 136 p += slprintf(p, bundle_id+l-p, "%s", epdisc_to_str(&ho->endpoint)); in mp_join_bundle() 138 p += slprintf(p, bundle_id+l-p, "/%v", bundle_name); in mp_join_bundle() 229 (void) slprintf(ifkey, sizeof(ifkey), "IFNAME=ppp%d", unit); 295 (void) slprintf(str, sizeof(str), "IP:%I", htonl(addr)); 307 q += slprintf(q, sizeof(str)-1, "%s", 310 q += slprintf(q, sizeof(str)-1, "%d", ep->class); 317 q += slprintf(q, str + sizeof(str) - q, "%.2x", ep->value[i]);
|
H A D | utils.c | 113 slprintf __V((char *buf, int buflen, const char *fmt, ...)) in slprintf() function 338 (void) slprintf(num, sizeof(num), "%d.%d.%d.%d", (ip >> 24) & 0xff, 806 (void) slprintf(msgbuf, sizeof (msgbuf), "Code#%d", code); in code_name() 808 (void) slprintf(msgbuf, sizeof (msgbuf), "unknown code %d", code); in code_name() 867 (void) slprintf(lock_file, sizeof(lock_file), "%s/LK.%03d.%03d.%03d", 875 (void) slprintf(lock_file, sizeof(lock_file), "%s/LCK..%s", LOCK_DIR, dev); 930 (void) slprintf(lock_buffer, sizeof(lock_buffer), "%10d\n", pid); 972 (void) slprintf(lock_buffer, sizeof(lock_buffer), "%10d\n", pid);
|
H A D | main.c | 338 (void) slprintf(numbuf, sizeof(numbuf), "%d", uid); 514 (void) slprintf(db_key, sizeof(db_key), "pppd%d", getpid()); 546 (void) slprintf(numbuf, sizeof(numbuf), "%d", getpid()); 827 (void) slprintf(numbuf, sizeof(numbuf), "%d", baud_rate); 1194 (void) slprintf(numbuf, sizeof(numbuf), "%d", getpid()); in detach() 1220 (void) slprintf(pidfilename, sizeof(pidfilename), "%s%s.pid", in create_pidfile() 1239 (void) slprintf(linkpidfile, sizeof(linkpidfile), "%sppp-%s.pid", in create_linkpidfile() 1381 (void) slprintf(buf, sizeof (buf), "unknown %d", pval); 1579 (void) slprintf(numbuf, sizeof(numbuf), "%d", link_connect_time); 1586 (void) slprintf(numbuf, sizeof(numbuf), "%" PPP_COUNTER_F, [all …]
|
H A D | chap.c | 132 (void) slprintf(buf, sizeof(buf), "#%d", clientstate); in chap_cstate() 145 (void) slprintf(buf, sizeof(buf), "#%d", serverstate); in chap_sstate() 839 (void) slprintf(msg, sizeof(msg), "Welcome to %s.", hostname); 841 (void) slprintf(msg, sizeof(msg), "I don't like you. Go 'way.");
|
H A D | options.c | 579 (void) slprintf(path, pl, "%s/%s", user, file); in options_from_user() 606 (void) slprintf(path, pl, "%s%s", _PATH_TTYOPT, dev); in options_for_tty() 981 (void) slprintf(opt_str, sizeof(opt_str), "%s", opt->name); \ 1132 i = slprintf(buf, sizeof(buf), "%s:%d", option_source, option_line); in option_error() 1456 (void) slprintf(buf, sizeof (buf), "%s:%d", info->source, info->line); 1533 (void) slprintf(fname, l, "%s%s", _PATH_PEERFILES, arg);
|
H A D | ccp.c | 1181 (void) slprintf(result, sizeof(result), "Deflate%s (%d/%d)", 1185 (void) slprintf(result, sizeof(result), "Deflate%s (%d)", 1191 (void) slprintf(result, sizeof(result), "BSD-Compress (%d/%d)", 1194 (void) slprintf(result, sizeof(result), "BSD-Compress (%d)", 1210 (void) slprintf(result, sizeof(result), "Method %d", opt->method);
|
H A D | ipcp.c | 248 (void) slprintf(b, sizeof(b), "%I", ipaddr); 1736 (void) slprintf(strspeed, sizeof(strspeed), "%d", baud_rate); 1737 (void) slprintf(strlocal, sizeof(strlocal), "%I", 1739 (void) slprintf(strremote, sizeof(strremote), "%I", 1965 (void) slprintf(buf, sizeof (buf), "IP proto %d", val);
|
H A D | upap.c | 117 (void) slprintf(buf, sizeof (buf), "Cli#%d", clientstate); 131 (void) slprintf(buf, sizeof (buf), "Srv#%d", serverstate);
|
H A D | demand.c | 375 (void) slprintf(pbuf, sizeof (pbuf), "0x#X", proto);
|
H A D | auth.c | 1088 (void) slprintf(passwd, sizeof(passwd), "%.*v", passwdlen, apasswd); 1089 (void) slprintf(user, sizeof(user), "%.*v", userlen, auser); 2165 (void) slprintf(struid, sizeof(struid), "%d", getuid()); 2168 (void) slprintf(strspeed, sizeof(strspeed), "%d", baud_rate);
|
H A D | sys-solaris.c | 262 (void) slprintf(ifname, sizeof (ifname), "%s%d", cp, ifunit); in sys_ifname() 1584 (void) slprintf(sbuf, sizeof (sbuf), "IP proto %d", in dump_packet() 1630 (void) slprintf(sbuf, sizeof (sbuf), "IPv6 proto %d", in dump_packet() 1650 (void) slprintf(sbuf, sizeof (sbuf), "0x#X", proto); in dump_packet() 2447 (void) slprintf(pname, sizeof (pname), "NP %04X", proto); 2454 (void) slprintf(mname, sizeof (mname), "mode %d", (int)mode);
|
H A D | chap_ms.c | 595 slprintf(cp, sizeof (status_message) - (cp-status_message),
|
H A D | pppd.h | 443 extern int slprintf __P((char *, int, const char *, ...)); /* sprintf++ */
|
H A D | fsm.c | 66 (void) slprintf(buf, sizeof (buf), "unknown#%d", statenum); in fsm_state()
|
H A D | ipv6cp.c | 1396 (void) slprintf(strspeed, sizeof (strspeed), "%d", baud_rate);
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/ |
H A D | pppoe.c | 279 (void) slprintf(str, RTE_MSG_LEN, "%I %I %I %d", in handle_ip_route_add() 283 (void) slprintf(envname, sizeof (envname), RTE_STR, ++idx); in handle_ip_route_add() 386 (void) slprintf(envname, sizeof (envname), in handle_pppoe_input() 493 (void) slprintf(envname, sizeof (envname), in pppoe_device_pipe()
|
H A D | mapfile-passprompt | 28 slprintf { TYPE = FUNCTION; FLAGS = extern }; # " "
|
H A D | passprompt.c | 73 slprintf(fdstr, sizeof (fdstr), "%d", p[1]); in promptpass()
|
H A D | mapfile-pppoe | 47 slprintf { TYPE = FUNCTION; FLAGS = extern }; # " "
|