tf6DhcprUserConfigFromBuffer
Table of Contents >> Optional Protocols >> DHCPv6 Lightweight DHCPv6 Relay Agent
#include <trsocket.h> |
int tf6DhcprUserConfigFromBuffer | ( |
const char * bufferPtr, | |
unsigned int bufferLen | |
); |
Function Description
This function loads LDRA configuration from a string buffer.
Parameters
- bufferPtr
- Pointer to the string buffer containing the configuration
- bufferLen
- Length of the string buffer containing the configuration
Returns
- TM_ENOERROR
- Success.
- TM_EINVAL
- Invalid pointer or length.
- TM_ENOBUFS
- Not enough memory.
Sample configuration buffer
interface eth0; { facing client; trusted yes; } interface eth1; { facing network; trusted no; }
Table of Contents >> Optional Protocols >> DHCPv6 Lightweight DHCPv6 Relay Agent