Go to the source code of this file.
|
void | rndis_class_set_handler (uint8_t *data, int size) |
|
void | tud_network_recv_renew (void) |
|
static void | do_in_xfer (uint8_t *buf, uint16_t len) |
|
void | netd_report (uint8_t *buf, uint16_t len) |
|
void | netd_init (void) |
|
bool | netd_deinit (void) |
|
void | netd_reset (uint8_t rhport) |
|
uint16_t | netd_open (uint8_t rhport, tusb_desc_interface_t const *itf_desc, uint16_t max_len) |
|
static void | ecm_report (bool nc) |
|
bool | netd_control_xfer_cb (uint8_t rhport, uint8_t stage, tusb_control_request_t const *request) |
|
static void | handle_incoming_packet (uint32_t len) |
|
bool | netd_xfer_cb (uint8_t rhport, uint8_t ep_addr, xfer_result_t result, uint32_t xferred_bytes) |
|
bool | tud_network_can_xmit (uint16_t size) |
|
void | tud_network_xmit (void *ref, uint16_t arg) |
|
◆ do_in_xfer()
static void do_in_xfer |
( |
uint8_t * |
buf, |
|
|
uint16_t |
len |
|
) |
| |
|
static |
◆ ecm_report()
static void ecm_report |
( |
bool |
nc | ) |
|
|
static |
◆ handle_incoming_packet()
static void handle_incoming_packet |
( |
uint32_t |
len | ) |
|
|
static |
◆ netd_control_xfer_cb()
◆ netd_deinit()
bool netd_deinit |
( |
void |
| ) |
|
◆ netd_init()
◆ netd_open()
◆ netd_report()
void netd_report |
( |
uint8_t * |
buf, |
|
|
uint16_t |
len |
|
) |
| |
◆ netd_reset()
void netd_reset |
( |
uint8_t |
rhport | ) |
|
◆ netd_xfer_cb()
bool netd_xfer_cb |
( |
uint8_t |
rhport, |
|
|
uint8_t |
ep_addr, |
|
|
xfer_result_t |
result, |
|
|
uint32_t |
xferred_bytes |
|
) |
| |
◆ rndis_class_set_handler()
void rndis_class_set_handler |
( |
uint8_t * |
data, |
|
|
int |
size |
|
) |
| |
◆ tud_network_can_xmit()
bool tud_network_can_xmit |
( |
uint16_t |
size | ) |
|
◆ tud_network_recv_renew()
void tud_network_recv_renew |
( |
void |
| ) |
|
◆ tud_network_xmit()
void tud_network_xmit |
( |
void * |
ref, |
|
|
uint16_t |
arg |
|
) |
| |
◆ _netd_itf
◆ can_xmit
◆ ecm_buf
◆ ecm_notify_csc
Initial value:=
{
.header = {
.bmRequestType = 0xA1,
.bRequest = 0x2A ,
.wLength = 8,
},
.downlink = 9728000,
.uplink = 9728000,
}
Definition at line 86 of file ecm_rndis_device.c.
◆ ecm_notify_nc
Initial value:=
{
.header = {
.bmRequestType = 0xA1,
.bRequest = 0 ,
.wValue = 1 ,
.wLength = 0,
},
}
Definition at line 76 of file ecm_rndis_device.c.
CFG_TUD_MEM_SECTION CFG_TUSB_MEM_ALIGN tu_static union { ... } notify |
◆ received
CFG_TUD_MEM_SECTION CFG_TUSB_MEM_ALIGN tu_static uint8_t received[CFG_TUD_NET_PACKET_PREFIX_LEN+CFG_TUD_NET_MTU+CFG_TUD_NET_PACKET_PREFIX_LEN] |
◆ rndis_buf
◆ transmitted
CFG_TUD_MEM_SECTION CFG_TUSB_MEM_ALIGN tu_static uint8_t transmitted[CFG_TUD_NET_PACKET_PREFIX_LEN+CFG_TUD_NET_MTU+CFG_TUD_NET_PACKET_PREFIX_LEN] |