RTEMS CPU Kit with SuperCore  4.11.3
Macros | Variables
ccp.c File Reference
#include <stdlib.h>
#include <string.h>
#include "pppd.h"
#include "fsm.h"
#include "ccp.h"
#include <net/ppp_comp.h>
Include dependency graph for ccp.c:

Macros

#define RCSID   "$Id$"
 
#define ANY_COMPRESS(opt)
 
#define RACK_PENDING   1 /* waiting for reset-ack */
 
#define RREQ_REPEAT   2 /* send another reset-req if no reset-ack */
 
#define RACKTIMEOUT   1 /* second */
 

Variables

struct protent ccp_protent
 
fsm ccp_fsm [NUM_PPP]
 
ccp_options ccp_wantoptions [NUM_PPP]
 
ccp_options ccp_gotoptions [NUM_PPP]
 
ccp_options ccp_allowoptions [NUM_PPP]
 
ccp_options ccp_hisoptions [NUM_PPP]
 

Macro Definition Documentation

◆ ANY_COMPRESS

#define ANY_COMPRESS (   opt)
Value:
((opt).deflate || (opt).bsd_compress \
|| (opt).predictor_1 || (opt).predictor_2)

Variable Documentation

◆ ccp_protent

struct protent ccp_protent
Initial value:
= {
PPP_CCP,
ccp_init,
ccp_input,
ccp_protrej,
ccp_lowerup,
ccp_lowerdown,
ccp_open,
ccp_close,
ccp_printpkt,
ccp_datainput,
1,
"CCP",
"Compressed",
ccp_option_list,
NULL,
NULL,
NULL
}