Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed AF_INET6 number to match C-library defines #12145

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions sys/include/net/af.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,11 @@ enum {
#define AF_UNIX AF_UNIX /**< unspecified address family (as macro) */
AF_PACKET, /**< packet family */
#define AF_PACKET AF_PACKET /**< packet family (as macro) */
AF_INET, /**< internetwork address family: UDP, TCP, etc. */
AF_INET = 4, /**< internetwork address family: UDP, TCP, etc. */
#define AF_INET AF_INET /**< internetwork address family: UDP, TCP, etc. (as macro) */
AF_INET6, /**< internetwork address family with IPv6: UDP, TCP, etc. */
AF_INET6 = 10, /**< internetwork address family with IPv6: UDP, TCP, etc. */
#define AF_INET6 AF_INET6 /**< internetwork address family with IPv6: UDP, TCP, etc.
* (as macro) */
AF_NUMOF, /**< maximum number of address families on this system */
#define AF_NUMOF AF_NUMOF /**< maximum number of address families on this system (as macro) */
#define AF_MAX AF_NUMOF /**< alias for @ref AF_NUMOF */
};

#ifdef __cplusplus
Expand Down