Home
last modified time | relevance | path

Searched refs:SWAP_BE16 (Results 1 – 3 of 3) sorted by relevance

/external/toybox/toys/net/
Dnetcat.c84 *port = SWAP_BE16(atoi(str)); in lookup_port()
113 address->sin_port = SWAP_BE16(TT.port); in netcat_main()
143 printf("%d\n", SWAP_BE16(address->sin_port)); in netcat_main()
Dftpget.c150 si6.sin6_port = SWAP_BE16(port); // same field size/offset for v4 and v6 in ftpget_main()
/external/toybox/lib/
Dportability.h160 #define SWAP_BE16(x) (x) macro
168 #define SWAP_BE16(x) bswap_16(x) macro