]> The Tcpdump Group git mirrors - tcpdump/blobdiff - token.h
always use u_intXX_t for protocol format declaration. char/short/int may not
[tcpdump] / token.h
diff --git a/token.h b/token.h
index a6685a1c611aa2fc3b0b8de401375b7ed3c118fe..97b46159befe75d7eade5a4bd2a9f27e6223170f 100644 (file)
--- a/token.h
+++ b/token.h
@@ -1,4 +1,4 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/token.h,v 1.2 2000-09-18 04:40:46 guy Exp $ (LBL) */
+/* @(#) $Header: /tcpdump/master/tcpdump/token.h,v 1.3 2000-10-03 02:55:03 itojun Exp $ (LBL) */
 /*
  * Copyright (c) 1998, Larry Lile
  * All rights reserved.
 #define SEGMENT_COUNT(trp)     ((RIF_LENGTH(trp) - 2) / 2)
 
 struct token_header {
-       u_char  token_ac;
-       u_char  token_fc;
-       u_char  token_dhost[TOKEN_RING_MAC_LEN];
-       u_char  token_shost[TOKEN_RING_MAC_LEN];
-       u_short token_rcf;
-       u_short token_rseg[ROUTING_SEGMENT_MAX];
+       u_int8_t  token_ac;
+       u_int8_t  token_fc;
+       u_int8_t  token_dhost[TOKEN_RING_MAC_LEN];
+       u_int8_t  token_shost[TOKEN_RING_MAC_LEN];
+       u_int16_t token_rcf;
+       u_int16_t token_rseg[ROUTING_SEGMENT_MAX];
 };