Searched refs:tv32 (Results 1 – 5 of 5) sorted by relevance
/freebsd/sbin/ping/ |
H A D | ping.c | 93 #define TIMEVAL_LEN ((int)sizeof(struct tv32)) 111 struct tv32 { struct 1007 struct tv32 tv32; in pinger() local 1030 tv32.tv32_sec = (uint32_t)htonl(now.tv_sec); in pinger() 1031 tv32.tv32_nsec = (uint32_t)htonl(now.tv_nsec); in pinger() 1036 bcopy((void *)&tv32, in pinger() 1038 sizeof(tv32)); in pinger() 1154 struct tv32 tv32; in pr_pack() local 1162 memcpy(&tv32, tp, sizeof(tv32)); in pr_pack() 1163 tv1.tv_sec = ntohl(tv32.tv32_sec); in pr_pack() [all …]
|
H A D | ping6.c | 132 struct tv32 { struct 140 #define ICMP6ECHOTMLEN sizeof(struct tv32) 744 if (datalen >= sizeof(struct tv32)) { in ping6() 1381 struct tv32 tv32; in pinger() local 1389 tv32.tv32_sec = (uint32_t)htonl(tv.tv_sec); in pinger() 1390 tv32.tv32_nsec = (uint32_t)htonl(tv.tv_nsec); in pinger() 1391 memcpy(&outpack[ICMP6ECHOLEN], &tv32, sizeof(tv32)); in pinger() 1539 struct tv32 tpp; in pr_pack() 2650 (size_t)kk <= MAXDATALEN - 8 + sizeof(struct tv32) + ii; in fill()
|
/freebsd/sys/compat/freebsd32/ |
H A D | freebsd32_misc.c | 628 struct timeval32 tv32; in freebsd32_select() local 633 error = copyin(uap->tv, &tv32, sizeof(tv32)); in freebsd32_select() 636 CP(tv32, tv, tv_sec); in freebsd32_select() 637 CP(tv32, tv, tv_usec); in freebsd32_select() 1722 struct timeval32 tv32; in freebsd32_settimeofday() local 1728 error = copyin(uap->tv, &tv32, sizeof(tv32)); in freebsd32_settimeofday() 1731 CP(tv32, tv, tv_sec); in freebsd32_settimeofday() 1732 CP(tv32, t in freebsd32_settimeofday() 1878 struct timeval32 tv32; freebsd32_adjtime() local [all...] |
/freebsd/sys/net/ |
H A D | bpf.c | 1646 struct timeval32 *tv32; in bpfioctl() local 1650 tv32 = (struct timeval32 *)addr; in bpfioctl() 1652 tv->tv_sec = tv32->tv_sec; in bpfioctl() 1653 tv->tv_usec = tv32->tv_usec; in bpfioctl() 1677 struct timeval32 *tv32; in bpfioctl() local 1690 tv32 = (struct timeval32 *)addr; in bpfioctl() 1691 tv32->tv_sec = tv->tv_sec; in bpfioctl() 1692 tv32->tv_usec = tv->tv_usec; in bpfioctl()
|
/freebsd/sys/kern/ |
H A D | uipc_socket.c | 3887 struct timeval32 tv32; local 3889 error = sooptcopyin(sopt, &tv32, sizeof tv32, 3890 sizeof tv32); 3891 CP(tv32, tv, tv_sec); 3892 CP(tv32, tv, tv_usec); 4178 struct timeval32 tv32; local 4180 CP(tv, tv32, tv_sec); 4181 CP(tv, tv32, tv_usec); 4182 error = sooptcopyout(sopt, &tv32, sizeof tv32);
|