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 
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 enum {
30  AF_UNSPEC = 0,
31 #define AF_UNSPEC AF_UNSPEC
32  AF_UNIX,
33 #define AF_UNIX AF_UNIX
34  AF_PACKET,
35 #define AF_PACKET AF_PACKET
36  AF_INET,
37 #define AF_INET AF_INET
38  AF_INET6,
39 #define AF_INET6 AF_INET6
41  AF_NUMOF,
42 #define AF_NUMOF AF_NUMOF
43 #define AF_MAX AF_NUMOF
44 };
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 
50 #endif /* NET_AF_H */
51 
AF_UNSPEC
#define AF_UNSPEC
unspecified address family (as macro)
Definition: af.h:31