usb_ethernet.h (188942) | usb_ethernet.h (189528) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/net/usb_ethernet.h 188942 2009-02-23 18:31:00Z thompsa $ */ | 1/* $FreeBSD: head/sys/dev/usb/net/usb_ethernet.h 189528 2009-03-08 06:56:13Z thompsa $ */ |
2/*- 3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 96 unchanged lines hidden (view full) --- 106 107uint8_t usb2_ether_pause(struct usb2_ether *, unsigned int); 108struct ifnet *usb2_ether_getifp(struct usb2_ether *); 109struct mii_data *usb2_ether_getmii(struct usb2_ether *); 110void *usb2_ether_getsc(struct usb2_ether *); 111int usb2_ether_ifattach(struct usb2_ether *); 112void usb2_ether_ifdetach(struct usb2_ether *); 113int usb2_ether_ioctl(struct ifnet *, u_long, caddr_t); | 2/*- 3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 96 unchanged lines hidden (view full) --- 106 107uint8_t usb2_ether_pause(struct usb2_ether *, unsigned int); 108struct ifnet *usb2_ether_getifp(struct usb2_ether *); 109struct mii_data *usb2_ether_getmii(struct usb2_ether *); 110void *usb2_ether_getsc(struct usb2_ether *); 111int usb2_ether_ifattach(struct usb2_ether *); 112void usb2_ether_ifdetach(struct usb2_ether *); 113int usb2_ether_ioctl(struct ifnet *, u_long, caddr_t); |
114struct mbuf *usb2_ether_newbuf(void); |
|
114int usb2_ether_rxmbuf(struct usb2_ether *, struct mbuf *, 115 unsigned int); 116int usb2_ether_rxbuf(struct usb2_ether *, 117 struct usb2_page_cache *, 118 unsigned int, unsigned int); 119void usb2_ether_rxflush(struct usb2_ether *); 120void usb2_ether_ifshutdown(struct usb2_ether *); 121uint8_t usb2_ether_is_gone(struct usb2_ether *); 122#endif /* _USB2_ETHERNET_H_ */ | 115int usb2_ether_rxmbuf(struct usb2_ether *, struct mbuf *, 116 unsigned int); 117int usb2_ether_rxbuf(struct usb2_ether *, 118 struct usb2_page_cache *, 119 unsigned int, unsigned int); 120void usb2_ether_rxflush(struct usb2_ether *); 121void usb2_ether_ifshutdown(struct usb2_ether *); 122uint8_t usb2_ether_is_gone(struct usb2_ether *); 123#endif /* _USB2_ETHERNET_H_ */ |