Home
last modified time | relevance | path

Searched refs:htons (Results 1 – 19 of 19) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/net/
Dhtons.c10 #undef htons
13 htons(u_int16_t x) in htons() function
/bionic/libc/dns/resolv/
Dres_mkquery.c145 hp->id = htons(res_randomid()); in res_nmkquery()
171 hp->qdcount = htons(1); in res_nmkquery()
192 hp->arcount = htons(1); in res_nmkquery()
214 hp->ancount = htons(1); in res_nmkquery()
271 hp->arcount = htons(ntohs(hp->arcount) + 1); in res_nopt()
Dres_init.c209 u[nserv].sin.sin_port = htons(NAMESERVER_PORT); in __res_vinit()
221 u[nserv].sin6.sin6_port = htons(NAMESERVER_PORT); in __res_vinit()
Dres_send.c199 u.sin.sin_port = htons(port); in random_bind()
201 u.sin6.sin6_port = htons(port); in random_bind()
/bionic/libc/include/sys/
Dendian.h53 uint16_t htons(uint16_t) __attribute_const__ __INTRODUCED_IN(21);
59 #define htons(x) __swap16(x) macro
76 #define HTONS(x) (x) = htons((u_int16_t)(x))
/bionic/libc/bionic/
Dnetinet_in.cpp63 sin->sin_port = htons(port); in bindresvport()
/bionic/tests/
Dnetinet_in_test.cpp49 ASSERT_EQ(be16, (htons)(le16)); in TEST()
Dendian_test.cpp45 ASSERT_EQ(be16, htons(le16)); in TEST()
/bionic/libc/dns/net/
Dgetservent.c103 rs->servent.s_port = htons(port); in getservent_r()
Dgetaddrinfo.c1183 port = htons(port); in get_port()
/bionic/libc/tools/
Dposix-2013.txt394 htons
/bionic/libc/
Dlibc.mips64.map425 htons; # introduced=21
Dlibc.arm64.map425 htons; # introduced=21
Dlibc.x86_64.map425 htons; # introduced=21
Dlibc.mips.map495 htons; # introduced=21
Dlibc.x86.map493 htons; # introduced=21
Dlibc.map.txt499 htons; # introduced=21
Dlibc.arm.map497 htons; # introduced=21
DAndroid.bp414 "upstream-openbsd/lib/libc/net/htons.c",