mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 16:58:58 +00:00
LibC: Add IN6_IS_ADDR_MULTICAST
This commit is contained in:
parent
0ce43fae9c
commit
defe7b4ecc
Notes:
sideshowbarker
2024-07-17 11:18:34 +09:00
Author: https://github.com/timschumi
Commit: defe7b4ecc
Pull-request: https://github.com/SerenityOS/serenity/pull/13886
Reviewed-by: https://github.com/petelliott ✅
1 changed files with 4 additions and 0 deletions
|
@ -58,4 +58,8 @@ static inline uint32_t ntohl(uint32_t value)
|
|||
#define IN6_IS_ADDR_LINKLOCAL(addr) \
|
||||
(((addr)->s6_addr[0] == 0xfe) && (((addr)->s6_addr[1] & 0xc0) == 0x80))
|
||||
|
||||
// RFC# 2373 - 2.7 Multicast Addresses
|
||||
#define IN6_IS_ADDR_MULTICAST(addr) \
|
||||
((addr)->s6_addr[0] == 0xff)
|
||||
|
||||
__END_DECLS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue