1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00

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
parent 6571468525
commit 107c83bd42
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