lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: [lwip-users] Fragmentation, Options


From: Zschocke, Florian
Subject: AW: [lwip-users] Fragmentation, Options
Date: Fri, 26 Sep 2003 09:07:47 +0200

Matthias Gorjup wrote on Donnerstag, 25. September 2003 18:51:

> 
> there are functions
> setsockopt(a,b,c,d,e) and getsockopt(a,b,c,d,e) in
> the code. 

To clear things up (just in case) the set/getsockopt() functions set BSD
socket options. They have nothing (directly) to do with _IP_ options. Also,
not all socket options are supported right now, only a subset:

SOL_SOCKET:
      SO_ACCEPTCONN
      SO_BROADCAST
      SO_ERROR
      SO_KEEPALIVE
      SO_REUSEADDR
      SO_REUSEPORT
      SO_TYPE

IPPROTO_IP:
      IP_TTL
      IP_TOS

IPPROTO_TCP:
      TCP_NODELAY
      TCP_KEEPALIVE


I'm not sure about IPPROTO_IP::IP_HDRINCL. It should be supported in raw
sockets but i don't know if the raw socket implementation in DEVEL does
support it. Also note that the support of above socket options is still in
the DEVEL branch and not in STABLE, AFAIK.

Florian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]