aboutsummaryrefslogtreecommitdiffstats
path: root/src/arpa (follow)
Commit message (Collapse)AuthorAgeFilesLines
* It is of course possible that int is 16 bits, and long is required to get 32 bitsMattias Andrée2015-12-202-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ée2015-12-206-9/+70
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix issue #8 on githubMattias Andrée2015-12-192-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* add ntohs, ntohl, ntohll, htons, htonl, and htonllMattias Andrée2015-12-166-0/+257
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>