diff options
Diffstat (limited to 'Userland/Libraries/LibC')
-rw-r--r-- | Userland/Libraries/LibC/netinet/in.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/netinet/in.h b/Userland/Libraries/LibC/netinet/in.h index 5b8e1274e5..c31dfe01cf 100644 --- a/Userland/Libraries/LibC/netinet/in.h +++ b/Userland/Libraries/LibC/netinet/in.h @@ -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 |