[all-commits] [llvm/llvm-project] 261e0f: [libc] Add netinet/tcp.h header (#200356)

Pavel Labath via All-commits all-commits at lists.llvm.org
Mon Jun 1 01:11:13 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 261e0f4ec53f1e98a6c5c3a958827eb83c4e4dd9
      https://github.com/llvm/llvm-project/commit/261e0f4ec53f1e98a6c5c3a958827eb83c4e4dd9
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2026-06-01 (Mon, 01 Jun 2026)

  Changed paths:
    M libc/config/linux/aarch64/headers.txt
    M libc/config/linux/riscv/headers.txt
    M libc/config/linux/x86_64/headers.txt
    M libc/docs/CMakeLists.txt
    M libc/docs/headers/index.rst
    M libc/include/CMakeLists.txt
    A libc/include/netinet/tcp.yaml
    A libc/utils/docgen/netinet/tcp.yaml

  Log Message:
  -----------
  [libc] Add netinet/tcp.h header (#200356)

This patch adds the netinet/tcp.h header definition. For now I'm only
adding TCP_NODELAY to it, as that's the only constant specified by
POSIX.

I also include the header in the public headers list for linux targets
and hook it up to the implementation status docs.

I don't add a test as this is just a constant definition, and it would
be very hard to devise (if even possible over a loopback interface) a
test to check that the option has the desired effect (in fact, POSIX
says that an implementation doesn't even have to let you set the
option).

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