CDC/ECM driver for mbed, based on USBDevice by mbed-official. Uses PicoTCP to access Ethernet USB device. License: GPLv2
Fork of USB_Ethernet by
pico_module_eth.h
00001 /********************************************************************* 00002 PicoTCP. Copyright (c) 2012 TASS Belgium NV. 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
Generated on Wed Jul 13 2022 02:20:45 by 1.7.2