tv32
#define TIMEVAL_LEN ((int)sizeof(struct tv32))
struct tv32 tv32;
tv32.tv32_sec = (uint32_t)htonl(now.tv_sec);
tv32.tv32_nsec = (uint32_t)htonl(now.tv_nsec);
bcopy((void *)&tv32,
sizeof(tv32));
struct tv32 tv32;
memcpy(&tv32, tp, sizeof(tv32));
tv1.tv_sec = ntohl(tv32.tv32_sec);
tv1.tv_nsec = ntohl(tv32.tv32_nsec);
struct tv32 tv32;
tv32.tv32_sec = (uint32_t)htonl(tv.tv_sec);
tv32.tv32_nsec = (uint32_t)htonl(tv.tv_nsec);
memcpy(&outpack[ICMP6ECHOLEN], &tv32, sizeof(tv32));
#define ICMP6ECHOTMLEN sizeof(struct tv32)
struct tv32 tpp;
(size_t)kk <= MAXDATALEN - 8 + sizeof(struct tv32) + ii;
if (datalen >= sizeof(struct tv32)) {
struct tv32 tv; /* time packet left */
minlen = ICMP6ECHOLEN + sizeof(struct tv32);
struct tv32 tv32;
tv32.tv32_sec = htonl(tv.tv_sec);
tv32.tv32_usec = htonl(tv.tv_usec);
memcpy(((u_int8_t *)outpacket + ICMP6ECHOLEN), &tv32,
sizeof(tv32));
memcpy(&op->tv, &tv32, sizeof tv32);