Bug 5888

Summary: Cannot use IP_MTU getsockopt in Linux. Value not in bits/in.h
Product: uClibc Reporter: Kevin <Kevin.Guthrie>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: minor CC: uclibc-cvs
Priority: P5    
Version: 0.9.33.2   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

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?