Struct:tt6TempPrefixFilter

Jump to: navigation, search
#include trsocket.h
 
typedef struct ts6TempPrefixFilter
{
    struct in6_addr tpf6Prefix;
    int             tpf6PrefixLen;
    int             tpf6Configure;
} tt6TempPrefixFilter;
 
typedef tt6TempPrefixFilter TM_FAR * tt6TempPrefixFilterPtr;

Structure Description

This structure is for use with temporary autoconfigured addresses (see Main Article). When temporary autoconfigured addresses are enabled on an interface (see RFC 4941, Privacy Extensions for Stateless Address Autoconfiguration in IPv6), a router can initiate the autoconfiguration process by advertising prefix information for the subnet.

You can apply any number of filters to enable or disable temporary address autoconfiguration on an interface for specific prefixes of your choice.

Apply a filter by calling tfInterfaceSetOptions() with optionName set to TM_6_DEV_OPTIONS_TEMP_SET_FILT, optionValuePtr pointing to your tt6TempPrefixFilter variable and optionLength set to sizeof(tt6TempPrefixFilter).


Members

  • tpf6Prefix
    The IPv6 prefix to be included or excluded from temporary address autoconfiguration.
  • tpf6PrefixLen
    The length of the prefix.
  • tpf6Configure
    Configure a temporary address for the prefix if tpf6Configure is non-zero. Don't configure a temporary address if tpf6Configure is zero.