/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | multilink.c | 128 p += slprintf(p, l-1, "BUNDLE=\"%q\"", peer_authname); in mp_join_bundle() 130 p += slprintf(p, bundle_id+l-p, "%s", epdisc_to_str(&ho->endpoint)); in mp_join_bundle() 132 p += slprintf(p, bundle_id+l-p, "/%v", bundle_name); in mp_join_bundle() 223 (void) slprintf(ifkey, sizeof(ifkey), "IFNAME=ppp%d", unit); 289 (void) slprintf(str, sizeof(str), "IP:%I", htonl(addr)); 301 q += slprintf(q, sizeof(str)-1, "%s", 304 q += slprintf(q, sizeof(str)-1, "%d", ep->class); 311 q += slprintf(q, str + sizeof(str) - q, "%.2x", ep->value[i]);
|
H A D | utils.c | 106 slprintf __V((char *buf, int buflen, const char *fmt, ...)) in slprintf() function 331 (void) slprintf(num, sizeof(num), "%d.%d.%d.%d", (ip >> 24) & 0xff, 799 (void) slprintf(msgbuf, sizeof (msgbuf), "Code#%d", code); in code_name() 801 (void) slprintf(msgbuf, sizeof (msgbuf), "unknown code %d", code); in code_name() 860 (void) slprintf(lock_file, sizeof(lock_file), "%s/LK.%03d.%03d.%03d", 868 (void) slprintf(lock_file, sizeof(lock_file), "%s/LCK..%s", LOCK_DIR, dev); 923 (void) slprintf(lock_buffer, sizeof(lock_buffer), "%10d\n", pid); 965 (void) slprintf(lock_buffer, sizeof(lock_buffer), "%10d\n", pid);
|
H A D | main.c | 335 (void) slprintf(numbuf, sizeof(numbuf), "%d", uid); 511 (void) slprintf(db_key, sizeof(db_key), "pppd%d", getpid()); 543 (void) slprintf(numbuf, sizeof(numbuf), "%d", getpid()); 824 (void) slprintf(numbuf, sizeof(numbuf), "%d", baud_rate); 1378 (void) slprintf(buf, sizeof (buf), "unknown %d", pval); 1583 (void) slprintf(numbuf, sizeof(numbuf), "%" PPP_COUNTER_F, 1586 (void) slprintf(numbuf, sizeof(numbuf), "%" PPP_COUNTER_F, 1589 (void) slprintf(numbuf, sizeof(numbuf), "%" PPP_COUNTER_F, 1592 (void) slprintf(numbuf, sizeof(numbuf), "%" PPP_COUNTER_F, 2283 (void) slprintf(newstring, vl, "%s=%s", var, value); [all …]
|
H A D | chap.c | 122 (void) slprintf(buf, sizeof(buf), "#%d", clientstate); in chap_cstate() 135 (void) slprintf(buf, sizeof(buf), "#%d", serverstate); in chap_sstate() 829 (void) slprintf(msg, sizeof(msg), "Welcome to %s.", hostname); 831 (void) slprintf(msg, sizeof(msg), "I don't like you. Go 'way.");
|
H A D | options.c | 573 (void) slprintf(path, pl, "%s/%s", user, file); in options_from_user() 600 (void) slprintf(path, pl, "%s%s", _PATH_TTYOPT, dev); in options_for_tty() 975 (void) slprintf(opt_str, sizeof(opt_str), "%s", opt->name); \ 1126 i = slprintf(buf, sizeof(buf), "%s:%d", option_source, option_line); in option_error() 1450 (void) slprintf(buf, sizeof (buf), "%s:%d", info->source, info->line); 1527 (void) slprintf(fname, l, "%s%s", _PATH_PEERFILES, arg);
|
H A D | ccp.c | 1177 (void) slprintf(result, sizeof(result), "Deflate%s (%d/%d)", 1181 (void) slprintf(result, sizeof(result), "Deflate%s (%d)", 1187 (void) slprintf(result, sizeof(result), "BSD-Compress (%d/%d)", 1190 (void) slprintf(result, sizeof(result), "BSD-Compress (%d)", 1206 (void) slprintf(result, sizeof(result), "Method %d", opt->method);
|
H A D | ipcp.c | 241 (void) slprintf(b, sizeof(b), "%I", ipaddr); 1729 (void) slprintf(strspeed, sizeof(strspeed), "%d", baud_rate); 1730 (void) slprintf(strlocal, sizeof(strlocal), "%I", 1732 (void) slprintf(strremote, sizeof(strremote), "%I", 1958 (void) slprintf(buf, sizeof (buf), "IP proto %d", val);
|
H A D | upap.c | 110 (void) slprintf(buf, sizeof (buf), "Cli#%d", clientstate); 124 (void) slprintf(buf, sizeof (buf), "Srv#%d", serverstate);
|
H A D | demand.c | 369 (void) slprintf(pbuf, sizeof (pbuf), "0x#X", proto);
|
H A D | auth.c | 1081 (void) slprintf(passwd, sizeof(passwd), "%.*v", passwdlen, apasswd); 1082 (void) slprintf(user, sizeof(user), "%.*v", userlen, auser); 2158 (void) slprintf(struid, sizeof(struid), "%d", getuid()); 2161 (void) slprintf(strspeed, sizeof(strspeed), "%d", baud_rate);
|
H A D | sys-solaris.c | 256 (void) slprintf(ifname, sizeof (ifname), "%s%d", cp, ifunit); in sys_ifname() 1525 (void) slprintf(sbuf, sizeof (sbuf), "IP proto %d", in dump_packet() 1571 (void) slprintf(sbuf, sizeof (sbuf), "IPv6 proto %d", in dump_packet() 1591 (void) slprintf(sbuf, sizeof (sbuf), "0x#X", proto); in dump_packet() 2388 (void) slprintf(pname, sizeof (pname), "NP %04X", proto); 2395 (void) slprintf(mname, sizeof (mname), "mode %d", (int)mode);
|
H A D | chap_ms.c | 588 slprintf(cp, sizeof (status_message) - (cp-status_message),
|
H A D | pppd.h | 450 extern int slprintf __P((char *, int, const char *, ...)); /* sprintf++ */
|
H A D | fsm.c | 59 (void) slprintf(buf, sizeof (buf), "unknown#%d", statenum); in fsm_state()
|
H A D | ipv6cp.c | 1392 (void) slprintf(strspeed, sizeof (strspeed), "%d", baud_rate);
|
/illumos-gate/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 | 78 (void) slprintf(fdstr, sizeof (fdstr), "%d", p[1]); in promptpass()
|
H A D | mapfile-pppoe | 47 slprintf { TYPE = FUNCTION; FLAGS = extern }; # " "
|