removed more protent fields only used by print packets functions

This commit is contained in:
Sylvain Rochet 2012-06-02 02:14:19 +02:00
parent 2c4bd7162f
commit 6c908ac727
8 changed files with 16 additions and 0 deletions

View File

@ -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,

View File

@ -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 */

View File

@ -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 */

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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 */

View File

@ -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,