Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | It is of course possible that int is 16 bits, and long is required to get 32 bits | Mattias Andrée | 2015-12-20 | 2 | -6/+6 |
| | | | | | | (in this case, assuming 8-, 16-, and 32-bit integers exists) long must be 32 bits. Signed-off-by: Mattias Andrée <maandree@member.fsf.org> | ||||
* | optimise implementations of {hton,ntoh}{s,l,ll} | Mattias Andrée | 2015-12-20 | 6 | -9/+70 |
| | | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org> | ||||
* | fix issue #8 on github | Mattias Andrée | 2015-12-19 | 2 | -2/+2 |
| | | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org> | ||||
* | add ntohs, ntohl, ntohll, htons, htonl, and htonll | Mattias Andrée | 2015-12-16 | 6 | -0/+257 |
Signed-off-by: Mattias Andrée <maandree@member.fsf.org> |