RTEMS CPU Kit with SuperCore  4.11.3
Data Structures | Macros | Typedefs | Functions | Variables
upap.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  upap_state
 

Macros

#define UPAP_HEADERLEN   4
 
#define UPAP_AUTHREQ   1 /* Authenticate-Request */
 
#define UPAP_AUTHACK   2 /* Authenticate-Ack */
 
#define UPAP_AUTHNAK   3 /* Authenticate-Nak */
 
#define UPAPCS_INITIAL   0 /* Connection down */
 
#define UPAPCS_CLOSED   1 /* Connection up, haven't requested auth */
 
#define UPAPCS_PENDING   2 /* Connection down, have requested auth */
 
#define UPAPCS_AUTHREQ   3 /* We've sent an Authenticate-Request */
 
#define UPAPCS_OPEN   4 /* We've received an Ack */
 
#define UPAPCS_BADAUTH   5 /* We've received a Nak */
 
#define UPAPSS_INITIAL   0 /* Connection down */
 
#define UPAPSS_CLOSED   1 /* Connection up, haven't requested auth */
 
#define UPAPSS_PENDING   2 /* Connection down, have requested auth */
 
#define UPAPSS_LISTEN   3 /* Listening for an Authenticate */
 
#define UPAPSS_OPEN   4 /* We've sent an Ack */
 
#define UPAPSS_BADAUTH   5 /* We've sent a Nak */
 
#define UPAP_DEFTIMEOUT   5 /* Timeout (seconds) for retransmitting req */
 
#define UPAP_DEFREQTIME   30 /* Time to wait for auth-req from peer */
 

Typedefs

typedef struct upap_state upap_state
 

Functions

void upap_authwithpeer (int, char *, char *)
 
void upap_authpeer (int)
 

Variables

upap_state upap []
 
struct protent pap_protent