tfAddrPolicyTableModifyEntry
Table of Contents >> Application Reference >> DNS Resolver
| #include <trsocket.h> |
| int tfAddrPolicyTableModifyEntry | ( |
| ttUserAddrPolicyEntryHandle apeHandle, | |
| int optionName, | |
| ttUserVoidPtr optionValuePtr, | |
| int optionLength, | |
| int flags | |
| ); |
Function Description
This function modifies a value in an existing policy table entry.
| optionName | Data Type | Description |
| TM_ADDR_POLICY_TABLE_OPT_PREFIX | tt6IpAddress | The IPv6 address prefix. |
| TM_ADDR_POLICY_TABLE_OPT_PREFIX_LEN | int | The length of the IPv6 address prefix. |
| TM_ADDR_POLICY_TABLE_OPT_PRECEDENCE | ttUser8Bit | The precedence value. |
| TM_ADDR_POLICY_TABLE_OPT_LABEL | ttUser8Bit | The label value. |
Parameters
- apeHandle
- The policy handle as returned by tfAddrPolicyTableAddEntry().
- optionName
- The name of the option to modify. See above.
- optionValuePtr
- A pointer to the value of the option to modify. This variable is of data type listed above.
- optionLength
- The length of the value pointed to by optionValuePtr. This must be the size of the data type listed above.
- flags
- Currently unused.
Returns
- TM_ENOERROR
- Success.
- TM_EPERM
- The policy entry table is empty.
- TM_EINVAL
- One of the following:
- The apeHandle was NULL.
- The optionName was 0.
- The optionValuePtr was NULL.
- The optionLength was NULL.