Home | History | Annotate | Download | only in dhcpcd

Lines Matching refs:state

124 	struct if_state *state = iface->state;
125 struct if_options *ifo = state->options;
126 struct dhcp_lease *lease = &state->lease;
131 state->reason = NULL;
135 state->xid = 0;
136 free(state->old);
137 state->old = state->new;
138 state->new = state->offer;
139 state->offer = NULL;
140 get_lease(lease, state->new);
146 state->reason = "STATIC";
147 } else if (state->new->cookie != htonl(MAGIC_COOKIE)) {
151 state->reason = "IPV4LL";
160 state->reason = "INFORM";
165 state->reason = "TIMEOUT";
203 state->reason = "TEST";
207 if (state->reason == NULL) {
208 if (state->old) {
209 if (state->old->yiaddr == state->new->yiaddr &&
211 state->reason = "RENEW";
213 state->reason = "REBIND";
214 } else if (state->state == DHS_REBOOT)
215 state->reason = "REBOOT";
217 state->reason = "BOUND";
229 state->state = DHS_BOUND;
231 state->claims = 0;