X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Flinux%2Fsunrpc%2Fauth.h;h=6a241a277249c989990771a76bbb554b86514ddc;hb=732b84eece43bca56d2b4b28f5d2109cd30a6a32;hp=1ecf13e148b8be110f0175950e21e1f77833bbe9;hpb=ef41a2cedb14871203ee28d7a5cb5aafe4e97439;p=deliverable%2Flinux.git diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h index 1ecf13e148b8..6a241a277249 100644 --- a/include/linux/sunrpc/auth.h +++ b/include/linux/sunrpc/auth.h @@ -20,11 +20,18 @@ #include #include +/* + * 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;