xref: /titanic_51/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/defs.h (revision ce0d9371c4da921f289a8bc7fd846d3bf1b8cca7)
1 /*
2  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
3  * Use is subject to license terms.
4  */
5 /*
6  * Copyright (c) 1983 Regents of the University of California.
7  * All rights reserved.  The Berkeley software License Agreement
8  * specifies the terms and conditions for redistribution.
9  */
10 
11 #ifndef _DEFS_H
12 #define	_DEFS_H
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 #include <errno.h>
19 #include <limits.h>
20 #include <unistd.h>
21 #include <stdlib.h>
22 #include <stdio.h>
23 #include <fcntl.h>
24 #include <ctype.h>
25 #include <string.h>
26 #include <syslog.h>
27 #include <zone.h>
28 
29 #include <sys/types.h>
30 #include <sys/socket.h>
31 #include <sys/ioctl.h>
32 #include <sys/stat.h>
33 #include <sys/file.h>
34 #include <sys/sockio.h>
35 #include <stropts.h>
36 
37 #include <netinet/in.h>
38 #include <netinet/ip6.h>
39 #include <netinet/icmp6.h>
40 #include <netinet/tcp.h>
41 #include <net/if.h>
42 #include <net/pfkeyv2.h>
43 #include <netinet/if_ether.h>
44 #include <net/if_types.h>
45 #include <net/if_dl.h>
46 
47 #include <netinet/dhcp.h>
48 #include <dhcpagent_util.h>
49 #include <dhcpagent_ipc.h>
50 
51 #include <netdb.h>
52 #include <arpa/inet.h>
53 #include <assert.h>
54 
55 #include <ipmp_mpathd.h>
56 #include <ipmp_admin.h>
57 #include <libinetutil.h>
58 #include <alloca.h>
59 
60 #ifdef __cplusplus
61 }
62 #endif
63 
64 #endif /* _DEFS_H */
65