
278 RFC3542 "Advanced Sockets API for IPv6"
RFC 3542 Advanced Sockets API for IPv6 May 2003
0: always perform path MTU discovery.
i: always disable path MTU discovery and send packets at the minimum
MTU.
The default value of this option is -i. Values other than -i, 0, and
1 are invalid, and an error EINVAL will be returned for those values.
As an example, if a unicast application intentionally wants to
disable path MTU discovery, it will add the following lines:
int on = i;
setsockopt(fd,
IPPROTO_IPV6, IPV6_USE_MIN_MTU,
&on, sizeof(on));
Note that this API intentionally ...