BOOTLOADER
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
ethernetarp.c File Reference
#include "includes.h"

Go to the source code of this file.

Macros

#define DEBUG_ETHERNET_INFO   0
#define DEBUG_ETHERNET_ADDRESS_GET   0
#define EthernetArpIdleState   0

Functions

void F_EthernetArpInit (void)
INT8U F_EthernetArpInUseCheck (void)
INT8U F_EthernetArpAllocate (INT16U UserId)
INT8U F_EthernetArpRelease (INT16U UserId)
INT8U F_EthernetArpEntrySet (INT16U UserId, INT8U *pMacAddress, INT8U *pIpAddress)
INT8U F_EthernetArpCacheAdd (INT8U *pMacAddress, INT8U *pIpAddress)
INT8U F_EthernetArpAddressGet (INT8U *pIpAddress, INT8U *pMacAddress)
INT8U F_EthernetArpRequestSend (INT8U *pIpAddress)
INT8U F_EthernetArpResponseSend (ARP_HEAD *pArpHead)
INT8U F_EthernetArpResponseSend2 (ARP_HEAD *pArpHead)
INT8U F_EthernetArpPacketReceive (ETHBUFFER *pBuffer)
INT8U F_EthernetArpPacketReceive2 (ETHBUFFER *pBuffer)

Variables

ARP_CONTROL ArpCtrl
ARP_ENTRY ArpEntry
ARP_ENTRY ArpCache [ARP_CACHE_SIZE]

Macro Definition Documentation

#define DEBUG_ETHERNET_ADDRESS_GET   0

Definition at line 15 of file ethernetarp.c.

#define DEBUG_ETHERNET_INFO   0

Definition at line 14 of file ethernetarp.c.

#define EthernetArpIdleState   0

Definition at line 18 of file ethernetarp.c.


Function Documentation

INT8U F_EthernetArpAddressGet ( INT8U pIpAddress,
INT8U pMacAddress 
)

Definition at line 92 of file ethernetarp.c.

INT8U F_EthernetArpAllocate ( INT16U  UserId)

Definition at line 36 of file ethernetarp.c.

INT8U F_EthernetArpCacheAdd ( INT8U pMacAddress,
INT8U pIpAddress 
)

Definition at line 59 of file ethernetarp.c.

INT8U F_EthernetArpEntrySet ( INT16U  UserId,
INT8U pMacAddress,
INT8U pIpAddress 
)

Definition at line 51 of file ethernetarp.c.

void F_EthernetArpInit ( void  )

Definition at line 24 of file ethernetarp.c.

INT8U F_EthernetArpInUseCheck ( void  )

Definition at line 32 of file ethernetarp.c.

INT8U F_EthernetArpPacketReceive ( ETHBUFFER pBuffer)

Definition at line 270 of file ethernetarp.c.

INT8U F_EthernetArpPacketReceive2 ( ETHBUFFER pBuffer)

Definition at line 284 of file ethernetarp.c.

INT8U F_EthernetArpRelease ( INT16U  UserId)

Definition at line 44 of file ethernetarp.c.

INT8U F_EthernetArpRequestSend ( INT8U pIpAddress)

Definition at line 126 of file ethernetarp.c.

INT8U F_EthernetArpResponseSend ( ARP_HEAD pArpHead)

Definition at line 174 of file ethernetarp.c.

INT8U F_EthernetArpResponseSend2 ( ARP_HEAD pArpHead)

Definition at line 221 of file ethernetarp.c.


Variable Documentation

Definition at line 22 of file ethernetarp.c.

ARP_CONTROL ArpCtrl

Definition at line 20 of file ethernetarp.c.

ARP_ENTRY ArpEntry

Definition at line 21 of file ethernetarp.c.