8 #define PPP_MAXBUFF 4096
9 #define SERIAL_BUFSIZE PPP_MAXBUFF
12 #define PPP_PHASE_DEAD 1
13 #define PPP_PHASE_CONFIGURATION 2
14 #define PPP_PHASE_AUTHENTICATION 3
15 #define PPP_PHASE_PROTOCOL_CONF 4
16 #define PPP_PHASE_NETWORK 5
17 #define PPP_PHASE_TERMINATE 6
20 #define PPP_MAXARGLEN 100
22 // PPPcontrolMsg commands
23 #define PPP_CTRL_INFO_REQUEST 1
24 #define PPP_CTRL_INFO 2
25 #define PPP_CTRL_SETPHASE 3
26 #define PPP_CTRL_OPEN_SERIAL 4
27 #define PPP_CTRL_CLOSE_SERIAL 5
33 ULONG Command
; // command
34 IPTR Arg
; // command argument
36 UBYTE
*DeviceName
; // serial device name
37 ULONG UnitNum
; // serial device unit number
42 // info response part:
43 UBYTE Phase
; // ppp phase
44 BOOL Ser
; // serial device status
45 BOOL Up
; // ppp device up/down
55 UBYTE SecondaryDNS
[4];
57 ULONG num
; // message number (debug purposes)
65 BYTE str
[PPP_MAXARGLEN
];