#include "net/ip/uip.h"
#include "net/ipv6/uip-ds6.h"
#include "dev/slip.h"
#include "ip64.h"
#include <string.h>
#include <stdio.h>
#include "net/ip/uip-debug.h"
#include "ip64-slip-interface.h"
Macros | |
#define | _DEBUG_ DEBUG_NONE |
#define | UIP_IP_BUF ((struct uip_ip_hdr *)&uip_buf[UIP_LLH_LEN]) |
Functions | |
static void | init (void) |
static void | input_callback (void) |
void | ip64_slip_interface_input (uint8_t *packet, uint16_t len) |
static void | output (void) |
Variables | |
struct uip_fallback_interface | ip64_slip_interface |
static uip_ipaddr_t | last_sender |
#define _DEBUG_ DEBUG_NONE |
#define UIP_IP_BUF ((struct uip_ip_hdr *)&uip_buf[UIP_LLH_LEN]) |
Referenced by input_callback(), and output().
|
static |
References input_callback(), NULL, PRINTF, process_start(), and slip_set_input_callback().
|
static |
References uip_eth_addr::addr, ip64_4to6(), ip64_packet_buffer, j, len, prefix, PRINT6ADDR, PRINTF, slip_send(), uip_buf, UIP_IP_BUF, uip_ipaddr_copy, uip_len, uip_lladdr, and UIP_LLH_LEN.
Referenced by init().
void ip64_slip_interface_input | ( | uint8_t * | packet, |
uint16_t | len | ||
) |
|
static |
References ip64_6to4(), ip64_packet_buffer, len, PRINTF, slip_send(), uip_buf, UIP_IP_BUF, uip_ipaddr_cmp, uip_len, and UIP_LLH_LEN.
struct uip_fallback_interface ip64_slip_interface |
|
static |