mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Kernel: Add IPv4 network class masks
This commit is contained in:
parent
7dd4648565
commit
0ce43fae9c
Notes:
sideshowbarker
2024-07-17 11:18:38 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/0ce43fae9c Pull-request: https://github.com/SerenityOS/serenity/pull/13886 Reviewed-by: https://github.com/petelliott ✅
1 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,10 @@ typedef uint32_t in_addr_t;
|
|||
#define INADDR_LOOPBACK 0x7f000001
|
||||
#define INADDR_BROADCAST 0xffffffff
|
||||
|
||||
#define IN_CLASSA_NET 0xff000000
|
||||
#define IN_CLASSB_NET 0xffff0000
|
||||
#define IN_CLASSC_NET 0xffffff00
|
||||
|
||||
#define IN_LOOPBACKNET 127
|
||||
|
||||
#define IP_TOS 1
|
||||
|
|
Loading…
Reference in a new issue