Lines Matching refs:s_addr
87 if (addr == astate->failed.s_addr) in ipv4ll_pick_addr()
93 if (state && state->addr.s_addr == addr) in ipv4ll_pick_addr()
120 state->offer = ipv4ll_make_lease(astate->addr.s_addr); in ipv4ll_probed()
158 (amsg->sip.s_addr == astate->addr.s_addr || in ipv4ll_conflicted()
159 (amsg->sip.s_addr == 0 && amsg->tip.s_addr == astate->addr.s_addr))) in ipv4ll_conflicted()
160 fail = astate->addr.s_addr; in ipv4ll_conflicted()
163 if (IN_LINKLOCAL(htonl(state->addr.s_addr)) && in ipv4ll_conflicted()
164 amsg && amsg->sip.s_addr == state->addr.s_addr) in ipv4ll_conflicted()
165 fail = state->addr.s_addr; in ipv4ll_conflicted()
170 astate->failed.s_addr = fail; in ipv4ll_conflicted()
173 if (astate->failed.s_addr == state->addr.s_addr) { in ipv4ll_conflicted()
198 astate->addr.s_addr = ipv4ll_pick_addr(astate); in ipv4ll_conflicted()
240 if (IN_LINKLOCAL(htonl(state->addr.s_addr))) { in ipv4ll_start()
247 astate->addr.s_addr = state->offer->yiaddr; in ipv4ll_start()
261 if (!IN_LINKLOCAL(htonl(astate->addr.s_addr))) { in ipv4ll_start()
264 astate->addr.s_addr = INADDR_ANY; in ipv4ll_start()
266 if (astate->addr.s_addr == INADDR_ANY) in ipv4ll_start()
267 astate->addr.s_addr = ipv4ll_pick_addr(astate); in ipv4ll_start()