Changeset View
Changeset View
Standalone View
Standalone View
sys/net/firewire.h
Show First 20 Lines • Show All 125 Lines • ▼ Show 20 Lines | struct fw_com { | ||||
struct ifnet *fc_ifp; | struct ifnet *fc_ifp; | ||||
struct fw_hwaddr fc_hwaddr; | struct fw_hwaddr fc_hwaddr; | ||||
struct firewire_comm *fc_fc; | struct firewire_comm *fc_fc; | ||||
uint8_t fc_broadcast_channel; | uint8_t fc_broadcast_channel; | ||||
uint8_t fc_speed; /* our speed */ | uint8_t fc_speed; /* our speed */ | ||||
uint16_t fc_node; /* our nodeid */ | uint16_t fc_node; /* our nodeid */ | ||||
struct fw_reass_list fc_frags; /* partial datagrams */ | struct fw_reass_list fc_frags; /* partial datagrams */ | ||||
}; | }; | ||||
#define IFP2FWC(ifp) ((struct fw_com *)(ifp)->if_l2com) | #define IFP2FWC(ifp) ((struct fw_com *)if_getl2com(ifp)) | ||||
extern void firewire_input(struct ifnet *ifp, struct mbuf *m, uint16_t src); | extern void firewire_input(struct ifnet *ifp, struct mbuf *m, uint16_t src); | ||||
extern void firewire_ifattach(struct ifnet *, struct fw_hwaddr *); | extern void firewire_ifattach(struct ifnet *, struct fw_hwaddr *); | ||||
extern void firewire_ifdetach(struct ifnet *); | extern void firewire_ifdetach(struct ifnet *); | ||||
extern void firewire_busreset(struct ifnet *); | extern void firewire_busreset(struct ifnet *); | ||||
extern int firewire_ioctl(struct ifnet *, u_long, caddr_t); | extern int firewire_ioctl(struct ifnet *, u_long, caddr_t); | ||||
#endif /* !_KERNEL */ | #endif /* !_KERNEL */ | ||||
#endif /* !_NET_FIREWIRE_H_ */ | #endif /* !_NET_FIREWIRE_H_ */ |