HomeSort by relevance Sort by last modified time
    Searched full:echoreq_p (Results 1 - 1 of 1) sorted by null

  /external/ltp/testcases/network/stress/ns-tools/
ns-icmpv6_sender.c 364 struct icmp6_segment *echoreq_p; /* Echo request header and payload */ local
371 echoreq_p = (struct icmp6_segment *)&(pkt.payload);
383 echoreq_p->hdr.icmp6_type = ICMP6_ECHO_REQUEST;
384 echoreq_p->hdr.icmp6_code = 0;
385 echoreq_p->hdr.icmp6_cksum = 0; /* Calculate later */
386 echoreq_p->hdr.icmp6_id = htons(ICMP_ECHO_ID);
387 echoreq_p->hdr.icmp6_seq = htons(1);
390 fill_payload(echoreq_p->data, info_p->data_size);
399 memcpy(pseudo.payload, echoreq_p, ip6_psize);
402 echoreq_p->hdr.icmp6_cksum = calc_checksum((u_int16_t *) (&pseudo)
    [all...]

Completed in 650 milliseconds