diff options
author | Peter Lei <peterlei@netflix.com> | 2021-10-25 20:08:54 -0700 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-11 13:19:29 +0200 |
commit | 73784208e3f457a5e2aea6016fbc29398be91574 (patch) | |
tree | ce1d2369926369bbb4f0953588b656d3dbb39080 | |
parent | 0464f26db0c35b01281c5189b35d4388b49507f5 (diff) | |
download | newlib-73784208e3f457a5e2aea6016fbc29398be91574.zip newlib-73784208e3f457a5e2aea6016fbc29398be91574.tar.gz newlib-73784208e3f457a5e2aea6016fbc29398be91574.tar.bz2 |
tcp: socket option to get stack alias name
TCP stack sysctl nodes are currently inserted using the stack
name alias. Allow the user to get the current stack's alias to
allow for programatic sysctl access.
Obtained from: Netflix
-rw-r--r-- | newlib/libc/sys/rtems/include/netinet/tcp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/sys/rtems/include/netinet/tcp.h b/newlib/libc/sys/rtems/include/netinet/tcp.h index e7c47e8..6dc7403 100644 --- a/newlib/libc/sys/rtems/include/netinet/tcp.h +++ b/newlib/libc/sys/rtems/include/netinet/tcp.h @@ -210,6 +210,7 @@ struct tcphdr { #define TCP_PCAP_OUT 2048 /* number of output packets to keep */ #define TCP_PCAP_IN 4096 /* number of input packets to keep */ #define TCP_FUNCTION_BLK 8192 /* Set the tcp function pointers to the specified stack */ +#define TCP_FUNCTION_ALIAS 8193 /* Get the current tcp function pointer name alias */ /* Options for Rack and BBR */ #define TCP_REUSPORT_LB_NUMA 1026 /* set listen socket numa domain */ #define TCP_RACK_MBUF_QUEUE 1050 /* Do we allow mbuf queuing if supported */ |