Free (GPLv2) TCP/IP stack developed by TASS Belgium
Fork of PicoTCP by
modules/pico_ipv6.h@1:cfe8984a32b4, 2013-05-17 (annotated)
- Committer:
- tass
- Date:
- Fri May 17 12:09:59 2013 +0000
- Revision:
- 1:cfe8984a32b4
- Parent:
- libraries/picotcp/modules/pico_ipv6.h@0:d7f2341ab245
Update for smaller SOCKETQ
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
daniele | 0:d7f2341ab245 | 1 | /********************************************************************* |
daniele | 0:d7f2341ab245 | 2 | PicoTCP. Copyright (c) 2012 TASS Belgium NV. Some rights reserved. |
daniele | 0:d7f2341ab245 | 3 | See LICENSE and COPYING for usage. |
daniele | 0:d7f2341ab245 | 4 | |
daniele | 0:d7f2341ab245 | 5 | . |
daniele | 0:d7f2341ab245 | 6 | |
daniele | 0:d7f2341ab245 | 7 | *********************************************************************/ |
daniele | 0:d7f2341ab245 | 8 | #ifndef _INCLUDE_PICO_IPV6 |
daniele | 0:d7f2341ab245 | 9 | #define _INCLUDE_PICO_IPV6 |
daniele | 0:d7f2341ab245 | 10 | #include "pico_addressing.h" |
daniele | 0:d7f2341ab245 | 11 | #include "pico_protocol.h" |
daniele | 0:d7f2341ab245 | 12 | |
daniele | 0:d7f2341ab245 | 13 | extern struct pico_protocol pico_proto_ipv6; |
daniele | 0:d7f2341ab245 | 14 | extern const uint8_t PICO_IPV6_ANY[PICO_SIZE_IP6]; |
daniele | 0:d7f2341ab245 | 15 | |
daniele | 0:d7f2341ab245 | 16 | |
daniele | 0:d7f2341ab245 | 17 | /* This module is responsible for routing outgoing packets and |
daniele | 0:d7f2341ab245 | 18 | * delivering incoming packets to other layers |
daniele | 0:d7f2341ab245 | 19 | */ |
daniele | 0:d7f2341ab245 | 20 | |
daniele | 0:d7f2341ab245 | 21 | /* Interface for processing incoming ipv6 packets (decap/deliver) */ |
daniele | 0:d7f2341ab245 | 22 | int pico_ipv6_process_in(struct pico_frame *f); |
daniele | 0:d7f2341ab245 | 23 | |
daniele | 0:d7f2341ab245 | 24 | /* Interface for processing outgoing ipv6 frames (encap/push) */ |
daniele | 0:d7f2341ab245 | 25 | int pico_ipv6_process_out(struct pico_frame *f); |
daniele | 0:d7f2341ab245 | 26 | |
daniele | 0:d7f2341ab245 | 27 | /* Return estimated overhead for ipv6 frames to define allocation */ |
daniele | 0:d7f2341ab245 | 28 | int pico_ipv6_overhead(struct pico_frame *f); |
daniele | 0:d7f2341ab245 | 29 | |
daniele | 0:d7f2341ab245 | 30 | #endif |