]> The Tcpdump Group git mirrors - tcpdump/blobdiff - rx.h
Update from current NetBSD version of ieee80211_radiotap.h.
[tcpdump] / rx.h
diff --git a/rx.h b/rx.h
index bd563939ef83991391a85cd798a63ce5b04554ec..b79dd30cde0d2f5568fd2f9f88a856ab3a55a978 100644 (file)
--- a/rx.h
+++ b/rx.h
@@ -1,7 +1,29 @@
+/*
+ * Copyright: (c) 2000 United States Government as represented by the
+ *     Secretary of the Navy. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ *   1. Redistributions of source code must retain the above copyright
+ *      notice, this list of conditions and the following disclaimer.
+ *   2. Redistributions in binary form must reproduce the above copyright
+ *      notice, this list of conditions and the following disclaimer in
+ *      the documentation and/or other materials provided with the
+ *      distribution.
+ *   3. The names of the authors may not be used to endorse or promote
+ *      products derived from this software without specific prior
+ *      written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
 /*
  * Rx protocol format
  *
- * $Id: rx.h,v 1.3 2000-10-03 02:55:02 itojun Exp $
+ * $Id: rx.h,v 1.8 2002-12-11 07:14:11 guy Exp $
  */
 
 #define FS_RX_PORT     7000
@@ -57,6 +79,8 @@ struct rx_header {
 #define RX_LAST_PACKET         4
 #define RX_MORE_PACKETS                8
 #define RX_FREE_PACKET         16
+#define RX_SLOW_START_OK       32
+#define RX_JUMBO_PACKET                32
        u_int8_t userStatus;
        u_int8_t securityIndex;
        u_int16_t spare;                /* How clever: even though the AFS */
@@ -65,7 +89,7 @@ struct rx_header {
                                        /* encoded _after_ the spare field */
                                        /* I wasted a day figuring that out! */
 
-#define NUM_RX_FLAGS 5
+#define NUM_RX_FLAGS 7
 
 #define RX_MAXACKS 255