Definition in file uip-fw.c.
#include "net/uip.h"
#include "net/uip_arch.h"
#include "net/uip-fw.h"
#include "contiki-conf.h"
#include <string.h>
Go to the source code of this file.
Defines | |
#define | ICMP_ECHO 8 |
#define | ICMP_TE 11 |
#define | BUF ((struct tcpip_hdr *)&uip_buf[UIP_LLH_LEN]) |
#define | ICMPBUF ((struct icmpip_hdr *)&uip_buf[UIP_LLH_LEN]) |
#define | FWCACHE_SIZE 2 |
#define | FW_TIME 20 |
Functions | |
void | uip_fw_init (void) |
Initialize the uIP packet forwarding module. | |
u8_t | uip_fw_output (void) |
Output an IP packet on the correct network interface. | |
u8_t | uip_fw_forward (void) |
Forward an IP packet in the uip_buf buffer. | |
void | uip_fw_register (struct uip_fw_netif *netif) |
Register a network interface with the forwarding module. | |
void | uip_fw_default (struct uip_fw_netif *netif) |
Register a default network interface. | |
void | uip_fw_periodic (void) |
Perform periodic processing. |