Lines Matching refs:unit
89 link_terminated(unit)
90 int unit;
102 link_down(unit)
103 int unit;
112 (*protp->lowerdown)(unit);
114 (*protp->close)(unit, "LCP down");
127 link_established(unit)
128 int unit;
131 lcp_options *ho = &lcp_hisoptions[unit];
141 (*protp->lowerup)(unit);
147 ChapAuthWithPeer(unit, user, ho->chap_mdtype);
156 upap_authwithpeer(unit, user, passwd);
159 auth_pending[unit] = auth;
162 network_phase(unit);
169 network_phase(unit)
170 int unit;
200 auth_peer_fail(unit, protocol)
201 int unit, protocol;
206 lcp_close(unit, "Authentication failed");
214 auth_peer_success(unit, protocol, name, namelen)
215 int unit, protocol;
246 if ((auth_pending[unit] &= ~bit) == 0)
247 network_phase(unit);
254 auth_withpeer_fail(unit, protocol)
255 int unit, protocol;
263 lcp_close(unit, "Failed to authenticate ourselves to peer");
271 auth_withpeer_success(unit, protocol)
272 int unit, protocol;
292 if ((auth_pending[unit] &= ~bit) == 0)
293 network_phase(unit);
301 np_up(unit, proto)
302 int unit, proto;
338 np_down(unit, proto)
339 int unit, proto;
351 np_finished(unit, proto)
352 int unit, proto;
405 auth_reset(unit)
406 int unit;
420 get_secret(unit, client, server, secret, secret_len, am_server)
421 int unit;