Go to the documentation of this file.
60 #define UPAP_HEADERLEN (sizeof (u_char) + sizeof (u_char) + sizeof (u_short))
66 #define UPAP_AUTHREQ 1
67 #define UPAP_AUTHACK 2
68 #define UPAP_AUTHNAK 3
73 typedef struct upap_state {
77 const char *us_passwd;
91 #define UPAPCS_INITIAL 0
92 #define UPAPCS_CLOSED 1
93 #define UPAPCS_PENDING 2
94 #define UPAPCS_AUTHREQ 3
96 #define UPAPCS_BADAUTH 5
101 #define UPAPSS_INITIAL 0
102 #define UPAPSS_CLOSED 1
103 #define UPAPSS_PENDING 2
104 #define UPAPSS_LISTEN 3
105 #define UPAPSS_OPEN 4
106 #define UPAPSS_BADAUTH 5
109 extern upap_state upap[];
111 void upap_authwithpeer (
int,
char *,
char *);
112 void upap_authpeer (
int);
114 extern struct protent pap_protent;