CDC/ECM driver for mbed, based on USBDevice by mbed-official. Uses PicoTCP to access Ethernet USB device. License: GPLv2

Dependents:   USBEthernet_TEST

Fork of USB_Ethernet by Daniele Lacamera

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers pico_ipv6.h Source File

pico_ipv6.h

00001 /*********************************************************************
00002 PicoTCP. Copyright (c) 2012 TASS Belgium NV. Some rights reserved.
00003 See LICENSE and COPYING for usage.
00004 
00005 .
00006 
00007 *********************************************************************/
00008 #ifndef _INCLUDE_PICO_IPV6
00009 #define _INCLUDE_PICO_IPV6
00010 #include "pico_addressing.h"
00011 #include "pico_protocol.h"
00012 
00013 extern struct pico_protocol pico_proto_ipv6;
00014 extern const uint8_t PICO_IPV6_ANY[PICO_SIZE_IP6];
00015 
00016 
00017 /* This module is responsible for routing outgoing packets and 
00018  * delivering incoming packets to other layers
00019  */
00020 
00021 /* Interface for processing incoming ipv6 packets (decap/deliver) */
00022 int pico_ipv6_process_in(struct pico_frame *f);
00023 
00024 /* Interface for processing outgoing ipv6 frames (encap/push) */
00025 int pico_ipv6_process_out(struct pico_frame *f);
00026 
00027 /* Return estimated overhead for ipv6 frames to define allocation */
00028 int pico_ipv6_overhead(struct pico_frame *f);
00029 
00030 #endif