Lines Matching refs:unit
82 static void ecp_init __P((int unit));
84 static void ecp_open __P((int unit));
85 static void ecp_close __P((int unit, char *));
86 static void ecp_lowerup __P((int unit));
88 static void ecp_input __P((int unit, u_char *pkt, int len));
89 static void ecp_protrej __P((int unit));
95 static void ecp_datainput __P((int unit, u_char *pkt, int len));
146 ecp_init(unit)
147 int unit;
149 fsm *f = &ecp_fsm[unit];
151 f->unit = unit;
156 memset(&ecp_wantoptions[unit], 0, sizeof(ecp_options));
157 memset(&ecp_gotoptions[unit], 0, sizeof(ecp_options));
158 memset(&ecp_allowoptions[unit], 0, sizeof(ecp_options));
159 memset(&ecp_hisoptions[unit], 0, sizeof(ecp_options));