Searched refs:SWAP_BE16 (Results 1 – 3 of 3) sorted by relevance
84 *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()
150 si6.sin6_port = SWAP_BE16(port); // same field size/offset for v4 and v6 in ftpget_main()
160 #define SWAP_BE16(x) (x) macro168 #define SWAP_BE16(x) bswap_16(x) macro