Skip to content

Commit

Permalink
Kernel: Add IPv4 network class masks
Browse files Browse the repository at this point in the history
  • Loading branch information
timschumi authored and awesomekling committed May 5, 2022
1 parent 7dd4648 commit 0ce43fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Kernel/API/POSIX/netinet/in.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ce43fa

Please sign in to comment.