Home
last modified time | relevance | path

Searched refs:slprintf (Results 1 – 19 of 19) sorted by relevance

/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmultilink.c134 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 Dutils.c113 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 Dmain.c338 (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 Dchap.c132 (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 Doptions.c579 (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 Dccp.c1181 (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 Dipcp.c248 (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 Dupap.c117 (void) slprintf(buf, sizeof (buf), "Cli#%d", clientstate);
131 (void) slprintf(buf, sizeof (buf), "Srv#%d", serverstate);
H A Ddemand.c375 (void) slprintf(pbuf, sizeof (pbuf), "0x#X", proto);
H A Dauth.c1088 (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 Dsys-solaris.c262 (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 Dchap_ms.c595 slprintf(cp, sizeof (status_message) - (cp-status_message),
H A Dpppd.h443 extern int slprintf __P((char *, int, const char *, ...)); /* sprintf++ */
H A Dfsm.c66 (void) slprintf(buf, sizeof (buf), "unknown#%d", statenum); in fsm_state()
H A Dipv6cp.c1396 (void) slprintf(strspeed, sizeof (strspeed), "%d", baud_rate);
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c279 (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 Dmapfile-passprompt28 slprintf { TYPE = FUNCTION; FLAGS = extern }; # " "
H A Dpassprompt.c73 slprintf(fdstr, sizeof (fdstr), "%d", p[1]); in promptpass()
H A Dmapfile-pppoe47 slprintf { TYPE = FUNCTION; FLAGS = extern }; # " "