xref: /minix3/minix/include/net/gen/socket.h (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
1*433d6423SLionel Sambuc /*
2*433d6423SLionel Sambuc server/ip/gen/socket.h
3*433d6423SLionel Sambuc */
4*433d6423SLionel Sambuc 
5*433d6423SLionel Sambuc #ifndef __SERVER__IP__GEN__SOCKET_H__
6*433d6423SLionel Sambuc #define __SERVER__IP__GEN__SOCKET_H__
7*433d6423SLionel Sambuc 
8*433d6423SLionel Sambuc /* From SunOS: /usr/include/sys/socketh */
9*433d6423SLionel Sambuc 
10*433d6423SLionel Sambuc /*
11*433d6423SLionel Sambuc  * Address families.
12*433d6423SLionel Sambuc  */
13*433d6423SLionel Sambuc #define	AF_UNSPEC	0		/* unspecified */
14*433d6423SLionel Sambuc #define	AF_UNIX		1		/* local to host (pipes, portals) */
15*433d6423SLionel Sambuc #define	AF_INET		2		/* internetwork: UDP, TCP, etc. */
16*433d6423SLionel Sambuc #define	AF_IMPLINK	3		/* arpanet imp addresses */
17*433d6423SLionel Sambuc #define	AF_PUP		4		/* pup protocols: e.g. BSP */
18*433d6423SLionel Sambuc #define	AF_CHAOS	5		/* mit CHAOS protocols */
19*433d6423SLionel Sambuc #define	AF_NS		6		/* XEROX NS protocols */
20*433d6423SLionel Sambuc #define	AF_NBS		7		/* nbs protocols */
21*433d6423SLionel Sambuc #define	AF_ECMA		8		/* european computer manufacturers */
22*433d6423SLionel Sambuc #define	AF_DATAKIT	9		/* datakit protocols */
23*433d6423SLionel Sambuc #define	AF_CCITT	10		/* CCITT protocols, X.25 etc */
24*433d6423SLionel Sambuc #define	AF_SNA		11		/* IBM SNA */
25*433d6423SLionel Sambuc #define	AF_DECnet	12		/* DECnet */
26*433d6423SLionel Sambuc #define	AF_DLI		13		/* Direct data link interface */
27*433d6423SLionel Sambuc #define	AF_LAT		14		/* LAT */
28*433d6423SLionel Sambuc #define	AF_HYLINK	15		/* NSC Hyperchannel */
29*433d6423SLionel Sambuc #define	AF_APPLETALK	16		/* Apple Talk */
30*433d6423SLionel Sambuc 
31*433d6423SLionel Sambuc #define	AF_NIT		17		/* Network Interface Tap */
32*433d6423SLionel Sambuc #define	AF_802		18		/* IEEE 802.2, also ISO 8802 */
33*433d6423SLionel Sambuc #define	AF_OSI		19		/* umbrella for all families used
34*433d6423SLionel Sambuc 					 * by OSI (e.g. protosw lookup) */
35*433d6423SLionel Sambuc #define	AF_X25		20		/* CCITT X.25 in particular */
36*433d6423SLionel Sambuc #define	AF_OSINET	21		/* AFI = 47, IDI = 4 */
37*433d6423SLionel Sambuc #define	AF_GOSIP	22		/* U.S. Government OSI */
38*433d6423SLionel Sambuc #define	AF_INET6	23		/* IP version 6 */
39*433d6423SLionel Sambuc 
40*433d6423SLionel Sambuc #define	AF_MAX		23
41*433d6423SLionel Sambuc 
42*433d6423SLionel Sambuc #endif /* __SERVER__IP__GEN__SOCKET_H__ */
43