3

What is POSIX function to get MTU Size value ?? Thanks.

deddihp
  • 653
  • 1
  • 6
  • 17

1 Answers1

5

No, there is no generic POSIX function for that. The best you can do is to invoke a GET_MTU / SIOCGIFMTU ioctl on the socket, but this is not in the POSIX standard. not supported by all POSIX.

J-16 SDiZ
  • 26,473
  • 4
  • 65
  • 84
  • In linux it is documented in netdevice(7): http://man7.org/linux/man-pages/man7/netdevice.7.html – osgx Sep 13 '16 at 18:42