Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

# netstack.c File Reference

## Detailed Description

Definition in file netstack.c.

`#include "rprintf.h"`
`#include "debug.h"`
`#include "netstack.h"`

Go to the source code of this file.

## Functions
unsigned char NetBufferData[NETSTACK_BUFFERSIZE] | __attribute__ ((aligned))
void | netstackInit (uint32_t ipaddress, uint32_t netmask, uint32_t gatewayip)
u08 * | netstackGetBuffer (void)
| netstackGetBuffer returns a pointer to the common receive/process/transmit buffer.
int | netstackService (void)
void | netstackIPProcess (unsigned int len, ip_hdr *packet)
void | netstackUDPIPProcess (unsigned int len, udpip_hdr *packet)
void | netstackTCPIPProcess (unsigned int len, tcpip_hdr *packet)
## Variables
unsigned char * | NetBuffer = &NetBufferData[2]