13
#include <sys/types.h>
19
#include <sys/param.h>
23
#include <netinet/in.h>
26
#include <sys/sysmp.h>
28
#if HAVE_SYS_TCPIPSTATS_H
29
#include <sys/tcpipstats.h>
31
#if defined(IFNET_NEEDS_KERNEL) && !defined(_KERNEL)
33
#define _I_DEFINED_KERNEL
36
#include <sys/socket.h>
42
#include <net/if_var.h>
44
#ifdef _I_DEFINED_KERNEL
49
#include <sys/sysctl.h>
52
#include <sys/stream.h>
55
#include <net/route.h>
57
#if HAVE_NETINET_IN_SYSTM_H
58
#include <netinet/in_systm.h>
61
#include <netinet/ip.h>
64
#include <sys/queue.h>
66
#if HAVE_SYS_SOCKETVAR_H
67
#include <sys/socketvar.h>
69
#if HAVE_NETINET_IP_VAR_H
70
#include <netinet/ip_var.h>
73
#if HAVE_NETINET6_IP6_VAR_H
74
#include <netinet6/ip6_var.h>
77
#if HAVE_NETINET_IN_PCB_H
78
#include <netinet/in_pcb.h>
81
#include <inet/mib2.h>
89
#include "kernel_sunos5.h"
94
#include "kernel_linux.h"
96
/* or MIB_xxxCOUNTER_SYMBOL || hpux11 */
99
#include <netinet/mib_kern.h>