[all-commits] [llvm/llvm-project] 375231: [libc] Add struct group_req, struct group_source_r...

Pavel Labath via All-commits all-commits at lists.llvm.org
Mon Jul 20 22:19:23 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 375231d8ea9b4f5a3a71f4afb3d76ba6e1dcefc5
      https://github.com/llvm/llvm-project/commit/375231d8ea9b4f5a3a71f4afb3d76ba6e1dcefc5
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2026-07-21 (Tue, 21 Jul 2026)

  Changed paths:
    M libc/hdr/types/CMakeLists.txt
    A libc/hdr/types/struct_group_req.h
    A libc/hdr/types/struct_group_source_req.h
    M libc/include/CMakeLists.txt
    M libc/include/llvm-libc-types/CMakeLists.txt
    A libc/include/llvm-libc-types/struct_group_req.h
    A libc/include/llvm-libc-types/struct_group_source_req.h
    M libc/include/netinet/in.yaml
    M libc/test/src/netinet/CMakeLists.txt
    M libc/test/src/netinet/in_test.cpp

  Log Message:
  -----------
  [libc] Add struct group_req, struct group_source_req, and related socket options (#210029)

Add definitions for struct group_req and struct group_source_req in
llvm-libc-types and wire them into <netinet/in.h>.

Also define the multicast socket options using these structs:
- MCAST_JOIN_GROUP
- MCAST_LEAVE_GROUP
- MCAST_BLOCK_SOURCE
- MCAST_UNBLOCK_SOURCE
- MCAST_JOIN_SOURCE_GROUP
- MCAST_LEAVE_SOURCE_GROUP

Add layout assertions for struct group_req and struct group_source_req
to the netinet/in.h unit test.

Assisted by Gemini.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list