tfNgAddArpEntry

Jump to: navigation, search

Table of Contents >> IPv6 Programmer's Reference


#include <trsocket.h>


int tfNgAddArpEntry (
const struct sockaddr_storage * arpIpAddrPtr,
const ttUser8Bit * physAddrPtr,
int physAddrLen
);


Function Description

Next Generation API replaces tfAddArpEntry().


Parameters

  • arpIpAddrPtr
    Pointer to the IP addr information.
  • physAddrPtr
    Pointer to a char array that contains the physical address length.
  • physAddrLen
    The length of the physical address.


Returns

  • TM_ENOERROR
    Success.
  • TM_EINVAL
    arpIpAddrPtr or physAddrPtr is a null pointer or physAddrLen is too short.


Table of Contents >> IPv6 Programmer's Reference