af.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
20 #ifndef NET_AF_H
21 #define NET_AF_H
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 enum {
28  AF_UNSPEC = 0,
29 #define AF_UNSPEC AF_UNSPEC
31 #define AF_UNIX AF_UNIX
33 #define AF_PACKET AF_PACKET
35 #define AF_INET AF_INET
37 #define AF_INET6 AF_INET6
40 #define AF_NUMOF AF_NUMOF
41 #define AF_MAX AF_NUMOF
42 };
43 
44 #ifdef __cplusplus
45 }
46 #endif
47 
48 #endif /* NET_AF_H */
#define AF_UNIX
unspecified address family (as macro)
Definition: af.h:31
#define AF_NUMOF
maximum number of address families on this system (as macro)
Definition: af.h:40
#define AF_INET
internetwork address family: UDP, TCP, etc.
Definition: af.h:35
#define AF_INET6
internetwork address family with IPv6: UDP, TCP, etc.
Definition: af.h:37
#define AF_PACKET
packet family (as macro)
Definition: af.h:33
#define AF_UNSPEC
unspecified address family (as macro)
Definition: af.h:29