Lines Matching refs:nstate
908 struct dhcp_state *state = D_STATE(ifp), *nstate; in ipv4_applyaddr()
933 nstate = D_STATE(ifn); in ipv4_applyaddr()
934 if (nstate && !nstate->added && in ipv4_applyaddr()
935 nstate->addr.s_addr == addr.s_addr) in ipv4_applyaddr()
943 &nstate->lease); in ipv4_applyaddr()
944 nstate->added = in ipv4_applyaddr()
962 nstate = D_STATE(ifn); in ipv4_applyaddr()
963 if (nstate && nstate->added && in ipv4_applyaddr()
964 nstate->addr.s_addr == lease->addr.s_addr) in ipv4_applyaddr()
980 ipv4_deladdr(ifn, &nstate->addr, &nstate->net); in ipv4_applyaddr()
981 nstate->added = 0; in ipv4_applyaddr()