9 Commits

Author SHA1 Message Date
Connector Switch
12e5bd1e30
[libc] Add IN6_IS_ADDR_V4COMPAT (#172646)
This patch adds the `IN6_IS_ADDR_V4COMPAT` macro, which checks whether
an address is IPv4-compatible.
2025-12-18 23:13:54 +08:00
Connector Switch
e071e43589
[libc] Add IN6_IS_ADDR_V4MAPPED (#172645)
This patch adds the `IN6_IS_ADDR_V4MAPPED` macro, which checks whether
an address is IPv4 mapped address.
2025-12-18 23:12:49 +08:00
Connector Switch
12d4889a0a
[libc] Add IN6_IS_ADDR_MC* (#172643)
This patch adds the `IN6_IS_ADDR_MC*` macro, which checks whether an
address is multicast node-local address, multicast link-local address,
multicast site-local address, multicast organization-local address and
multicast global address.
2025-12-18 23:11:35 +08:00
Connector Switch
3f79d13aff
[libc] Add IN6_IS_ADDR_MULTICAST (#172498)
This patch adds the `IN6_IS_ADDR_MULTICAST` macro, which checks whether
an address is multicast address.
2025-12-18 23:10:33 +08:00
Connector Switch
ecd46d350a
[libc] Add IN6_IS_ADDR_LOOPBACK (#172312)
This patch adds the `IN6_IS_ADDR_LOOPBACK` macro, which checks whether
an address is loopback address.
2025-12-18 23:09:35 +08:00
Connector Switch
f904c2ad59
[libc] Add IN6_IS_ADDR_UNSPECIFIED (#172311)
This patch adds the `IN6_IS_ADDR_UNSPECIFIED` macro, which checks
whether an address is unspecified address.
2025-12-18 23:06:54 +08:00
Connector Switch
62ee2cf0f4
[libc] Add IN6_IS_ADDR_{LINK, SITE}LOCAL (#168207)
This patch introduces two macros in `netinet/in.h`. The redundant tests
for macro values in the testcases have been removed.
2025-12-13 10:57:38 +08:00
Connector Switch
c4ceb8d7e5
[libc] add IPV6 related macros (#162219) 2025-10-17 23:41:52 +08:00
Connector Switch
6b1604ac30
[libc] add IPPROTO related macros (#161855) 2025-10-06 11:46:45 +08:00