Searched refs:tv32 (Results 1 - 10 of 10) sorted by relevance
/netbsd-6-1-5-RELEASE/sys/compat/netbsd32/ |
H A D | netbsd32_select.c | 64 struct netbsd32_timeval tv32; local 68 error = copyin(SCARG_P32(uap, tv), &tv32, sizeof(tv32)); 71 ats.tv_sec = tv32.tv_sec; 72 ats.tv_nsec = tv32.tv_usec * 1000;
|
H A D | netbsd32_compat_50.c | 86 struct netbsd32_timeval50 tv32[2]; local 93 error = copyin(tptr, tv32, sizeof(tv32)); 96 netbsd32_to_timeval50(&tv32[0], &tv[0]); 97 netbsd32_to_timeval50(&tv32[1], &tv[1]); 128 struct netbsd32_timeval50 tv32; local 132 error = copyin(SCARG_P32(uap, tv), &tv32, sizeof(tv32)); 135 ats.tv_sec = tv32.tv_sec; 136 ats.tv_nsec = tv32 154 struct netbsd32_timeval50 tv32; local [all...] |
H A D | netbsd32_conv.h | 62 struct netbsd32_timeval50 *tv32) 65 tv32->tv_sec = (netbsd32_long)tv->tv_sec; 66 tv32->tv_usec = (netbsd32_long)tv->tv_usec; 71 struct netbsd32_timeval *tv32) 74 tv32->tv_sec = (time_t)tv->tv_sec; 75 tv32->tv_usec = (suseconds_t)tv->tv_usec; 79 netbsd32_to_timeval50(const struct netbsd32_timeval50 *tv32, argument 83 tv->tv_sec = (time_t)tv32->tv_sec; 84 tv->tv_usec = (suseconds_t)tv32->tv_usec; 88 netbsd32_to_timeval(const struct netbsd32_timeval *tv32, argument 61 netbsd32_from_timeval50(const struct timeval *tv, struct netbsd32_timeval50 *tv32) argument 70 netbsd32_from_timeval(const struct timeval *tv, struct netbsd32_timeval *tv32) argument [all...] |
H A D | netbsd32_time.c | 244 struct netbsd32_timeval tv32; local 250 netbsd32_from_timeval(&atv, &tv32); 251 error = copyout(&tv32, SCARG_P32(uap, tp), sizeof(tv32));
|
H A D | netbsd32_fs.c | 329 struct netbsd32_timeval tv32[2]; local 336 error = copyin(tptr, tv32, sizeof(tv32)); 339 netbsd32_to_timeval(&tv32[0], &tv[0]); 340 netbsd32_to_timeval(&tv32[1], &tv[1]);
|
/netbsd-6-1-5-RELEASE/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 299 struct tv32 { struct 308 struct tv32 tv; /* time packet left */ 576 minlen = ICMP6ECHOLEN + sizeof(struct tv32); 928 struct tv32 tv32; local 938 tv32.tv32_sec = htonl(tv.tv_sec); 939 tv32.tv32_usec = htonl(tv.tv_usec); 949 memcpy(((u_int8_t *)outpacket + ICMP6ECHOLEN), &tv32, 950 sizeof(tv32)); 956 memcpy(&op->tv, &tv32, sizeo [all...] |
/netbsd-6-1-5-RELEASE/sbin/ping/ |
H A D | ping.c | 140 struct tv32 { struct 155 #define PHDR_LEN sizeof(struct tv32) /* size of timestamp header */ 837 struct tv32 tv32; local 884 tv32.tv32_sec = (uint32_t)htonl(now.tv_sec); 885 tv32.tv32_usec = htonl(now.tv_nsec / 1000); 886 (void) memcpy(&opack_icmp.icmp_data[0], &tv32, sizeof(tv32)); 1020 struct tv32 tv32; local [all...] |
/netbsd-6-1-5-RELEASE/sys/compat/linux32/common/ |
H A D | linux32_time.c | 93 struct netbsd32_timeval50 tv32; local 98 netbsd32_from_timeval50(&tv, &tv32); 99 if ((error = copyout(&tv32, SCARG_P32(uap, tp), 100 sizeof(tv32))) != 0)
|
/netbsd-6-1-5-RELEASE/sbin/ping6/ |
H A D | ping6.c | 141 struct tv32 { struct 149 #define ICMP6ECHOTMLEN sizeof(struct tv32) 681 if (datalen >= (int)sizeof(struct tv32)) { 1253 struct tv32 *tv32; local 1255 tv32 = (struct tv32 *)&outpack[ICMP6ECHOLEN]; 1256 tv32->tv32_sec = htonl(tv.tv_sec); 1257 tv32->tv32_usec = htonl(tv.tv_usec); 1390 struct tv32 *tp [all...] |
/netbsd-6-1-5-RELEASE/usr.sbin/traceroute/ |
H A D | traceroute.c | 284 struct tv32 { struct in struct:outdata
|
Completed in 142 milliseconds