]> The Tcpdump Group git mirrors - tcpdump/blobdiff - rpc_auth.h
Default to first interface from pcap_findalldevs()
[tcpdump] / rpc_auth.h
index 902998eef34ffdafe0201b35cf77fc6d796bc564..3cc9b30c7bb5bb1a211b41ac417384c159213ca5 100644 (file)
@@ -1,4 +1,3 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/rpc_auth.h,v 1.1 2004-12-27 00:41:32 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
@@ -42,9 +41,6 @@
  * "sessions".
  */
 
-#ifndef __RPC_AUTH_H_
-#define __RPC_AUTH_H_
-
 /*
  * Status returned from authentication check
  */
@@ -69,8 +65,8 @@ 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 */
+       uint32_t oa_flavor;             /* flavor of auth */
+       uint32_t oa_len;                /* length of opaque body */
        /* zero or more bytes of body */
 };
 
@@ -80,5 +76,3 @@ struct sunrpc_opaque_auth {
 #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) */
-
-#endif /* !__RPC_AUTH_H_ */