Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 1 Jan 2016 21:18:44 -0500
From: Kylie McClain <>
Subject: [PATCH] netinet/tcp: Add TCPOPT, TCPOLEN constants

Hi, this is a patch to add TCPOPT and TCPOLEN constants to

This was discussed in IRC a little, but upon me finishing it
it seemed to get lost in the noise. As such I've submitted it
here so that it won't get lost.

These constants are used by programs such as iptables and are
expected to be defined in the libc's tcp.h; glibc and BSD libcs
all have them exposed by default. However, they are not part of
tcp.h's reserved namespace, therefore it has been hidden behind
_BSD_SOURCE (which is the same as _DEFAULT_SOURCE internally)
so that the behavior is the same across other C libraries and
doesn't require patches to programs, but still manages to be
standards conforming if need be.

I've attached it since I don't trust gmail to not mess up patch

Download attachment "0001-netinet-tcp-Add-TCPOPT-TCPOLEN-constants.patch" of type "application/octet-stream" (1324 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.