[Ada] Add some OS constants to control keepalive on TCP connections

Pierre-Marie de Rodat derodat@adacore.com
Wed Jun 30 09:30:45 GMT 2021


This adds some OS constants that are needed to control the
keepalive status of TCP connections. The new constants are
TCP_KEEPCNT, TCP_KEEPIDLE and TCP_KEEPINTVL.

Tested on x86_64-pc-linux-gnu, committed on trunk

gcc/ada/

	* s-oscons-tmplt.c: Add some OS constants.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 658 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210630/70bab4fc/attachment-0001.bin>


More information about the Gcc-patches mailing list