Loading...
Searching...
No Matches
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
24extern "C" {
25#endif
26
30typedef enum {
32#define AF_UNSPEC AF_UNSPEC
34#define AF_UNIX AF_UNIX
36#define AF_PACKET AF_PACKET
38#define AF_INET AF_INET
40#define AF_INET6 AF_INET6
43#define AF_NUMOF AF_NUMOF
44#define AF_MAX AF_NUMOF
45} unix_af_t;
46
47#ifdef __cplusplus
48}
49#endif
50
51#endif /* NET_AF_H */
#define AF_UNIX
local to host (pipes, portals) address family.
Definition af.h:34
#define AF_NUMOF
maximum number of address families on this system (as macro)
Definition af.h:43
#define AF_INET
internetwork address family: UDP, TCP, etc.
Definition af.h:38
#define AF_INET6
internetwork address family with IPv6: UDP, TCP, etc.
Definition af.h:40
#define AF_PACKET
packet family (as macro)
Definition af.h:36
#define AF_UNSPEC
unspecified address family (as macro)
Definition af.h:32
unix_af_t
UNIX address family definitions.
Definition af.h:30