Home
last modified time | relevance | path

Searched refs:rpc_auth_unix (Results 1 – 2 of 2) sorted by relevance

/third_party/NuttX/fs/nfs/
Drpc_clnt.c121 static uint32_t rpc_auth_unix; variable
525 ch->rpc_auth.authtype = rpc_auth_unix; in rpcclnt_fmtheader()
526 ch->rpc_auth.authlen = htonl(sizeof(ch->rpc_auth_unix)); in rpcclnt_fmtheader()
527 ch->rpc_auth_unix.stamp = txdr_unsigned((uint32_t)(((UINT64)high << 32) + low)); in rpcclnt_fmtheader()
528 ch->rpc_auth_unix.hostname_len = htonl(CONFIG_NFS_MACHINE_NAME_SIZE); in rpcclnt_fmtheader()
529 (void)memset_s(ch->rpc_auth_unix.hostname, sizeof(ch->rpc_auth_unix.hostname), in rpcclnt_fmtheader()
530 0, sizeof(ch->rpc_auth_unix.hostname)); in rpcclnt_fmtheader()
531 error = memcpy_s(ch->rpc_auth_unix.hostname, sizeof(ch->rpc_auth_unix.hostname), in rpcclnt_fmtheader()
537 ch->rpc_auth_unix.uid = htonl(nfs_uid); in rpcclnt_fmtheader()
538 ch->rpc_auth_unix.gid = htonl(nfs_gid); in rpcclnt_fmtheader()
[all …]
Drpc.h301 struct auth_unix rpc_auth_unix; member