Searched refs:echo_req (Results 1 – 1 of 1) sorted by relevance
129 struct net_icmpv4_echo_req *echo_req; in send_icmpv4_echo_request() local167 echo_req = (struct net_icmpv4_echo_req *)net_pkt_get_data( in send_icmpv4_echo_request()169 if (!echo_req) { in send_icmpv4_echo_request()173 echo_req->identifier = htons(params->identifier); in send_icmpv4_echo_request()174 echo_req->sequence = htons(params->sequence); in send_icmpv4_echo_request()249 struct net_icmpv6_echo_req *echo_req; in send_icmpv6_echo_request() local287 echo_req = (struct net_icmpv6_echo_req *)net_pkt_get_data( in send_icmpv6_echo_request()289 if (!echo_req) { in send_icmpv6_echo_request()293 echo_req->identifier = htons(params->identifier); in send_icmpv6_echo_request()294 echo_req->sequence = htons(params->sequence); in send_icmpv6_echo_request()