5 struct PPP_DevUnit
*InitPPPUnit(LIBBASETYPEPTR LIBBASE
,ULONG s2unit
);
6 VOID
ExpungeUnit(LIBBASETYPEPTR LIBBASE
);
7 BOOL
ReadConfig(LIBBASETYPEPTR LIBBASE
);
9 VOID
PerformIO(LIBBASETYPEPTR LIBBASE
,struct IOSana2Req
*ios2
);
10 VOID
TermIO(LIBBASETYPEPTR LIBBASE
,struct IOSana2Req
*ios2
);
12 ULONG
AbortReq(LIBBASETYPEPTR LIBBASE
,struct MinList
*minlist
,struct IOSana2Req
*ios2
);
13 VOID
ConfigInterface(LIBBASETYPEPTR LIBBASE
,struct IOSana2Req
*ios2
);
14 VOID
GetStationAddress(LIBBASETYPEPTR LIBBASE
,struct IOSana2Req
*ios2
);
15 VOID
DeviceQuery(LIBBASETYPEPTR LIBBASE
,struct IOSana2Req
*ios2
);
16 VOID
WritePacket(LIBBASETYPEPTR LIBBASE
,struct IOSana2Req
*ios2
);
18 VOID
SendPacket( LIBBASETYPEPTR LIBBASE
,struct IOSana2Req
*ios2
);
19 VOID
ReadPacket(LIBBASETYPEPTR LIBBASE
,struct IOSana2Req
*ios2
);
21 VOID
Online(LIBBASETYPEPTR LIBBASE
,struct IOSana2Req
*ios2
);
22 VOID
Offline(LIBBASETYPEPTR LIBBASE
,struct IOSana2Req
*ios2
);
24 VOID
CMD_WRITE_Ready(LIBBASETYPEPTR LIBBASE
);
25 VOID
CMD_READ_Ready(LIBBASETYPEPTR LIBBASE
,struct IOExtSer
*ioSer
);
26 VOID
Incoming_IP_Packet(LIBBASETYPEPTR LIBBASE
, BYTE
*p
, ULONG length
);
28 struct EasySerial
* OpenSerial(BYTE
*name
,ULONG unit
);
29 VOID
_CloseSerial(struct EasySerial
*s
);
30 VOID
QueueSerRequest(struct EasySerial
*s
, LONG length
);
31 VOID
DoStr(struct EasySerial
*s
,const STRPTR str
);
32 void DoBYTES(struct EasySerial
*s
, BYTE
*p
,ULONG len
);
33 void SendBYTES(struct EasySerial
*s
, BYTE
*p
,ULONG len
);
34 void DrainSerial(struct EasySerial
*s
);
35 BOOL
GetResponse(struct EasySerial
*s
,UBYTE
*Buffer
,ULONG maxbuffer
,LONG timeout
);
36 #define CloseSerial(x) if(x){ bug("CloseSerial\n");_CloseSerial(x);x=NULL;}
38 void SetTimer(struct EasyTimer
* t
,const ULONG s
);
39 void CloseTimer(struct EasyTimer
* t
);
40 struct EasyTimer
* OpenTimer();
42 void init_ppp(LIBBASETYPEPTR LIBBASE
);
43 void bytes_received( UBYTE
*bytes
,ULONG len
);
44 void send_IP_packet( BYTE
*ptr
,ULONG len
);
45 void SendTerminateReq();
48 void Set_phase(UBYTE ph
);
49 void ppp_timer(int dt
);