tfBootpClearOptions

Jump to: navigation, search

Table of Contents >> Optional Protocols >> BOOTP


#include <trsocket.h>


int tfBootpClearOptions (
ttUserInterface interfaceHandle,
int indexType,
int index
);


Function Description

This function is used to clear all non-native BOOTP configuration options that were set via tfBootpConfSetOption() or tfBootpUserSetOption(). By default, these options persist through an interface close and reopen cycle.


Parameters

  • interfaceHandle
    The interface on which to clear the custom options.
  • indexType
    The index parameter type. Specify TM_BT_CONF for multihome index (Automatic Configuration) or TM_BT_USER for user index (User-Controlled Configuration).
  • index
    The multihome or user index on which to clear the custom options.


Returns

  • TM_ENOERROR
    Success.
  • TM_EINVAL
    Invalid argument.


Table of Contents >> Optional Protocols >> BOOTP