Lines Matching refs:ifp
76 struct interface *ifp;
91 TAILQ_FOREACH(ifp, astate->iface->ctx->ifaces, next) {
92 state = D_CSTATE(ifp);
98 if (ifp == NULL)
208 struct interface *ifp = arg;
209 struct dhcp_state *state = D_STATE(ifp);
223 if (sizeof(seed) > ifp->hwlen) {
225 memcpy(&seed, ifp->hwaddr, ifp->hwlen);
227 memcpy(&seed, ifp->hwaddr + ifp->hwlen - sizeof(seed),
232 if ((astate = arp_new(ifp, NULL)) == NULL)
250 ap = ipv4_iffindaddr(ifp, &astate->addr, NULL);
252 ap = ipv4_iffindlladdr(ifp);
262 logger(ifp->ctx, LOG_INFO, "%s: probing for an IPv4LL address",
263 ifp->name);
276 ipv4ll_stop(struct interface *ifp)
278 struct dhcp_state *state = D_STATE(ifp);
280 eloop_timeout_delete(ifp->ctx->eloop, NULL, state->arp_ipv4ll);