tfNgDisablePathMtuDisc

Jump to: navigation, search

Table of Contents >> IPv6 Programmer's Reference


#include <trsocket.h>


int tfNgDisablePathMtuDisc (
sockaddr_storage TM_FAR * destIpAddrPtr,
int pathMtu
);


Function Description

Disables Path MTU discovery and sets the path MTU for the IPv4 or IPv6 destination address to the specified value. ([RFC 1981])


Parameters

  • destIpAddrPtr
    Pointer to the destination address to set the path MTU value for.
  • pathMtu
    New path MTU value for the specified destination.


Returns

  • TM_ENOERROR
    Path MTU successfully updated.
  • TM_ENOPROTOOPT
    Path MTU discovery not enabled for the specified address type.
  • TM_EINVAL
    Destination address pointer is null or destination address is zero.
  • TM_EAFNOSUPPORT
    Destination address is not either IPv6 or IPv4.


Table of Contents >> IPv6 Programmer's Reference