X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2d21ac55c334faf3a56e5634905ed6987fc787d4..04b8595b18b1b41ac7a206e4b3d51a635f8413d7:/bsd/net/if_mib.h diff --git a/bsd/net/if_mib.h b/bsd/net/if_mib.h index 5b0d38a14..3dbf262a2 100644 --- a/bsd/net/if_mib.h +++ b/bsd/net/if_mib.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. + * Copyright (c) 2000-2011 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -71,6 +71,15 @@ struct ifmibdata { struct if_data64 ifmd_data; /* generic information and statistics */ }; +#ifdef PRIVATE +struct ifmibdata_supplemental { + struct if_traffic_class ifmd_traffic_class; + struct if_data_extended ifmd_data_extended; + struct if_packet_stats ifmd_packet_stats; + struct if_rxpoll_stats ifmd_rxpoll_stats; +}; +#endif /* PRIVATE */ + /* * sysctl MIB tags at the net.link.generic level */ @@ -85,6 +94,9 @@ struct ifmibdata { #define IFDATA_LINKSPECIFIC 2 /* specific to the type of interface */ #define IFDATA_ADDRS 3 /* addresses assigned to interface */ #define IFDATA_MULTIADDRS 4 /* multicast addresses assigned to interface */ +#ifdef PRIVATE +#define IFDATA_SUPPLEMENTAL 5 /* supplemental link specific stats */ +#endif /* PRIVATE */ /* * MIB tags at the net.link.generic.system level @@ -198,4 +210,16 @@ enum { * Put other types of interface MIBs here, or in interface-specific * header files if convenient ones already exist. */ + +/* + * Structure for interface family ID table + */ + +struct if_family_id { + u_int32_t iffmid_len; + u_int32_t iffmid_id; + char iffmid_str[1]; /* variable length string */ +}; + + #endif /* _NET_IF_MIB_H */