Lines Matching refs:tv_usec
41 #define netdissect_timevalclear(tvp) ((tvp)->tv_sec = (tvp)->tv_usec = 0)
43 #define netdissect_timevalisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
47 ((tvp)->tv_usec cmp (uvp)->tv_usec) : \
53 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
55 if ((vvp)->tv_usec >= _NANO_PER_SEC) { \
57 (vvp)->tv_usec -= _NANO_PER_SEC; \
60 if ((vvp)->tv_usec >= _MICRO_PER_SEC) { \
62 (vvp)->tv_usec -= _MICRO_PER_SEC; \
70 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
71 if ((vvp)->tv_usec < 0) { \
73 (vvp)->tv_usec += (nano_prec ? _NANO_PER_SEC : \