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