mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-03-23 01:21:33 +00:00
removed more protent fields only used by print packets functions
This commit is contained in:
parent
2c4bd7162f
commit
6c908ac727
@ -197,8 +197,10 @@ struct protent ccp_protent = {
|
|||||||
#endif /* PRINTPKT_SUPPORT */
|
#endif /* PRINTPKT_SUPPORT */
|
||||||
ccp_datainput,
|
ccp_datainput,
|
||||||
1,
|
1,
|
||||||
|
#if PRINTPKT_SUPPORT
|
||||||
"CCP",
|
"CCP",
|
||||||
"Compressed",
|
"Compressed",
|
||||||
|
#endif /* PRINTPKT_SUPPORT */
|
||||||
#if PPP_OPTIONS
|
#if PPP_OPTIONS
|
||||||
ccp_option_list,
|
ccp_option_list,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -669,8 +669,10 @@ struct protent chap_protent = {
|
|||||||
#endif /* PRINTPKT_SUPPORT */
|
#endif /* PRINTPKT_SUPPORT */
|
||||||
NULL, /* datainput */
|
NULL, /* datainput */
|
||||||
1, /* enabled_flag */
|
1, /* enabled_flag */
|
||||||
|
#if PRINTPKT_SUPPORT
|
||||||
"CHAP", /* name */
|
"CHAP", /* name */
|
||||||
NULL, /* data_name */
|
NULL, /* data_name */
|
||||||
|
#endif /* PRINTPKT_SUPPORT */
|
||||||
#if PPP_OPTIONS
|
#if PPP_OPTIONS
|
||||||
chap_option_list,
|
chap_option_list,
|
||||||
NULL, /* check_options */
|
NULL, /* check_options */
|
||||||
|
@ -120,8 +120,10 @@ struct protent eap_protent = {
|
|||||||
#endif /* PRINTPKT_SUPPORT */
|
#endif /* PRINTPKT_SUPPORT */
|
||||||
NULL, /* process a received data packet */
|
NULL, /* process a received data packet */
|
||||||
1, /* protocol enabled */
|
1, /* protocol enabled */
|
||||||
|
#if PRINTPKT_SUPPORT
|
||||||
"EAP", /* text name of protocol */
|
"EAP", /* text name of protocol */
|
||||||
NULL, /* text name of corresponding data protocol */
|
NULL, /* text name of corresponding data protocol */
|
||||||
|
#endif /* PRINTPKT_SUPPORT */
|
||||||
#if PPP_OPTIONS
|
#if PPP_OPTIONS
|
||||||
eap_option_list, /* list of command-line options */
|
eap_option_list, /* list of command-line options */
|
||||||
NULL, /* check requested options; assign defaults */
|
NULL, /* check requested options; assign defaults */
|
||||||
|
@ -116,8 +116,10 @@ struct protent ecp_protent = {
|
|||||||
#endif /* PRINTPKT_SUPPORT */
|
#endif /* PRINTPKT_SUPPORT */
|
||||||
NULL, /* ecp_datainput, */
|
NULL, /* ecp_datainput, */
|
||||||
0,
|
0,
|
||||||
|
#if PRINTPKT_SUPPORT
|
||||||
"ECP",
|
"ECP",
|
||||||
"Encrypted",
|
"Encrypted",
|
||||||
|
#endif /* PRINTPKT_SUPPORT */
|
||||||
#if PPP_OPTIONS
|
#if PPP_OPTIONS
|
||||||
ecp_option_list,
|
ecp_option_list,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -281,8 +281,10 @@ struct protent ipcp_protent = {
|
|||||||
#endif /* PRINTPKT_SUPPORT */
|
#endif /* PRINTPKT_SUPPORT */
|
||||||
NULL,
|
NULL,
|
||||||
1,
|
1,
|
||||||
|
#if PRINTPKT_SUPPORT
|
||||||
"IPCP",
|
"IPCP",
|
||||||
"IP",
|
"IP",
|
||||||
|
#endif /* PRINTPKT_SUPPORT */
|
||||||
#if PPP_OPTIONS
|
#if PPP_OPTIONS
|
||||||
ipcp_option_list,
|
ipcp_option_list,
|
||||||
ip_check_options,
|
ip_check_options,
|
||||||
|
@ -283,8 +283,10 @@ struct protent lcp_protent = {
|
|||||||
#endif /* PRINTPKT_SUPPORT */
|
#endif /* PRINTPKT_SUPPORT */
|
||||||
NULL,
|
NULL,
|
||||||
1,
|
1,
|
||||||
|
#if PRINTPKT_SUPPORT
|
||||||
"LCP",
|
"LCP",
|
||||||
NULL,
|
NULL,
|
||||||
|
#endif /* PRINTPKT_SUPPORT */
|
||||||
#if PPP_OPTIONS
|
#if PPP_OPTIONS
|
||||||
lcp_option_list,
|
lcp_option_list,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -431,8 +431,10 @@ struct protent {
|
|||||||
/* Process a received data packet */
|
/* Process a received data packet */
|
||||||
void (*datainput) __P((int unit, u_char *pkt, int len));
|
void (*datainput) __P((int unit, u_char *pkt, int len));
|
||||||
bool enabled_flag; /* 0 iff protocol is disabled */
|
bool enabled_flag; /* 0 iff protocol is disabled */
|
||||||
|
#if PRINTPKT_SUPPORT
|
||||||
char *name; /* Text name of protocol */
|
char *name; /* Text name of protocol */
|
||||||
char *data_name; /* Text name of corresponding data protocol */
|
char *data_name; /* Text name of corresponding data protocol */
|
||||||
|
#endif /* PRINTPKT_SUPPORT */
|
||||||
#if PPP_OPTIONS
|
#if PPP_OPTIONS
|
||||||
option_t *options; /* List of command-line options */
|
option_t *options; /* List of command-line options */
|
||||||
/* Check requested options, assign defaults */
|
/* Check requested options, assign defaults */
|
||||||
|
@ -103,8 +103,10 @@ struct protent pap_protent = {
|
|||||||
#endif /* PRINTPKT_SUPPORT */
|
#endif /* PRINTPKT_SUPPORT */
|
||||||
NULL,
|
NULL,
|
||||||
1,
|
1,
|
||||||
|
#if PRINTPKT_SUPPORT
|
||||||
"PAP",
|
"PAP",
|
||||||
NULL,
|
NULL,
|
||||||
|
#endif /* PRINTPKT_SUPPORT */
|
||||||
#if PPP_OPTIONS
|
#if PPP_OPTIONS
|
||||||
pap_option_list,
|
pap_option_list,
|
||||||
NULL,
|
NULL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user