Home | History | Annotate | Download | only in dhcpcd

Lines Matching refs:iface

88 	struct interface *iface = arg;
91 delete_timeout(NULL, iface);
92 iface->state->probes = 0;
93 iface->state->claims = 0;
94 if (iface->addr.s_addr) {
95 iface->state->conflicts = 0;
96 if (IN_LINKLOCAL(htonl(iface->addr.s_addr))) {
97 send_arp_announce(iface);
102 if (iface->state->offer == NULL)
105 addr = iface->state->offer->yiaddr;
106 free(iface->state->offer);
111 iface->name);
115 iface->state->offer = find_ipv4ll_lease(addr);
117 iface->state->offer = make_ipv4ll_lease(addr);
118 iface->state->lease.frominfo = 0;
119 send_arp_probe(iface);
125 struct interface *iface = arg;
128 if (iface->state->fail.s_addr == iface->addr.s_addr) {
130 if (iface->state->defend + DEFEND_INTERVAL > up) {
133 iface->name, DEFEND_INTERVAL);
134 drop_dhcp(iface, "EXPIRE");
135 iface->state->conflicts = -1;
138 iface->name);
139 iface->state->defend = up;
144 close_sockets(iface);
145 free(iface->state->offer);
146 iface->state->offer = NULL;
147 delete_timeout(NULL, iface);
148 if (++iface->state->conflicts > MAX_CONFLICTS) {
150 iface->name);
151 iface->state->interval = RATE_LIMIT_INTERVAL / 2;
152 start_discover(iface);
154 add_timeout_sec(PROBE_WAIT, start_ipv4ll, iface);