[Bug 5888] New: Cannot use IP_MTU getsockopt in Linux. Value not in bits/in.h
bugzilla at busybox.net
bugzilla at busybox.net
Thu Jan 24 13:01:02 UTC 2013
https://bugs.busybox.net/show_bug.cgi?id=5888
Summary: Cannot use IP_MTU getsockopt in Linux. Value not in
bits/in.h
Product: uClibc
Version: 0.9.33.2
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at uclibc.org
ReportedBy: Kevin.Guthrie at itron.com
CC: uclibc-cvs at uclibc.org
Estimated Hours: 0.0
In application code I am developing, I do a getsockopt to retrieve the current
known MTU for a socket I have connected to. I do this with a simple call of
getsockopt(iSocket, IPPROTO_IP, IP_MTU, &value). This works fine built against
glibc but it appears the IP_MTU option is missing from uClibc's header files.
It works fine if the define is added in. It appears that this and a few other
IP options are missing from libc/sysdeps/linux/common/bits/in.h. The IPV6_MTU
option is there though. Can this minor update be made to the header file for a
future release?
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the uClibc-cvs
mailing list