Contiki 2.5
cdc_ecm.h
1 
2 #ifndef __CDC_ECM_H__
3 #define __CDC_ECM_H__
4 
5 #include "contiki.h"
6 #include <stdint.h>
7 #include "conf_usb.h"
8 
9 #define SET_ETHERNET_PACKET_FILTER (0x43)
10 
11 
12 extern uint8_t cdc_ecm_process(void);
13 extern uint8_t ecm_send(uint8_t * senddata, uint16_t sendlen, uint8_t led);
14 extern void cdc_ecm_set_ethernet_packet_filter(void);
15 extern void cdc_ecm_configure_endpoints();
16 extern void cdc_ecm_set_active(uint8_t value);
17 
18 #endif // __CDC_ECM_H__