tf6DhcprUserExecute

Jump to: navigation, search

Table of Contents >> Optional Protocols >> Lightweight DHCPv6 Relay Agent

#include <trsocket.h>


int tf6DhcpdUserExecute (void);


Function Description

Process incoming packets and relay to the server or client. 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
    LDRA has not been configured.
  • TM_EPERM
    LDRA already executing.


Table of Contents >> Optional Protocols >> Lightweight DHCPv6 Relay Agent