27 lines
474 B
C
27 lines
474 B
C
/*
|
|
* Copyright (c) 2022, sakumisu
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#ifndef USBD_RNDIS_H
|
|
#define USBD_RNDIS_H
|
|
|
|
#include "usb_cdc.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct usbd_interface *usbd_rndis_alloc_intf(uint8_t out_ep, uint8_t in_ep, uint8_t int_ep, uint8_t mac[6]);
|
|
|
|
#ifdef CONFIG_USBDEV_RNDIS_USING_LWIP
|
|
struct pbuf *usbd_rndis_eth_rx(void);
|
|
int usbd_rndis_eth_tx(struct pbuf *p);
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* USBD_RNDIS_H */
|