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

IPTOS_LOWDELAY socket option not defined



Joel,

A quick question for you: the IPTOS_LOWDELAY socket option is not
defined anymore in the current glibc development environment.

The problem seems to be related to changes in the kernel headers: in
2.0.x IPTOS_LOWDELAY was defined in /usr/include/linux/socket.h but in
2.2.x, IPTOS_LOWDELAY (and other socket options) are defined in
/usr/include/linux/ip.h.

The current glibc development environment (both 2 and 2.1) is not
including /usr/include/linux/ip.h so IPTOS_LOWDELAY is not being
defined.

There is software out there that uses IPTOS_LOWDELAY. Samba, which I
maintain, is one example: I have just put an ugly hack in one of the
Samba source files to define IPTOS_LOWDELAY because the normal include
files being used do not define it. See bugs 35333, 33698 and 34148 for
more information.

My question is: shouldn't the glibc development environment take care
of this? Whose problem is this?

Any input will be greatly appreciated.

See ya!

peloy.-
peloy@debian.org


Reply to: