Lines Matching refs:amsg
2603 dhcp_probe_gw_response(struct arp_state *astate, const struct arp_msg *amsg) in dhcp_probe_gw_response() argument
2607 amsg && in dhcp_probe_gw_response()
2608 amsg->tip.s_addr == astate->src_addr.s_addr && in dhcp_probe_gw_response()
2609 amsg->sip.s_addr == astate->addr.s_addr) { in dhcp_probe_gw_response()
2615 save_gateway_addr(astate->iface, amsg->sha); in dhcp_probe_gw_response()
2727 dhcp_arp_conflicted(struct arp_state *astate, const struct arp_msg *amsg) in dhcp_arp_conflicted() argument
2736 amsg && in dhcp_arp_conflicted()
2737 (amsg->sip.s_addr == ifo->arping[state->arping_index - 1] || in dhcp_arp_conflicted()
2738 (amsg->sip.s_addr == 0 && in dhcp_arp_conflicted()
2739 amsg->tip.s_addr == ifo->arping[state->arping_index - 1]))) in dhcp_arp_conflicted()
2744 arp_report_conflicted(astate, amsg); in dhcp_arp_conflicted()
2745 hwaddr_ntoa(amsg->sha, astate->iface->hwlen, buf, sizeof(buf)); in dhcp_arp_conflicted()
2765 if (amsg == NULL || (state->offer && in dhcp_arp_conflicted()
2766 (amsg->sip.s_addr == state->offer->yiaddr || in dhcp_arp_conflicted()
2767 (amsg->sip.s_addr == 0 && in dhcp_arp_conflicted()
2768 amsg->tip.s_addr == state->offer->yiaddr)))) in dhcp_arp_conflicted()
2774 if (amsg) { in dhcp_arp_conflicted()
2782 arp_report_conflicted(astate, amsg); in dhcp_arp_conflicted()