Lines Matching refs:htonl
66 * These use the MACHINE DEPENDENT routines ntohl, htonl
69 * To simplify the implementation, we use ntohl/htonl even on big-endian
76 #define txdr_unsigned(v) (htonl(v))
89 ((struct nfsv2_time *)(t))->nfsv2_sec = htonl((f)->tv_sec); \
91 ((struct nfsv2_time *)(t))->nfsv2_usec = htonl((f)->tv_nsec / 1000); \
109 ((struct nfsv3_time *)(t))->nfsv3_sec = htonl((f)->tv_sec); \
110 ((struct nfsv3_time *)(t))->nfsv3_nsec = htonl((f)->tv_nsec); \
115 ((struct nfsv3_time *)(t))->nfsv3_sec = htonl((f)->nfsv3_sec); \
116 ((struct nfsv3_time *)(t))->nfsv3_nsec = htonl((f)->nfsv3_nsec); \
125 ((uint32_t *)(t))[0] = htonl((uint32_t)((f) >> 32)); \
126 ((uint32_t *)(t))[1] = htonl((uint32_t)((f) & 0xffffffff)); \