Free (GPLv2) TCP/IP stack developed by TASS Belgium

Dependents:   lpc1768-picotcp-demo ZeroMQ_PicoTCP_Publisher_demo TCPSocket_HelloWorld_PicoTCP Pico_TCP_UDP_Test ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers pico_eth.h Source File

pico_eth.h

00001 /*********************************************************************
00002    PicoTCP. Copyright (c) 2012-2015 Altran Intelligent Systems. Some rights reserved.
00003    See LICENSE and COPYING for usage.
00004 
00005  *********************************************************************/
00006 #ifndef INCLUDE_PICO_ETH
00007 #define INCLUDE_PICO_ETH
00008 #include "pico_addressing.h"
00009 #include "pico_ipv4.h"
00010 #include "pico_ipv6.h"
00011 
00012 
00013 PACKED_STRUCT_DEF pico_eth_hdr {
00014     uint8_t daddr[6];
00015     uint8_t saddr[6];
00016     uint16_t proto;
00017 };
00018 
00019 #define PICO_SIZE_ETHHDR 14
00020 
00021 #endif