]> The Tcpdump Group git mirrors - tcpdump/blobdiff - ether.h
Add CAP_FCNTL and use cap_fcntls_limit().
[tcpdump] / ether.h
diff --git a/ether.h b/ether.h
index 105e05e369638d1322ad1c4ae1dd1129a0239c19..58b92de52a030d506bb37ede49427c8452ef9e25 100644 (file)
--- a/ether.h
+++ b/ether.h
@@ -1,4 +1,3 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/ether.h,v 1.5 2000-10-09 02:59:39 guy Exp $ (LBL) */
 /*
  * Copyright (c) 1982, 1986, 1993
  *     The Regents of the University of California.  All rights reserved.
  */
 #define        ETHER_ADDR_LEN          6
 
-/*
- * Ethernet address - 6 octets
- */
-struct ether_addr {
-       u_int8_t        ether_addr_octet[ETHER_ADDR_LEN];
-};
-
 /*
  * Structure of a DEC/Intel/Xerox or 802.3 Ethernet header.
  */
 struct ether_header {
-       u_int8_t        ether_dhost[ETHER_ADDR_LEN];
-       u_int8_t        ether_shost[ETHER_ADDR_LEN];
-       u_int16_t       ether_type;
+       uint8_t         ether_dhost[ETHER_ADDR_LEN];
+       uint8_t         ether_shost[ETHER_ADDR_LEN];
+       uint16_t        ether_type;
 };
 
 /*