31#ifndef _USB_ETHERNET_H_
32#define _USB_ETHERNET_H_
39#include <sys/socket.h>
40#include <sys/sockio.h>
41#include <sys/limits.h>
44#include <net/if_arp.h>
46#include <net/if_media.h>
47#include <net/if_types.h>
49#include <net/ethernet.h>
68 int (*
ue_ioctl)(
struct ifnet *, u_long, caddr_t);
104#define uether_do_request(ue,req,data,timo) \
105 usbd_do_request_proc((ue)->ue_udev,&(ue)->ue_tq,req,data,0,NULL,timo)
122 unsigned int,
unsigned int);
int(* ue_mii_upd)(struct ifnet *)
uether_fn_t * ue_setmulti
int(* ue_attach_post_sub)(struct usb_ether *)
void(* ue_mii_sts)(struct ifnet *, struct ifmediareq *)
uether_fn_t * ue_attach_post
int(* ue_ioctl)(struct ifnet *, u_long, caddr_t)
uether_fn_t * ue_setpromisc
struct usb_callout ue_watchdog
const struct usb_ether_methods * ue_methods
struct usb_ether_cfg_task ue_media_task[2]
struct sysctl_oid * ue_sysctl_oid
struct usb_ether_cfg_task ue_tick_task[2]
struct usb_ether_cfg_task ue_promisc_task[2]
struct usb_device * ue_udev
struct sysctl_ctx_list ue_sysctl_ctx
uint8_t ue_eaddr[ETHER_ADDR_LEN]
struct usb_ether_cfg_task ue_multi_task[2]
struct usb_ether_cfg_task ue_sync_task[2]
uint8_t uether_pause(struct usb_ether *, unsigned int)
int uether_ifmedia_upd(struct ifnet *)
struct mbuf * uether_newbuf(void)
struct mii_data * uether_getmii(struct usb_ether *)
int uether_ioctl(struct ifnet *, u_long, caddr_t)
void uether_start(struct ifnet *)
void uether_rxflush(struct usb_ether *)
int uether_rxbuf(struct usb_ether *, struct usb_page_cache *, unsigned int, unsigned int)
void uether_ifattach_wait(struct usb_ether *)
uint8_t uether_is_gone(struct usb_ether *)
void * uether_getsc(struct usb_ether *)
int uether_rxmbuf(struct usb_ether *, struct mbuf *, unsigned int)
void uether_ifdetach(struct usb_ether *)
int uether_ifattach(struct usb_ether *)
void() uether_fn_t(struct usb_ether *)
struct ifnet * uether_getifp(struct usb_ether *)