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_module_eth.h Source File

pico_module_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 PICO_MODULE_IPV4_H
00007 #define PICO_MODULE_IPV4_H
00008 
00009 struct pico_arp_entry {
00010     struct eth dest;
00011 #ifdef PICO_CONFIG_IPV4
00012     struct ipv4 addr_ipv4;
00013 #endif
00014     RB_ENTRY(pico_arp_entry) node;
00015 };
00016 
00017 /* Configured device */
00018 struct pico_eth_link {
00019     struct pico_device *dev;
00020     struct eth address;
00021     struct eth netmask;
00022     RB_ENTRY(pico_eth_link) node;
00023 };
00024 
00025 #ifndef IS_MODULE_ETH
00026 # define _mod extern
00027 #else
00028 # define _mod
00029 #endif
00030 _mod struct pico_module pico_module_eth;
00031 #undef _mod
00032 
00033 #endif