I'm trying to use the
IP_TRANSPARENT declaration. I am using debian 6.0.5. IP_TRANSPARENT is only defined in
linux/in.h however it conflicts with
In centos for example,
IP_TRANSPARENT is defined in both
When I look at the top of
bits/in.h (which I get when I include
netinet/in.h, the centos one has
/* Copyright (C) ... 2008, 2010 Free Software Foundation, Inc.
Whereas one in my debian install has
/* Copyright (C) ... 2004, 2008 Free Software Foundation, Inc.
apt-get install linux-headers-2.6.32-5-686
But it says it is already the newest version. How do I update the debian linux headers to the latest versions?
IP_TRANSPARENT is defined in
bits/in.h, which I get if I include
netinet/in.h. It compiles fine under centos.
IP_TRANSPARENT is not in
bits/in.h, so when I include
netinet/in.h I get a
‘IP_TRANSPARENT’ undeclared error when compiling.