Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 15 Jan 2013 10:05:51 +0100
From: Igmar Palsenberg <igmar@...senberg.com>
To: musl@...ts.openwall.com
Subject: Re: iproute2 and musl (netinet/tcp.h)



>> 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

Powered by blists - more mailing lists

Your e-mail address:

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