This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

<netinet/in.h> versus <linux/in.h>,<linux/in6.h>: Needs syncing



Hi,

The linux specific <netinet/in.h> version (now maintained via
bits/in.h in sysdeps/unix/sysv/linux/bits/in.h) is quite out of sync
with <linux/in.h> and <linux/in6.h> Linux 2.1.current.

Some defines are missing, e.g.:
#define IP_ROUTER_ALERT	5
#define IP_RECVOPTS	6
#define IP_RETOPTS	7
#define IP_PKTINFO	8
#define IP_PKTOPTIONS	9
#define IP_MTU_DISCOVER	10
#define IP_RECVERR	11
#define IP_RECVTTL	12
#define	IP_RECVTOS	13
#define IP_MTU		14
#define IP_RECVRETOPTS	IP_RETOPTS

/* IP_MTU_DISCOVER values */
#define IP_PMTUDISC_DONT		0	/* Never send DF frames */
#define IP_PMTUDISC_WANT		1	/* Use per route hints	*/
#define IP_PMTUDISC_DO			2	/* Always DF		*/

and some structs also, e.g. struct ip_mreq, struct ip_mreqn.

Could somebody with more knowledge of networking than I have bring
<linux/in.h> and <linux/in6.h> in sync with glibc's
sysdeps/unix/sysv/linux/bits/in.h, please?

Thanks,
Andreas
-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]