9 *----------------------------------------------------------------------------
10 * Includes for rndis class
11 *----------------------------------------------------------------------------
16 #include <devices/sana2.h>
17 #include <devices/sana2specialstats.h>
18 #include <libraries/gadtools.h>
20 #include <devices/newstyle.h>
26 #include "if_urndisreg.h"
32 struct NepClassEth
* usbAttemptDeviceBinding(struct NepEthBase
*nh
, struct PsdDevice
*pd
);
33 struct NepClassEth
* usbForceDeviceBinding(struct NepEthBase
*nh
, struct PsdDevice
*pd
);
34 void usbReleaseDeviceBinding(struct NepEthBase
*nh
, struct NepClassEth
*ncp
);
36 struct NepClassEth
* nAllocEth(void);
37 void nFreeEth(struct NepClassEth
*ncp
);
39 void nSetOnline(struct NepClassEth
*ncp
);
41 void nDoEvent(struct NepClassEth
*ncp
, ULONG events
);
42 BOOL
nWritePacket(struct NepClassEth
*ncp
, struct IOSana2Req
*ioreq
);
43 BOOL
nReadPacket(struct NepClassEth
*ncp
, UBYTE
*pktptr
, ULONG len
);
45 //BOOL nLoadClassConfig(struct NepEthBase *nh);
46 //BOOL nLoadBindingConfig(struct NepClassEth *ncp);
47 //LONG nOpenBindingCfgWindow(struct NepEthBase *nh, struct NepClassEth *ncp);
48 //void nGUITaskCleanup(struct NepClassEth *nh);
50 uint32_t urndis_ctrl_init(struct NepClassEth
*ncp
);
51 uint32_t urndis_ctrl_handle(struct NepClassEth
*ncp
, struct urndis_comp_hdr
*hdr
,void **buf
, size_t *bufsz
);
52 void urndis_attach(struct NepClassEth
*ncp
);
53 long urndis_encap(struct NepClassEth
*ncp
, BYTE
*m
,LONG len
);
54 void urndis_decap(struct NepClassEth
*ncp
, const UBYTE
*buf
, const LONG datalen
);
56 AROS_UFP0(void, nEthTask
);
57 //AROS_UFP0(void, nGUITask);
59 #endif /* RNDIS_CLASS_H */