135 reputation
15
bio website
location
age
visits member for 1 year, 8 months
seen 2 days ago

Jun
29
awarded  Notable Question
Jul
22
awarded  Popular Question
Feb
5
accepted Definitive way to configure network devices in Centos 6.2
Jan
16
comment Definitive way to configure network devices in Centos 6.2
hi, added the output to the bottom of the question
Jan
16
revised Definitive way to configure network devices in Centos 6.2
added 2693 characters in body
Jan
16
revised Definitive way to configure network devices in Centos 6.2
added 49 characters in body
Jan
16
asked Definitive way to configure network devices in Centos 6.2
Jan
2
awarded  Supporter
Dec
14
awarded  Scholar
Dec
14
accepted IP_TRANSPARENT missing from glibc headers
Dec
14
revised IP_TRANSPARENT missing from glibc headers
edited title
Dec
14
comment IP_TRANSPARENT missing from glibc headers
Hi, thanks, that explains it; centos rpm -q glibc shows glibc-2.12 while on debian apt-cache show libc6 shows glibc-2.11. I can't upvote your last comment or mark it as an answer though - assuming updating glibc will update the headers. Or do I upvote and mark your original answer (even though strictly speaking it didn't answer the question?)
Dec
14
revised IP_TRANSPARENT missing from glibc headers
added 6 characters in body
Dec
14
comment IP_TRANSPARENT missing from glibc headers
Hi, yes I meant while I should only include netinet/in.h, on my debian install, bits/in.h doesn't define IP_TRANSPARENT. which is causing my compile errors. It compiles fine on centos as bits/in.h defines IP_TRANSPARENT because it is newer (dated 2010) than the debian one (dated 2008). I've updated the original question to clarify this.
Dec
14
awarded  Editor
Dec
14
comment IP_TRANSPARENT missing from glibc headers
Hi, what do you mean forget about the other declarations, do you mean I should #define IP_TRANSPARENT in my own program instead? In centos, IP_TRANSPARENT is defined in bits/in.h, which I get if I include netinet/in.h. In debian, IP_TRANSPARENT is not in bits/in.h, so when I include netinet/in.h I get a ‘IP_TRANSPARENT’ undeclared error when compiling.
Dec
14
revised IP_TRANSPARENT missing from glibc headers
added 284 characters in body
Dec
13
awarded  Student
Dec
13
asked IP_TRANSPARENT missing from glibc headers