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?
http://git.uclibc.org/uClibc/commit/?id=07cca0b20d8cea6efa5519419f2db17030ad0252