Home
last modified time | relevance | path

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

/external/ppp/pppd/plugins/
Dwinbind.c586 slprintf(message, message_space, "Access granted"); in winbind_chap_verify()
594 slprintf(message, message_space, "E=691 R=1 C=%0.*B V=0", in winbind_chap_verify()
633 slprintf(message, message_space, "S=%s", saresponse); in winbind_chap_verify()
635 slprintf(message, message_space, "S=%s M=%s", in winbind_chap_verify()
643 slprintf(message, message_space, "E=691 R=1 C=%0.*B V=0 M=%s", in winbind_chap_verify()
647 slprintf(message, message_space, "E=691 R=1 C=%0.*B V=0 M=%s", in winbind_chap_verify()
/external/ppp/pppd/plugins/radius/
Dradattr.c75 slprintf(fname, sizeof(fname), "/var/run/radattr.%s", ifname); in print_attributes()
108 slprintf(fname, sizeof(fname), "/var/run/radattr.%s", ifname); in cleanup()
Dradius.c574 slprintf(msg, BUF_LEN, "RADIUS: wrong service type %ld for %s", in radius_setparams()
584 slprintf(msg, BUF_LEN, "RADIUS: wrong framed protocol %ld for %s", in radius_setparams()
636 slprintf(msg, BUF_LEN, "RADIUS: bad remote IP address %I for %s", in radius_setparams()
662 slprintf(msg,BUF_LEN,"RADIUS: bad MS-CHAP2-Success packet"); in radius_setparams()
673 slprintf(msg, BUF_LEN, in radius_setparams()
683 slprintf(msg, BUF_LEN, in radius_setparams()
1267 slprintf(msg, BUF_LEN, "RADIUS: Can't read config file %s", in radius_init()
1273 slprintf(msg, BUF_LEN, "RADIUS: Can't read dictionary file %s", in radius_init()
1279 slprintf(msg, BUF_LEN, "RADIUS: Can't read map file %s", in radius_init()
/external/ppp/pppd/
Dchap-md5.c79 slprintf(message, message_space, "Access granted"); in chap_md5_verify_response()
83 slprintf(message, message_space, "Access denied"); in chap_md5_verify_response()
Dmain.c341 slprintf(numbuf, sizeof(numbuf), "%d", uid);
485 slprintf(db_key, sizeof(db_key), "pppd%d", getpid());
515 slprintf(numbuf, sizeof(numbuf), "%d", getpid());
785 slprintf(ifname, sizeof(ifname), "%s%d", PPP_DRV_NAME, ifunit);
829 slprintf(numbuf, sizeof(numbuf), "%d", getpid()); in detach()
858 slprintf(pidfilename, sizeof(pidfilename), "%s%s.pid",
880 slprintf(linkpidfile, sizeof(linkpidfile), "%sppp-%s.pid",
1298 slprintf(numbuf, sizeof(numbuf), "%u", link_connect_time);
1300 slprintf(numbuf, sizeof(numbuf), "%u", link_stats.bytes_out);
1302 slprintf(numbuf, sizeof(numbuf), "%u", link_stats.bytes_in);
[all …]
Dccp.c293 slprintf(bsd_value, sizeof(bsd_value),
341 slprintf(deflate_value, sizeof(deflate_value),
1374 slprintf(p, q - p, "MPPE ");
1377 slprintf(p, q - p, "128-bit ");
1381 slprintf(p, q - p, "40-bit ");
1385 slprintf(p, q - p, "stateful");
1387 slprintf(p, q - p, "stateless");
1395 slprintf(result, sizeof(result), "Deflate%s (%d/%d)",
1399 slprintf(result, sizeof(result), "Deflate%s (%d)",
1405 slprintf(result, sizeof(result), "BSD-Compress (%d/%d)",
[all …]
Dutils.c129 slprintf __V((char *buf, int buflen, char *fmt, ...)) in slprintf() function
295 slprintf(num, sizeof(num), "%d.%d.%d.%d", (ip >> 24) & 0xff,
909 slprintf(lock_file, sizeof(lock_file), "%s/LK.%03d.%03d.%03d",
928 slprintf(lock_file, sizeof(lock_file), "%s/LCK..%s", LOCK_DIR, dev);
983 slprintf(lock_buffer, sizeof(lock_buffer), "%10d\n", pid);
1025 slprintf(lock_buffer, sizeof(lock_buffer), "%10d\n", pid);
Dchap_ms.c229 slprintf(message, message_space, "Access granted"); in chapms_verify_response()
235 slprintf(message, message_space, "E=691 R=1 C=%0.*B V=0", in chapms_verify_response()
283 slprintf(message, message_space, "S=%s", saresponse); in chapms2_verify_response()
285 slprintf(message, message_space, "S=%s M=%s", in chapms2_verify_response()
312 slprintf(message, message_space, "E=691 R=1 C=%0.*B V=0 M=%s", in chapms2_verify_response()
Dipxcp.c255 slprintf(b, sizeof(b), "%x", ipxaddr);
1412 slprintf(strpid, sizeof(strpid), "%d", getpid());
1413 slprintf(strspeed, sizeof(strspeed),"%d", baud_rate);
1443 slprintf (strlocal, sizeof(strlocal), "%0.6B", go->our_node);
1445 slprintf (strremote, sizeof(strremote), "%0.6B", ho->his_node);
Dipcp.c310 slprintf(b, sizeof(b), "%I", ipaddr);
335 slprintf(vj_value, sizeof(vj_value), "%d", value);
523 slprintf(netmask_str, sizeof(netmask_str), "%I", mask);
2090 slprintf(strspeed, sizeof(strspeed), "%d", baud_rate);
2091 slprintf(strlocal, sizeof(strlocal), "%I", ipcp_gotoptions[0].ouraddr);
2092 slprintf(strremote, sizeof(strremote), "%I", ipcp_hisoptions[0].hisaddr);
Dchap-new.c340 slprintf(rname, sizeof(rname), "%.*v", len, name); in chap_handle_response()
456 slprintf(rname, sizeof(rname), "%.*v", nlen, pkt + clen + 1); in chap_respond()
Dauth.c1389 slprintf(passwd, sizeof(passwd), "%.*v", passwdlen, apasswd);
1390 slprintf(user, sizeof(user), "%.*v", userlen, auser);
2351 slprintf(struid, sizeof(struid), "%d", getuid());
2354 slprintf(strspeed, sizeof(strspeed), "%d", baud_rate);
Dsys-solaris.c758 slprintf(ifr.ifr_name, sizeof(ifr.ifr_name), PPP_DRV_NAME "%d", ifunit); in sys_init()
2239 slprintf(ifdev, sizeof(ifdev), "/dev/%s", name);
2545 slprintf(lock_file, sizeof(lock_file), "%s%03d.%03d.%03d",
2581 slprintf(ascii_pid, sizeof(ascii_pid), "%10d\n", getpid());
Dtty.c282 slprintf(speed_str, sizeof(speed_str), "%d", spd);
742 slprintf(numbuf, sizeof(numbuf), "%d", baud_rate); in connect_tty()
Doptions.c501 slprintf(path, pl, "%s/%s", user, file); in options_from_user()
532 slprintf(path, pl, "%s%s", _PATH_TTYOPT, dev); in options_for_tty()
1470 slprintf(fname, l, "%s%s", _PATH_PEERFILES, arg);
Dupap.c448 slprintf(rhostname, sizeof(rhostname), "%.*v", ruserlen, ruser);
Dsys-linux.c2152 slprintf(route_buffer, sizeof(route_buffer), in ppp_available()
2630 slprintf(pty_name, sizeof(pty_name), "/dev/pts/%d", ptn);
2646 slprintf(pty_name, sizeof(pty_name), "/dev/pty%c%x",
Dpppd.h528 int slprintf __P((char *, int, char *, ...)); /* sprintf++ */
Deap.c1212 (void) slprintf(path, pl, "%s/%s", user, file); in name_of_pn_file()