tf6DhcpdUserExecute

Jump to: navigation, search

Table of Contents >> Optional Protocols >> DHCPv6 Server

#include <trsocket.h>


int tf6DhcpdUserExecute (void);


Function Description

Process incoming packets and respond to the clients accordingly. Should be called periodically by the main program in non-blocking mode, or called once in blocking mode in a separate task/thread.


Returns

  • TM_ENOERROR
    Success.
  • TM_ENOENT
    DHCPv6 server has not been configured.
  • TM_EPERM
    DHCPv6 server already executing.


Table of Contents >> Optional Protocols >> DHCPv6 Server