Lines Matching refs:in_addr
30 const struct in_addr *src;
86 const struct in_addr *src) in icmpv4_update_record_route()
89 uint8_t addr_len = sizeof(struct in_addr); in icmpv4_update_record_route()
194 const struct in_addr *src) in icmpv4_update_time_stamp()
197 uint8_t addr_len = sizeof(struct in_addr); in icmpv4_update_time_stamp()
372 const struct in_addr *src) in icmpv4_handle_header_options()
405 const struct in_addr *src) in icmpv4_handle_header_options()
423 const struct in_addr *src; in icmpv4_handle_echo_request()
429 if (net_ipv4_is_addr_unspecified((struct in_addr *)ip_hdr->src)) { in icmpv4_handle_echo_request()
456 if (net_ipv4_is_addr_mcast((struct in_addr *)ip_hdr->dst) || in icmpv4_handle_echo_request()
458 (struct in_addr *)ip_hdr->dst)) { in icmpv4_handle_echo_request()
460 (struct in_addr *)ip_hdr->src); in icmpv4_handle_echo_request()
467 src = (struct in_addr *)ip_hdr->dst; in icmpv4_handle_echo_request()
473 if (net_ipv4_create(reply, src, (struct in_addr *)ip_hdr->src)) { in icmpv4_handle_echo_request()
543 (struct in_addr *)ip_hdr->dst)) { in net_icmpv4_send_error()
572 if (net_ipv4_create(pkt, (struct in_addr *)ip_hdr->dst, in net_icmpv4_send_error()
573 (struct in_addr *)ip_hdr->src) || in net_icmpv4_send_error()
629 (struct in_addr *)ip_hdr->dst) && in net_icmpv4_input()
717 net_ipaddr_copy(&sockaddr_src.sin_addr, (struct in_addr *)&ip_hdr->src); in icmpv4_handle_dst_unreach()