mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-03 06:40:05 +00:00
LibC: Add IN_MULTICAST to in.h
This commit is contained in:
parent
bfa7aad0f6
commit
54fa06e85c
Notes:
sideshowbarker
2024-07-17 18:04:26 +09:00
Author: https://github.com/rouseabout
Commit: 54fa06e85c
Pull-request: https://github.com/SerenityOS/serenity/pull/12828
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/kleinesfilmroellchen
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@ static inline uint32_t ntohl(uint32_t value)
|
|||
return htonl(value);
|
||||
}
|
||||
|
||||
#define IN_MULTICAST(x) (((x)&0xf0000000) == 0xe0000000)
|
||||
|
||||
// NOTE: The IPv6 Addressing Scheme that we detect are documented in RFC# 2373.
|
||||
// See: https://datatracker.ietf.org/doc/html/rfc2373
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue