Kernel+LibC: Add AF_MAX

Will be updated as we add more protocols (e.g AF_INET6)
This commit is contained in:
Yonatan Goldschmidt 2020-05-10 23:35:20 +03:00 committed by Andreas Kling
commit 107c83bd42
Notes: sideshowbarker 2024-07-19 06:44:20 +09:00
2 changed files with 3 additions and 0 deletions

View file

@ -379,6 +379,7 @@ struct pollfd {
#define AF_UNSPEC 0
#define AF_LOCAL 1
#define AF_INET 2
#define AF_MAX 3
#define PF_LOCAL AF_LOCAL
#define PF_INET AF_INET