Jump to: navigation, search

Table of Contents >> IPv6 Programmer's Reference

#include <trsocket.h>

int tf6GetPathMtu (
sockaddr_storage *destIpAddrPtr,
int * pathMtuPtr

Function Description

Retrieves the current Path MTU for the specified destination address. This path MTU does not take into account overhead added by IPsec, but does include protocol tunneling overhead.


  • destIpAddrPtr
    IPv6 address of the destination to get the Path MTU for.
  • pathMtuPtr
    Set to the current IPv6 Path MTU upon return, if no error occurred.


    IPv6 Path MTU successfully returned.
    Destination address is not an IPv6 address.
    There was in invalid argument. Possible causes include the destination address pointer or the Path MTU pointer is NULL or a route to the destination address could not be found.

Table of Contents >> IPv6 Programmer's Reference