1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
16 #include <linux/nfs.h>
17 #include <linux/sunrpc/xdr.h>
19 #define NLM_MAXCOOKIELEN 32
20 #define NLM_MAXSTRLEN 1024
22 #define nlm_granted __constant_htonl(NLM_LCK_GRANTED)
23 #define nlm_lck_denied __constant_htonl(NLM_LCK_DENIED)
24 #define nlm_lck_denied_nolocks __constant_htonl(NLM_LCK_DENIED_NOLOCKS)
25 #define nlm_lck_blocked __constant_htonl(NLM_LCK_BLOCKED)
26 #define nlm_lck_denied_grace_period __constant_htonl(NLM_LCK_DENIED_GRACE_PERIOD)
39 unsigned char data[NLM_MAXCOOKIELEN];
44 struct nlm_cookie cookie;
54 typedef struct nlm_args nlm_args;
57 struct nlm_cookie cookie;
71 #define NLMSVC_XDRSIZE sizeof(struct nlm_args)