xref: /titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/defs.h (revision d2d5cf7c5d909b74a88d499283e24750a9a52c5d)
1 /*
2  * Copyright 2008 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 #pragma ident	"%Z%%M%	%I%	%E% SMI"
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 #include <errno.h>
21 #include <unistd.h>
22 #include <stdlib.h>
23 #include <stdio.h>
24 #include <fcntl.h>
25 #include <ctype.h>
26 #include <string.h>
27 #include <syslog.h>
28 #include <zone.h>
29 
30 #include <sys/types.h>
31 #include <sys/socket.h>
32 #include <sys/ioctl.h>
33 #include <sys/stat.h>
34 #include <sys/file.h>
35 #include <sys/sockio.h>
36 #include <stropts.h>
37 
38 #include <netinet/in.h>
39 #include <netinet/ip6.h>
40 #include <netinet/icmp6.h>
41 #include <netinet/tcp.h>
42 #include <net/if.h>
43 #include <net/pfkeyv2.h>
44 #include <netinet/if_ether.h>
45 #include <net/if_types.h>
46 #include <net/if_dl.h>
47 
48 #include <netinet/dhcp.h>
49 #include <dhcpagent_util.h>
50 #include <dhcpagent_ipc.h>
51 
52 #include <netdb.h>
53 #include <arpa/inet.h>
54 #include <assert.h>
55 
56 #include <ipmp_mpathd.h>
57 #include <inetcfg.h>
58 
59 #ifdef __cplusplus
60 }
61 #endif
62 
63 #endif /* _DEFS_H */
64