Lines Matching defs:protent
238 struct protent { struct
239 u_short protocol; /* PPP protocol number */
241 void (*init) (int unit);
243 void (*input) (int unit, u_char *pkt, int len);
245 void (*protrej) (int unit);
247 void (*lowerup) (int unit);
249 void (*lowerdown) (int unit);
251 void (*open) (int unit);
253 void (*close) (int unit, char *reason);
256 int (*printpkt) (u_char *pkt, int len,
260 void (*datainput) (int unit, u_char *pkt, int len);
262 int enabled_flag; /* 0 if protocol is disabled */
263 char *name; /* Text name of protocol */
266 void (*check_options) (u_long);
268 int (*demand_conf) (int unit);
270 int (*active_pkt) (u_char *pkt, int len);