[libc-commits] [libc] [libc] Add the sockaddr_in6 type and IN6ADDR_*_INIT macros (PR #201357)
Jeff Bailey via libc-commits
libc-commits at lists.llvm.org
Thu Jun 11 03:30:24 PDT 2026
================
@@ -16,7 +16,9 @@
#include "src/string/memcmp.h"
#include "test/UnitTest/Test.h"
+#include "hdr/netinet_in_macros.h"
#include "hdr/types/struct_in6_addr.h"
+#include "hdr/types/struct_sockaddr_in6.h"
TEST(LlvmLibcNetinetInTest, In6AddrLayout) {
EXPECT_EQ(sizeof(struct in6_addr), size_t(16));
----------------
kaladron wrote:
Doesn't have to be this PR, but below you're using the static_casts. If those are correct, then this should be updated.
https://github.com/llvm/llvm-project/pull/201357
More information about the libc-commits
mailing list