Lines Matching full:sessionid
220 char *end, unknown[14], sessionid[5];
276 msg = "SESSIONID";
277 snprintf(sessionid, sizeof sessionid, "%04x", *(u_int16_t *)sts);
278 if (setenv("SESSIONID", sessionid, 1) != 0)
279 syslog(LOG_WARNING, "setenv: cannot set SESSIONID=%s: %m",
280 sessionid);
282 slot = strtoul(sessionid, &end, 16);
283 if (end != sessionid && *end == '\0')
447 char *path, *sessionid;
716 * If we're being envoked from pppoed(8), we may have a SESSIONID
719 if ((sessionid = getenv("SESSIONID")) != NULL) {
723 slot = strtoul(sessionid, &end, 16);
724 dev->slot = end != sessionid && *end == '\0' ? slot : 0;