nfsv3
Probe Arguments
All NFS operation probes have the first argument in common:
args[0] conninfo_t * socket connection information
The conninfo_t
structure is already used by the iSCSI target provider (iscsi
) and the NFS v4 provider (nfsv4
), and is intended for use by all provider which are providing some higher level protocol, such as iscsi
, nfs
, http
, and ftp
.
typedef struct conninfo { string ci_local; /* local host address */ string ci_remote; /* remote host address */ string ci_protocol; /* protocol (ipv4, ipv6, and so on) */ } conninfo_t;
Operation probes have their second argument in common:
args[1] nfsv3opinfo_t * NFS v3 operation properties typedef struct nfsv3opinfo { string noi_curpath; /* current file handle path (if any) */ cred_t *noi_cred; /* credentials */ uint64_t noi_xid; /* transaction ID */ } nfsv4opinfo_t;