Bug 5888 - Cannot use IP_MTU getsockopt in Linux. Value not in bits/in.h
Summary: Cannot use IP_MTU getsockopt in Linux. Value not in bits/in.h
Status: RESOLVED FIXED
Alias: None
Product: uClibc
Classification: Unclassified
Component: Other (show other bugs)
Version: 0.9.33.2
Hardware: All Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-24 13:01 UTC by Kevin
Modified: 2013-01-26 22:44 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin 2013-01-24 13:01:24 UTC
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?