Lines Matching refs:currentscope
64 static struct scopelist *currentscope = NULL;
160 currentscope = pop_double_list(currentscope);
201 currentscope = push_double_list(currentscope, &ifnetwork->ifscope);
202 if (currentscope == NULL)
232 currentscope = pop_double_list(currentscope);
268 currentscope = push_double_list(currentscope, &link->linkscope);
269 if (currentscope == NULL)
325 currentscope = pop_double_list(currentscope);
349 currentscope = push_double_list(currentscope, &pool->poolscope);
350 if (currentscope == NULL)
513 currentscope = pop_double_list(currentscope);
551 currentscope = push_double_list(currentscope, groupscope);
552 if (currentscope == NULL)
576 currentscope = pop_double_list(currentscope);
607 currentscope = push_double_list(currentscope, &host->hostscope);
608 if (currentscope == NULL)
749 if (!currentscope) {
750 currentscope = push_double_list(currentscope, &globalgroup->scope);
751 if (currentscope == NULL)
757 if (!currentscope) {
758 currentscope = push_double_list(currentscope, &globalgroup->scope);
759 if (currentscope == NULL)
766 if (!currentscope) {
767 currentscope = push_double_list(currentscope, &globalgroup->scope);
768 if (currentscope == NULL)
778 currentscope->scope->allow_flags |= DHCIFF_RAPID_COMMIT;
780 currentscope->scope->send_flags |= DHCIFF_RAPID_COMMIT;
785 currentscope->scope->allow_flags |= DHCIFF_TEMP_ADDRS;
787 currentscope->scope->send_flags |= DHCIFF_TEMP_ADDRS;
792 currentscope->scope->allow_flags |= DHCIFF_UNICAST;
794 currentscope->scope->send_flags |= DHCIFF_UNICAST;
799 currentscope->scope->allow_flags |= DHCIFF_INFO_ONLY;
801 currentscope->scope->send_flags |= DHCIFF_INFO_ONLY;
822 dhcp6_add_listval(¤tscope->scope->dnslist.addrlist, &$1,
834 dhcp6_add_listval(¤tscope->scope->siplist, &$1,
846 dhcp6_add_listval(¤tscope->scope->ntplist, &$1,
863 if (currentscope->scope->dnslist.domainlist == NULL) {
864 currentscope->scope->dnslist.domainlist = domainname;
867 for (temp = currentscope->scope->dnslist.domainlist; temp;
888 if (!currentscope) {
889 currentscope = push_double_list(currentscope, &globalgroup->scope);
890 if (currentscope == NULL)
893 currentscope->scope->renew_time = $2;
897 if (!currentscope) {
898 currentscope = push_double_list(currentscope, &globalgroup->scope);
899 if (currentscope == NULL)
902 currentscope->scope->rebind_time = $2;
906 if (!currentscope) {
907 currentscope = push_double_list(currentscope, &globalgroup->scope);
908 if (currentscope == NULL)
911 currentscope->scope->valid_life_time = $2;
912 if (currentscope->scope->prefer_life_time != 0 &&
913 currentscope->scope->valid_life_time <
914 currentscope->scope->prefer_life_time) {
922 if (!currentscope) {
923 currentscope = push_double_list(currentscope, &globalgroup->scope);
924 if (currentscope == NULL)
927 currentscope->scope->prefer_life_time = $2;
928 if (currentscope->scope->valid_life_time != 0 &&
929 currentscope->scope->valid_life_time <
930 currentscope->scope->prefer_life_time) {
938 if (!currentscope) {
939 currentscope = push_double_list(currentscope, &globalgroup->scope);
940 if (currentscope == NULL)
945 currentscope->scope->server_pref = $2;