Home
last modified time | relevance | path

Searched refs:sessionid (Results 1 – 8 of 8) sorted by relevance

/freebsd-12.1/usr.sbin/ppp/
H A Dether.c222 char *end, unknown[14], sessionid[5]; in ether_MessageIn() local
279 snprintf(sessionid, sizeof sessionid, "%04x", *(u_int16_t *)sts); in ether_MessageIn()
280 if (setenv("SESSIONID", sessionid, 1) != 0) in ether_MessageIn()
282 sessionid); in ether_MessageIn()
284 slot = strtoul(sessionid, &end, 16); in ether_MessageIn()
285 if (end != sessionid && *end == '\0') in ether_MessageIn()
449 char *path, *sessionid; in ether_Create() local
721 if ((sessionid = getenv("SESSIONID")) != NULL) { in ether_Create()
725 slot = strtoul(sessionid, &end, 16); in ether_Create()
726 dev->slot = end != sessionid && *end == '\0' ? slot : 0; in ether_Create()
/freebsd-12.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scripting/
H A Dtst.sid.ksh72 sessionid=`ps -x -o pid,sid | grep "$$ " | awk '{print $2}' 2>/dev/null`
78 $dfilename $sessionid >/dev/null 2>&1
/freebsd-12.1/libexec/pppoed/
H A Dpppoed.c263 char env[18], unknown[14], sessionid[5], *path; in Spawn() local
418 snprintf(sessionid, sizeof sessionid, "%04x", *(u_int16_t *)sts); in Spawn()
419 if (setenv("SESSIONID", sessionid, 1) != 0) in Spawn()
421 sessionid); in Spawn()
/freebsd-12.1/sys/fs/nfsclient/
H A Dnfs_clstate.c3251 uint8_t sessionid[NFSX_V4SESSIONID]; in nfscl_docb() local
3396 clp = nfscl_getclntsess(sessionid); in nfscl_docb()
3452 clp = nfscl_getclntsess(sessionid); in nfscl_docb()
3493 clp = nfscl_getclntsess(sessionid); in nfscl_docb()
3523 clp = nfscl_getclntsess(sessionid); in nfscl_docb()
3552 bcopy(tl, sessionid, NFSX_V4SESSIONID); in nfscl_docb()
3572 clp = nfscl_getclntsess(sessionid); in nfscl_docb()
3604 bcopy(sessionid, tl, NFSX_V4SESSIONID); in nfscl_docb()
3657 clp = nfscl_getclntsess(sessionid); in nfscl_docb()
3762 nfscl_getclntsess(uint8_t *sessionid) in nfscl_getclntsess() argument
[all …]
/freebsd-12.1/sys/fs/nfsserver/
H A Dnfs_nfsdstate.c6287 shp = NFSSESSIONHASH(sessionid); in nfsrv_cache_session()
6289 sep = nfsrv_findsession(sessionid); in nfsrv_cache_session()
6304 nfsrv_findsession(uint8_t *sessionid) in nfsrv_findsession() argument
6309 shp = NFSSESSIONHASH(sessionid); in nfsrv_findsession()
6368 shp = NFSSESSIONHASH(sessionid); in nfsrv_bindconnsess()
6371 sep = nfsrv_findsession(sessionid); in nfsrv_bindconnsess()
6437 shp = NFSSESSIONHASH(sessionid); in nfsrv_freesession()
6439 sep = nfsrv_findsession(sessionid); in nfsrv_freesession()
6552 uint8_t sessionid[NFSX_V4SESSIONID]; in nfsv4_setcbsequence() local
6560 &slotseq, sessionid); in nfsv4_setcbsequence()
[all …]
H A Dnfs_nfsdport.c3763 nfsrv_hashsessionid(uint8_t *sessionid) in nfsrv_hashsessionid() argument
3767 hashval = hash32_buf(sessionid, NFSX_V4SESSIONID, 0); in nfsrv_hashsessionid()
/freebsd-12.1/sys/fs/nfs/
H A Dnfs_commonkrpc.c565 uint8_t sessionid[NFSX_V4SESSIONID]; in newnfs_request() local
1029 sessionid); in newnfs_request()
1035 bcopy(sessionid, tl, in newnfs_request()
H A Dnfs_commonsubs.c4601 uint8_t sessionid[NFSX_V4SESSIONID]; in nfsv4_setsequence() local
4604 sessionid); in nfsv4_setsequence()
4609 bcopy(sessionid, tl, NFSX_V4SESSIONID); in nfsv4_setsequence()
4641 int *slotposp, int *maxslotp, uint32_t *slotseqp, uint8_t *sessionid) in nfsv4_sequencelookup() argument
4653 bcopy(sep->nfsess_sessionid, sessionid, in nfsv4_sequencelookup()
4691 bcopy(sep->nfsess_sessionid, sessionid, NFSX_V4SESSIONID); in nfsv4_sequencelookup()