summaryrefslogtreecommitdiffstats
path: root/utils/statd/notlist.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-01-14 12:22:12 -0500
committerSteve Dickson <steved@redhat.com>2010-01-15 14:55:51 -0500
commit4f3f745c172202bf3846f8f1ee5d0a430b6014af (patch)
tree3a7c6fb34a5dd06121e3a4e3996a1d6379c70819 /utils/statd/notlist.h
parente132bb5d5ef85420bb188bceecea361d30cb2bfe (diff)
downloadnfs-utils-4f3f745c172202bf3846f8f1ee5d0a430b6014af.tar.gz
nfs-utils-4f3f745c172202bf3846f8f1ee5d0a430b6014af.tar.xz
nfs-utils-4f3f745c172202bf3846f8f1ee5d0a430b6014af.zip
statd: Update rmtcall.c
Replace the open code to construct NLM downcalls and PMAP_GETPORT RPC requests with calls to our new library routines. This clean up removes redundant code in rmtcall.c, and enables the possibility of making NLM downcalls via IPv6 transports. We won't support that for a long while, however. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'utils/statd/notlist.h')
-rw-r--r--utils/statd/notlist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/statd/notlist.h b/utils/statd/notlist.h
index 664c9d8..f915ae1 100644
--- a/utils/statd/notlist.h
+++ b/utils/statd/notlist.h
@@ -13,14 +13,14 @@
struct notify_list {
mon mon; /* Big honkin' NSM structure. */
struct in_addr addr; /* IP address for callback. */
- unsigned short port; /* port number for callback */
+ in_port_t port; /* port number for callback */
short int times; /* Counter used for various things. */
int state; /* For storing notified state for callbacks. */
char *dns_name; /* used for matching incoming
* NOTIFY requests */
struct notify_list *next; /* Linked list forward pointer. */
struct notify_list *prev; /* Linked list backward pointer. */
- u_int32_t xid; /* XID of MS_NOTIFY RPC call */
+ uint32_t xid; /* XID of MS_NOTIFY RPC call */
time_t when; /* notify: timeout for re-xmit */
};