Lines Matching refs:unit
556 void start_link(unit)
557 int unit;
559 ppp_pcb *pcb = &ppp_pcb_list[unit];
762 set_allowed_addrs(unit, NULL, NULL); in link_established()
786 set_allowed_addrs(unit, NULL, NULL); in link_established()
862 ppp_pcb *pcb = &ppp_pcb_list[unit]; in network_phase()
865 lcp_options *go = &lcp_gotoptions[unit]; in network_phase()
962 && !ecp_gotoptions[unit].required in start_networks()
1511 auth_reset(unit)
1512 int unit;
1514 lcp_options *go = &lcp_gotoptions[unit];
1515 lcp_options *ao = &lcp_allowoptions[unit];
1558 check_passwd(unit, auser, userlen, apasswd, passwdlen, msg)
1559 int unit;
1593 set_allowed_addrs(unit, addrs, opts);
1668 set_allowed_addrs(unit, addrs, opts);
1685 null_login(unit)
1686 int unit;
1719 set_allowed_addrs(unit, addrs, opts);
1958 set_allowed_addrs(unit, addrs, opts); in get_secret()
1987 get_srp_secret(unit, client, server, secret, am_server)
1988 int unit;
2020 set_allowed_addrs(unit, addrs, opts);
2036 set_allowed_addrs(unit, addrs, opts)
2037 int unit;
2048 struct ipcp_options *wo = &ipcp_wantoptions[unit];
2051 if (addresses[unit] != NULL)
2052 free(addresses[unit]);
2053 addresses[unit] = NULL;
2168 addresses[unit] = ip;
2176 && (wo->hisaddr == 0 || !auth_ip_addr(unit, wo->hisaddr))) {
2192 auth_ip_addr(unit, addr)
2193 int unit;
2207 if (addresses[unit] != NULL) {
2208 ok = ip_addr_check(addr, addresses[unit]);