]> The Tcpdump Group git mirrors - tcpdump/blobdiff - rpc_auth.h
Makefile.in: don't remove configure and config.h.in in make distclean.
[tcpdump] / rpc_auth.h
index fe9a40b262bc8df2af44a4dc9e6715764c22a983..b73e3be048d1ee992f9fecc5eb5603c571b2a50a 100644 (file)
@@ -1,4 +1,3 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/rpc_auth.h,v 1.2 2005-04-27 21:43:48 guy Exp $ (LBL) */
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
@@ -66,14 +65,7 @@ enum sunrpc_auth_stat {
  * Authentication info.  Opaque to client.
  */
 struct sunrpc_opaque_auth {
-       u_int32_t oa_flavor;            /* flavor of auth */
-       u_int32_t oa_len;               /* length of opaque body */
+       nd_uint32_t oa_flavor;          /* flavor of auth */
+       nd_uint32_t oa_len;             /* length of opaque body */
        /* zero or more bytes of body */
 };
-
-#define SUNRPC_AUTH_NONE       0       /* no authentication */
-#define        SUNRPC_AUTH_NULL        0       /* backward compatibility */
-#define        SUNRPC_AUTH_UNIX        1       /* unix style (uid, gids) */
-#define        SUNRPC_AUTH_SYS         1       /* forward compatibility */
-#define        SUNRPC_AUTH_SHORT       2       /* short hand unix style */
-#define SUNRPC_AUTH_DES                3       /* des style (encrypted timestamps) */