Lines Matching full:unit
84 static void ecp_init (int unit);
86 static void ecp_open (int unit);
87 static void ecp_close (int unit, char *);
88 static void ecp_lowerup (int unit);
90 static void ecp_input (int unit, u_char *pkt, int len);
91 static void ecp_protrej (int unit);
99 static void ecp_datainput (int unit, u_char *pkt, int len);
159 ecp_init(unit) in ecp_init() argument
160 int unit; in ecp_init()
162 fsm *f = &ecp_fsm[unit];
164 f->unit = unit;
170 memset(&ecp_wantoptions[unit], 0, sizeof(ecp_options));
171 memset(&ecp_gotoptions[unit], 0, sizeof(ecp_options));
172 memset(&ecp_allowoptions[unit], 0, sizeof(ecp_options));
173 memset(&ecp_hisoptions[unit], 0, sizeof(ecp_options));