Lines Matching refs:htonl
40 * These use the MACHINE DEPENDENT routines ntohl, htonl
43 * To simplify the implementation, we use ntohl/htonl even on big-endian
50 #define txdr_unsigned(v) (htonl((int32_t)(v)))
61 ((struct nfsv2_time *)(t))->nfsv2_sec = htonl((f)->tv_sec); \
63 ((struct nfsv2_time *)(t))->nfsv2_usec = htonl((f)->tv_nsec / 1000); \
74 ((struct nfsv3_time *)(t))->nfsv3_sec = htonl((f)->tv_sec); \
75 ((struct nfsv3_time *)(t))->nfsv3_nsec = htonl((f)->tv_nsec); \
86 ((struct nfsv4_time *)(t))->nfsv4_sec = htonl((f)->tv_sec); \
87 ((struct nfsv4_time *)(t))->nfsv4_nsec = htonl((f)->tv_nsec); \
95 ((u_int32_t *)(t))[0] = htonl((u_int32_t)((f) >> 32)); \
96 ((u_int32_t *)(t))[1] = htonl((u_int32_t)((f) & 0xffffffff)); \