| 167 | } |
| 168 | |
| 169 | static __inline void |
| 170 | be64enc(void *pp, uint64_t u) |
| 171 | { |
| 172 | uint8_t *p = (uint8_t *)pp; |
| 173 | |
| 174 | be32enc(p, (uint32_t)(u >> 32)); |
| 175 | be32enc(p + 4, (uint32_t)(u & 0xffffffffU)); |
| 176 | } |
| 177 | |
| 178 | static __inline void |
| 179 | le16enc(void *pp, uint16_t u) |
no test coverage detected