OpenNet
Macros | Functions
ARP.h File Reference

Go to the source code of this file.

Macros

#define ARP_ETHERNET_TYPE_nh   (0x0608)
 The Ethernet type of ARP packets.
 

Functions

OPEN_NET_GLOBAL unsigned short * ARP_Destination (OPEN_NET_GLOBAL unsigned char *aData)
 This function returns a pointer to the requested address. More...
 
unsigned short ARP_Protocol (OPEN_NET_GLOBAL unsigned char *aData)
 This function returns the protocol. More...
 
OPEN_NET_GLOBAL unsigned short * ARP_Source (OPEN_NET_GLOBAL unsigned char *aData)
 This function returns a pointer to the source address. More...
 

Detailed Description

Author
KMS - Martin Dubois, ing.

Function Documentation

OPEN_NET_GLOBAL unsigned short* ARP_Destination ( OPEN_NET_GLOBAL unsigned char *  aData)

This function returns a pointer to the requested address.

Parameters
aDataA pointer to the ARP header
Returns
This function returns a pointer to the requested address.
unsigned short ARP_Protocol ( OPEN_NET_GLOBAL unsigned char *  aData)

This function returns the protocol.

Parameters
aDataA pointer to the ARP header
Returns
This function returns the protocol.
OPEN_NET_GLOBAL unsigned short* ARP_Source ( OPEN_NET_GLOBAL unsigned char *  aData)

This function returns a pointer to the source address.

Parameters
aDataA pointer to the ARP header
Returns
This function returns a pointer to the source address.