From: Igmar Palsenberg <igmar@palsenberg.com>
To: musl@lists.openwall.com
Subject: Re: iproute2 and musl (netinet/tcp.h)
Date: Tue, 15 Jan 2013 10:05:51 +0100 [thread overview]
Message-ID: <203334B8-CE89-47AD-B986-4618B099A2C3@palsenberg.com> (raw)
In-Reply-To: <20130114220108.GS20323@brightrain.aerifal.cx>
>> i think we should provide the TCP_* socket options
>> from linux/tcp.h and hide SOL_TCP under feature
>> test macros as posix only reserves TCP_ for netinet/tcp.h
>
> Yes, this seems right; I can't find any reference to SOL_TCP being
> allowed or reserved. Actually, SOL_TCP seems to be nonstandard
> nonsense. The correct macro to use seems to be IPPROTO_TCP. See POSIX:
Correct. SOL_TCP is Linux only AFAIK. I've always replace SOL_TCP with IPPROTO_TCP, and
that always worked fine.
Igmar
next prev parent reply other threads:[~2013-01-15 9:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-14 20:35 Daniel Cegiełka
2013-01-14 21:34 ` Szabolcs Nagy
2013-01-14 22:00 ` Daniel Cegiełka
2013-01-14 22:01 ` Rich Felker
2013-01-15 9:05 ` Igmar Palsenberg [this message]
2013-01-15 10:48 ` Daniel Cegiełka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=203334B8-CE89-47AD-B986-4618B099A2C3@palsenberg.com \
--to=igmar@palsenberg.com \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).