nfsv4
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 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] nfsv4opinfo_t * NFS v4 operation properties typedef struct nfsv4opinfo { string noi_curpath; /* current file handle path (if any) */ cred_t *noi_cred; /* credentials */ uint64_t noi_xid; /* transaction ID */ } nfsv4opinfo_t;
Callback operation probes have their second argument in common:
args[1] nfsv4cbinfo_t * NFS v4 callback properties typedef struct nfsv4cbinfo { string nci_curpath; /* file handle path (if any) */ } nfsv4cbinfo_t;