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

# netstack.h File Reference

## Detailed Description

Definition in file netstack.h.

`#include "net.h"`
`#include "arp.h"`
`#include "icmp.h"`
`#include "ip.h"`
`#include "nic.h"`

Go to the source code of this file.

## Defines
#define | NETSTACK_BUFFERSIZE (576+ETH_HEADER_LEN)
## Functions
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) __attribute__((weak))
void | netstackTCPIPProcess (unsigned int len, tcpip_hdr *packet) __attribute__((weak))