tf6RouterAdvPrefixDefaults

Jump to: navigation, search

Table of Contents >> Optional Protocols


#include <trsocket.h>


int tf6RouterAdvPrefixDefaults (ttRouterAdvPrefixParamPtr raPrefixParamPtr);


Function Description

A Router Advertisement message contains zero or more Prefix Options (RFC 4861, section 4.6.2). Each contains information that a host would need to identify what IPv6 addresses are assigned to the local network (on-link).


Parameters

  • raPrefixParamPtr
    A pointer to storage for the Router Advertisement Prefix Option parameters (click here for the structure definition).


Returns

  • TM_ENOERROR
    Success.
  • TM_EINVAL
    Parameter raPrefixParamPtr is NULL.


Table of Contents >> Optional Protocols