Merge tag 'for-4.6' of git://git.osdn.jp/gitroot/uclinux-h8/linux
[deliverable/linux.git] / include / linux / sunrpc / auth.h
index 1ecf13e148b8be110f0175950e21e1f77833bbe9..6a241a277249c989990771a76bbb554b86514ddc 100644 (file)
 #include <linux/uidgid.h>
 #include <linux/utsname.h>
 
+/*
+ * Maximum size of AUTH_NONE authentication information, in XDR words.
+ */
+#define NUL_CALLSLACK  (4)
+#define NUL_REPLYSLACK (2)
+
 /*
  * Size of the nodename buffer. RFC1831 specifies a hard limit of 255 bytes,
  * but Linux hostnames are actually limited to __NEW_UTS_LEN bytes.
  */
 #define UNX_MAXNODENAME        __NEW_UTS_LEN
+#define UNX_CALLSLACK  (21 + XDR_QUADLEN(UNX_MAXNODENAME))
 
 struct rpcsec_gss_info;
 
This page took 0.025474 seconds and 5 git commands to generate.