X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fstatd%2Fnotlist.h;h=6ed0da80cdca1e72d01d380c8b8b83acf05acb90;hp=664c9d881bc84021b123ed75f3ed8463f08627ea;hb=014e00dfaea0efc92150e2aedc5ca43aa337545e;hpb=0da56f7d359475837008ea4b8d3764fe982ef512 diff --git a/utils/statd/notlist.h b/utils/statd/notlist.h index 664c9d8..6ed0da8 100644 --- a/utils/statd/notlist.h +++ b/utils/statd/notlist.h @@ -12,15 +12,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 */ }; @@ -53,7 +52,6 @@ extern notify_list * nlist_gethost(notify_list *, char *, int); #define NL_FIRST NL_NEXT #define NL_PREV(L) ((L)->prev) #define NL_DATA(L) ((L)->mon) -#define NL_ADDR(L) ((L)->addr) #define NL_STATE(L) ((L)->state) #define NL_TIMES(L) ((L)->times) #define NL_MON_ID(L) (NL_DATA((L)).mon_id)