-#define LOCKD_ANS_GRANTED 0x0001 /* NLM_GRANTED request */
-#define LOCKD_ANS_LOCK_INFO 0x0002 /* lock info valid */
-#define LOCKD_ANS_LOCK_EXCL 0x0004 /* lock is exclusive */
+#define LOCKD_ANS_GRANTED 0x0001 /* NLM_GRANTED request */
+#define LOCKD_ANS_LOCK_INFO 0x0002 /* lock info valid */
+#define LOCKD_ANS_LOCK_EXCL 0x0004 /* lock is exclusive */
+#define LOCKD_ANS_DENIED_GRACE 0x0008 /* lock denied due to grace period */
+
+
+/*
+ * The structure that lockd hands the kernel for each notify.
+ */
+#define LOCKD_NOTIFY_VERSION 1
+struct lockd_notify {
+ int ln_version; /* lockd_notify version */
+ int ln_flags; /* notify flags */
+ int ln_pad; /* (for alignment) */
+ int ln_addrcount; /* # of addresss */
+ struct sockaddr_storage ln_addr[1]; /* List of addresses. */
+};