tfNtArpEntryToStr

Jump to: navigation, search

Table of Contents >> Application Reference >> NETSTAT


#include <trsocket.h>


char * tfNtArpEntryToStr (
ttNtArpEntryPtr ntArpEntryPtr,
char * buffer,
int * sizePtr
);


Function Description

This function converts an ARP entry to a string containing the major fields.


Parameters

  • ntArpEntryPtr
    The ARP entry to be converted.
  • buffer
    A buffer to hold the resultant string. The size of this buffer should be TM_NT_ARP_TABLE_STR_LEN bytes.
  • sizePtr
    A pointer containing the size of buffer when tfNtArpEntryToStr() is called. Upon return, this is a pointer to the actual size of the resultant string.


Returns

  • >= 0
    A pointer to the resultant string.
  • 0
    One of the following:
  • buffer is NULL.
  • sizePtr is NULL or less than TM_NT_ARP_TABLE_STR_LEN.


Table of Contents >> Application Reference >> NETSTAT