firewire.h (147256) | firewire.h (194581) |
---|---|
1/*- 2 * Copyright (c) 2004 Doug Rabson 3 * 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 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 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 * | 1/*- 2 * Copyright (c) 2004 Doug Rabson 3 * 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 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 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 * $FreeBSD: head/sys/net/firewire.h 147256 2005-06-10 16:49:24Z brooks $ | 26 * $FreeBSD: head/sys/net/firewire.h 194581 2009-06-21 10:29:31Z rdivacky $ |
27 */ 28 29#ifndef _NET_FIREWIRE_H_ 30#define _NET_FIREWIRE_H_ 31 32#define FW_ENCAP_UNFRAG 0 33#define FW_ENCAP_FIRST 1 34#define FW_ENCAP_LAST 2 --- 95 unchanged lines hidden (view full) --- 130 struct fw_reass_list fc_frags; /* partial datagrams */ 131}; 132#define IFP2FWC(ifp) ((struct fw_com *)(ifp)->if_l2com) 133 134extern void firewire_input(struct ifnet *ifp, struct mbuf *m, uint16_t src); 135extern void firewire_ifattach(struct ifnet *, struct fw_hwaddr *); 136extern void firewire_ifdetach(struct ifnet *); 137extern void firewire_busreset(struct ifnet *); | 27 */ 28 29#ifndef _NET_FIREWIRE_H_ 30#define _NET_FIREWIRE_H_ 31 32#define FW_ENCAP_UNFRAG 0 33#define FW_ENCAP_FIRST 1 34#define FW_ENCAP_LAST 2 --- 95 unchanged lines hidden (view full) --- 130 struct fw_reass_list fc_frags; /* partial datagrams */ 131}; 132#define IFP2FWC(ifp) ((struct fw_com *)(ifp)->if_l2com) 133 134extern void firewire_input(struct ifnet *ifp, struct mbuf *m, uint16_t src); 135extern void firewire_ifattach(struct ifnet *, struct fw_hwaddr *); 136extern void firewire_ifdetach(struct ifnet *); 137extern void firewire_busreset(struct ifnet *); |
138extern int firewire_ioctl(struct ifnet *, int, caddr_t); | 138extern int firewire_ioctl(struct ifnet *, u_long, caddr_t); |
139 140#endif /* !_KERNEL */ 141 142#endif /* !_NET_FIREWIRE_H_ */ | 139 140#endif /* !_KERNEL */ 141 142#endif /* !_NET_FIREWIRE_H_ */ |