Lines Matching defs:protent
344 struct protent { struct
345 u_short protocol; /* PPP protocol number */
347 void (*init) __P((int unit));
349 void (*input) __P((int unit, u_char *pkt, int len));
351 void (*protrej) __P((int unit));
353 void (*lowerup) __P((int unit));
355 void (*lowerdown) __P((int unit));
357 void (*open) __P((int unit));
359 void (*close) __P((int unit, char *reason));
361 int (*printpkt) __P((u_char *pkt, int len,
365 void (*datainput) __P((int unit, u_char *pkt, int len));
366 bool enabled_flag; /* 0 iff protocol is disabled */
367 char *name; /* Text name of protocol */
368 char *data_name; /* Text name of corresponding data protocol */
369 option_t *options; /* List of command-line options */
371 void (*check_options) __P((void));
373 int (*demand_conf) __P((int unit));
375 int (*active_pkt) __P((u_char *pkt, int len));
377 void (*print_stat) __P((int unit, FILE *strptr));