#include "net/ip/uip.h"
#include "net/ipv6/uip-ds6.h"
#include "dev/slip.h"
#include "ip64.h"
#include "ip64-arp.h"
#include "ip64-eth-interface.h"
#include "ip64-tap-driver.h"
#include <string.h>
#include "net/ip/uip-debug.h"
Macros | |
#define | _DEBUG_ DEBUG_NONE |
#define | printf1(...) |
#define | UIP_IP_BUF ((struct uip_ip_hdr *)&uip_buf[UIP_LLH_LEN]) |
Functions | |
static void | init (void) |
void | ip64_eth_interface_input (uint8_t *packet, uint16_t len) |
static void | output (void) |
Variables | |
struct uip_fallback_interface | ip64_eth_interface |
#define _DEBUG_ DEBUG_NONE |
#define printf1 | ( | ... | ) |
Referenced by init(), ip64_eth_interface_input(), and output().
#define UIP_IP_BUF ((struct uip_ip_hdr *)&uip_buf[UIP_LLH_LEN]) |
Referenced by ip64_eth_interface_input(), and output().
|
static |
References printf1.
void ip64_eth_interface_input | ( | uint8_t * | packet, |
uint16_t | len | ||
) |
References ip64_4to6(), ip64_arp_arp_input(), IP64_ETH_TYPE_ARP, IP64_ETH_TYPE_IP, PRINT6ADDR, PRINTF, printf1, tcpip_input(), ip64_eth_hdr::type, uip_buf, UIP_HTONS, UIP_IP_BUF, uip_len, and UIP_LLH_LEN.
|
static |
References ip64_6to4(), ip64_arp_check_cache(), ip64_arp_create_arp_request(), ip64_arp_create_ethhdr(), ip64_packet_buffer, len, PRINT6ADDR, PRINTF, printf1, ret, uip_buf, UIP_IP_BUF, uip_len, and UIP_LLH_LEN.
struct uip_fallback_interface ip64_eth_interface |