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

Go to the source code of this file.

Macros

#define DEBUG_IP_INFO   0
#define EthernetIpIdleState   0

Functions

void F_EthernetIpInit (void)
INT8U F_EthernetIpInUseCheck (void)
INT8U F_EthernetIpAllocate (INT16U UserId)
INT8U F_EthernetIpRelease (INT16U UserId)
INT8U F_EthernetIpPacketReceive (ETHBUFFER *pBuffer)
INT8U F_EthernetIpSend (ETHBUFFER *pBuffer, INT8U *pIpAddress, INT8U Protocol)
void F_EthernetIpBufferReserve (ETHBUFFER *pBuffer)
INT8UF_EthernetIpSourceIpGet (ETHBUFFER *pBuffer)
INT16U F_EthernetIpFastCheckSum (INT8U *pIph, INT32U Ihl)
INT16U F_EthernetIpCheckSum (INT8U *pHead, INT32U IpHeadLength)
void F_EthernetIpSvc (void)
INT8U F_EthernetIpIpAddressSet (INT16U UserId, INT8U *pIpAddress)

Variables

IP_CONTROL IpCtrl

Macro Definition Documentation

#define DEBUG_IP_INFO   0

Definition at line 14 of file ethernetip.c.

#define EthernetIpIdleState   0

Definition at line 17 of file ethernetip.c.


Function Documentation

INT8U F_EthernetIpAllocate ( INT16U  UserId)

Definition at line 45 of file ethernetip.c.

void F_EthernetIpBufferReserve ( ETHBUFFER pBuffer)

Definition at line 218 of file ethernetip.c.

INT16U F_EthernetIpCheckSum ( INT8U pHead,
INT32U  IpHeadLength 
)

Definition at line 114 of file ethernetip.c.

INT16U F_EthernetIpFastCheckSum ( INT8U pIph,
INT32U  Ihl 
)

Definition at line 70 of file ethernetip.c.

void F_EthernetIpInit ( void  )

Definition at line 31 of file ethernetip.c.

INT8U F_EthernetIpInUseCheck ( void  )

Definition at line 41 of file ethernetip.c.

INT8U F_EthernetIpIpAddressSet ( INT16U  UserId,
INT8U pIpAddress 
)

Definition at line 60 of file ethernetip.c.

INT8U F_EthernetIpPacketReceive ( ETHBUFFER pBuffer)

Definition at line 128 of file ethernetip.c.

INT8U F_EthernetIpRelease ( INT16U  UserId)

Definition at line 53 of file ethernetip.c.

INT8U F_EthernetIpSend ( ETHBUFFER pBuffer,
INT8U pIpAddress,
INT8U  Protocol 
)

Definition at line 186 of file ethernetip.c.

INT8U* F_EthernetIpSourceIpGet ( ETHBUFFER pBuffer)
void F_EthernetIpSvc ( void  )

Definition at line 40 of file ethernetip.c.


Variable Documentation

IP_CONTROL IpCtrl

Definition at line 19 of file ethernetip.c.