Talk:Path MTU Discovery
Latest comment: 6 years ago by Alexis Wilke in topic SIOCGIFMTU
This article is rated Start-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||
|
third paragraph
editIn the third paragraph you can read:
"Conversely, if PMTUD finds that the path allows a smaller MTU than what is possible on the lower"
IMHO that's wrong, it shoud say:
"Conversely, if PMTUD finds that the path allows a larger MTU than what is possible on the lower"
Furthermore, the whole paragraph is a bit confusing, so I propose to change it if you agree with me.
Greets! —Preceding unsigned comment added by 83.37.187.250 (talk • contribs)
SIOCGIFMTU
editWould it make sense to mention the fact that it is possible to retreive the size of the MTU on a socket using the ioctl() command as in[1]:
struct ifreq ifr; memset(&ifr, 0, sizeof(ifr)); strcpy(ifr.ifr_name, "eth0"); if(ioctl(sock, SIOCGIFMTU, &ifr) == 0) { int mtu_size = ifr.ifr_mtu; ... }