diff options
| author | Peter Lawrence <[email protected]> | 2020-04-12 15:41:18 -0500 |
|---|---|---|
| committer | Peter Lawrence <[email protected]> | 2020-04-12 15:41:18 -0500 |
| commit | bb3bbcc00bfa641d285b28931ceb8bd04c3f7651 (patch) | |
| tree | 3a6a47cf13ac41d4076ecf97362527e096bd2c6b /src/class/net/net_device.h | |
| parent | 13a3081d308828ae6e4b9a40bb8ac7bf5b0e424c (diff) | |
usbnet: OS-agnostic (Windows/Linux/macOS) network driver
Diffstat (limited to 'src/class/net/net_device.h')
| -rw-r--r-- | src/class/net/net_device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/class/net/net_device.h b/src/class/net/net_device.h index 67cd99933..6914ed050 100644 --- a/src/class/net/net_device.h +++ b/src/class/net/net_device.h @@ -73,8 +73,10 @@ void tud_network_xmit(struct pbuf *p); // INTERNAL USBD-CLASS DRIVER API //--------------------------------------------------------------------+ void netd_init (void); +void netd_init_data (void); void netd_reset (uint8_t rhport); bool netd_open (uint8_t rhport, tusb_desc_interface_t const * itf_desc, uint16_t *p_length); +bool netd_open_data (uint8_t rhport, tusb_desc_interface_t const * itf_desc, uint16_t *p_length); bool netd_control_request (uint8_t rhport, tusb_control_request_t const * request); bool netd_control_complete (uint8_t rhport, tusb_control_request_t const * request); bool netd_xfer_cb (uint8_t rhport, uint8_t ep_addr, xfer_result_t result, uint32_t xferred_bytes); |
