61#if PPP_SUPPORT && ECP_SUPPORT
71static option_t ecp_option_list[] = {
72 {
"noecp", o_bool, &ecp_protent.enabled_flag,
73 "Disable ECP negotiation" },
74 {
"-ecp", o_bool, &ecp_protent.enabled_flag,
75 "Disable ECP negotiation", OPT_ALIAS },
84static void ecp_init (
int unit);
94static int ecp_printpkt (
const u_char *pkt,
int len,
95 void (*printer) (
void *,
char *, ...),
102const struct protent ecp_protent = {
132ecp_options ecp_wantoptions[NUM_PPP];
133ecp_options ecp_gotoptions[NUM_PPP];
134ecp_options ecp_allowoptions[NUM_PPP];
135ecp_options ecp_hisoptions[NUM_PPP];
137static const fsm_callbacks ecp_callbacks = {
162 fsm *
f = &ecp_fsm[
unit];
165 f->protocol = PPP_ECP;
166 f->callbacks = &ecp_callbacks;
170 memset(&ecp_wantoptions[
unit], 0,
sizeof(ecp_options));
171 memset(&ecp_gotoptions[
unit], 0,
sizeof(ecp_options));
172 memset(&ecp_allowoptions[
unit], 0,
sizeof(ecp_options));
173 memset(&ecp_hisoptions[
unit], 0,
sizeof(ecp_options));
181ecp_printpkt(
p, plen, printer,
arg)
184 void (*printer) (
void *,
char *, ...);
png_const_structrp png_const_inforp int * unit