mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-03-21 22:21:04 +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 */
|
||||
ccp_datainput,
|
||||
1,
|
||||
#if PRINTPKT_SUPPORT
|
||||
"CCP",
|
||||
"Compressed",
|
||||
#endif /* PRINTPKT_SUPPORT */
|
||||
#if PPP_OPTIONS
|
||||
ccp_option_list,
|
||||
NULL,
|
||||
|
@ -669,8 +669,10 @@ struct protent chap_protent = {
|
||||
#endif /* PRINTPKT_SUPPORT */
|
||||
NULL, /* datainput */
|
||||
1, /* enabled_flag */
|
||||
#if PRINTPKT_SUPPORT
|
||||
"CHAP", /* name */
|
||||
NULL, /* data_name */
|
||||
#endif /* PRINTPKT_SUPPORT */
|
||||
#if PPP_OPTIONS
|
||||
chap_option_list,
|
||||
NULL, /* check_options */
|
||||
|
@ -120,8 +120,10 @@ struct protent eap_protent = {
|
||||
#endif /* PRINTPKT_SUPPORT */
|
||||
NULL, /* process a received data packet */
|
||||
1, /* protocol enabled */
|
||||
#if PRINTPKT_SUPPORT
|
||||
"EAP", /* text name of protocol */
|
||||
NULL, /* text name of corresponding data protocol */
|
||||
#endif /* PRINTPKT_SUPPORT */
|
||||
#if PPP_OPTIONS
|
||||
eap_option_list, /* list of command-line options */
|
||||
NULL, /* check requested options; assign defaults */
|
||||
|
@ -116,8 +116,10 @@ struct protent ecp_protent = {
|
||||
#endif /* PRINTPKT_SUPPORT */
|
||||
NULL, /* ecp_datainput, */
|
||||
0,
|
||||
#if PRINTPKT_SUPPORT
|
||||
"ECP",
|
||||
"Encrypted",
|
||||
#endif /* PRINTPKT_SUPPORT */
|
||||
#if PPP_OPTIONS
|
||||
ecp_option_list,
|
||||
NULL,
|
||||
|
@ -281,8 +281,10 @@ struct protent ipcp_protent = {
|
||||
#endif /* PRINTPKT_SUPPORT */
|
||||
NULL,
|
||||
1,
|
||||
#if PRINTPKT_SUPPORT
|
||||
"IPCP",
|
||||
"IP",
|
||||
#endif /* PRINTPKT_SUPPORT */
|
||||
#if PPP_OPTIONS
|
||||
ipcp_option_list,
|
||||
ip_check_options,
|
||||
|
@ -283,8 +283,10 @@ struct protent lcp_protent = {
|
||||
#endif /* PRINTPKT_SUPPORT */
|
||||
NULL,
|
||||
1,
|
||||
#if PRINTPKT_SUPPORT
|
||||
"LCP",
|
||||
NULL,
|
||||
#endif /* PRINTPKT_SUPPORT */
|
||||
#if PPP_OPTIONS
|
||||
lcp_option_list,
|
||||
NULL,
|
||||
|
@ -431,8 +431,10 @@ struct protent {
|
||||
/* Process a received data packet */
|
||||
void (*datainput) __P((int unit, u_char *pkt, int len));
|
||||
bool enabled_flag; /* 0 iff protocol is disabled */
|
||||
#if PRINTPKT_SUPPORT
|
||||
char *name; /* Text name of protocol */
|
||||
char *data_name; /* Text name of corresponding data protocol */
|
||||
#endif /* PRINTPKT_SUPPORT */
|
||||
#if PPP_OPTIONS
|
||||
option_t *options; /* List of command-line options */
|
||||
/* Check requested options, assign defaults */
|
||||
|
@ -103,8 +103,10 @@ struct protent pap_protent = {
|
||||
#endif /* PRINTPKT_SUPPORT */
|
||||
NULL,
|
||||
1,
|
||||
#if PRINTPKT_SUPPORT
|
||||
"PAP",
|
||||
NULL,
|
||||
#endif /* PRINTPKT_SUPPORT */
|
||||
#if PPP_OPTIONS
|
||||
pap_option_list,
|
||||
NULL,
|
||||
|
Loading…
x
Reference in New Issue
Block a user