Lines Matching refs:unit
87 static void ecp_init __P((int unit));
89 static void ecp_open __P((int unit));
90 static void ecp_close __P((int unit, char *));
91 static void ecp_lowerup __P((int unit));
93 static void ecp_input __P((int unit, u_char *pkt, int len));
94 static void ecp_protrej __P((int unit));
100 static void ecp_datainput __P((int unit, u_char *pkt, int len));
151 ecp_init(unit)
152 int unit;
154 fsm *f = &ecp_fsm[unit];
156 f->unit = unit;
161 memset(&ecp_wantoptions[unit], 0, sizeof(ecp_options));
162 memset(&ecp_gotoptions[unit], 0, sizeof(ecp_options));
163 memset(&ecp_allowoptions[unit], 0, sizeof(ecp_options));
164 memset(&ecp_hisoptions[unit], 0, sizeof(ecp_options));