usb_ethernet.h (194228) | usb_ethernet.h (194230) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/net/usb_ethernet.h 194228 2009-06-15 01:02:43Z thompsa $ */ | 1/* $FreeBSD: head/sys/dev/usb/net/usb_ethernet.h 194230 2009-06-15 01:09:19Z 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. --- 9 unchanged lines hidden (view full) --- 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 | 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. --- 9 unchanged lines hidden (view full) --- 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 |
27#ifndef _USB2_ETHERNET_H_ 28#define _USB2_ETHERNET_H_ | 27#ifndef _USB_ETHERNET_H_ 28#define _USB_ETHERNET_H_ |
29 30#include "opt_inet.h" 31 32#include <sys/param.h> 33#include <sys/systm.h> 34#include <sys/mbuf.h> 35#include <sys/socket.h> 36#include <sys/sockio.h> --- 77 unchanged lines hidden (view full) --- 114struct mbuf *uether_newbuf(void); 115int uether_rxmbuf(struct usb_ether *, struct mbuf *, 116 unsigned int); 117int uether_rxbuf(struct usb_ether *, 118 struct usb_page_cache *, 119 unsigned int, unsigned int); 120void uether_rxflush(struct usb_ether *); 121uint8_t uether_is_gone(struct usb_ether *); | 29 30#include "opt_inet.h" 31 32#include <sys/param.h> 33#include <sys/systm.h> 34#include <sys/mbuf.h> 35#include <sys/socket.h> 36#include <sys/sockio.h> --- 77 unchanged lines hidden (view full) --- 114struct mbuf *uether_newbuf(void); 115int uether_rxmbuf(struct usb_ether *, struct mbuf *, 116 unsigned int); 117int uether_rxbuf(struct usb_ether *, 118 struct usb_page_cache *, 119 unsigned int, unsigned int); 120void uether_rxflush(struct usb_ether *); 121uint8_t uether_is_gone(struct usb_ether *); |
122#endif /* _USB2_ETHERNET_H_ */ | 122#endif /* _USB_ETHERNET_H_ */ |