Home
last modified time | relevance | path

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

12

/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dres_mkquery.c136 hp->id = htons(++_res.id); in res_mkquery()
162 hp->qdcount = htons(1); in res_mkquery()
182 hp->arcount = htons(1); in res_mkquery()
204 hp->ancount = htons(1); in res_mkquery()
Dns_addr.c152 hb[0] = htons(hb[0]); hb[1] = htons(hb[1]); in Field()
153 hb[2] = htons(hb[2]); in Field()
Dres_mkupdate.c135 hp->id = htons(++_res.id); in res_mkupdate()
354 hp->qdcount = htons(counts[0]); in res_mkupdate()
355 hp->ancount = htons(counts[1]); in res_mkupdate()
356 hp->nscount = htons(counts[2]); in res_mkupdate()
357 hp->arcount = htons(counts[3]); in res_mkupdate()
Dns_ntoa.c51 u_short port = htons(addr.x_port); in ns_ntoa()
Dres_init.c208 _res.nsaddr.sin_port = htons(NAMESERVER_PORT); in res_init()
328 htons(NAMESERVER_PORT); in res_init()
Dgetservent.c258 serv.s_port = htons((u_short)atoi(p)); in getservent()
Dres_update.c540 _res.nsaddr_list[i].sin_port = htons(NAMESERVER_PORT); in res_update()
/device/linaro/bootloader/edk2/StdLib/LibC/Main/
DHtoNtoH.c20 #undef htons
47 htons( in htons() function
/device/linaro/bootloader/edk2/StdLib/Include/sys/
Dendian.h77 uint16_t htons(uint16_t) __attribute__((__const__));
124 #define htons(x) (x) macro
136 #define htons(x) bswap16((uint16_t)(x))
141 #define HTONS(x) (x) = htons((uint16_t)(x))
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetServByPort/
DGetServByPort.c52 pService = getservbyport ( htons ( PortNumber ), NULL ); in main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetServByName/
DGetServByName.c55 PortNumber = htons ( pService->s_port ); in main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RecvDgram/
DRecvDgram.c98 htons ( Address.sin_port )); in main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/TftpServer/
DTftpServer.c179 htons ( pTftpServer->RemoteAddress.v4.sin_port ))); in ContextAdd()
201 htons ( pTftpServer->RemoteAddress.v6.sin6_port ))); in ContextAdd()
767 htons ( pTftpServer->RemoteAddress.v4.sin_port ))); in PortWork()
789 htons ( pTftpServer->RemoteAddress.v6.sin6_port ))); in PortWork()
967 htons ( pTftpServer->RemoteAddress.v4.sin_port ))); in TftpAck()
988 htons ( pTftpServer->RemoteAddress.v6.sin6_port ))); in TftpAck()
1563 htons ( pTftpServer->RemoteAddress.v4.sin_port ))); in TftpProcessRequest()
1584 htons ( pTftpServer->RemoteAddress.v6.sin6_port ))); in TftpProcessRequest()
1613 htons ( pTftpServer->RemoteAddress.v4.sin_port ))); in TftpProcessRequest()
1634 htons ( pTftpServer->RemoteAddress.v6.sin6_port ))); in TftpProcessRequest()
[all …]
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DTcpStream.cpp37 addr.sin_port = htons(port); in _socket_loopback_server()
/device/generic/goldfish/libqemu/
Dtest_host_2.c67 addr.sin_port = htons(port); in socket_loopback_server()
Dtest_util.c60 addr.sin_port = htons(port); in pipe_openSocket()
Dtest_host_1.c69 addr.sin_port = htons(port); in socket_loopback_server()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/OobRx/
DOobRx.c71 SIN_PORT ( LocalPort ) = htons ( PortNumber ); in OobRx()
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/
Dctypeio.c169 new_ctype[i] = htons(new_ctype[i]); in __savectype()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/WebServer/
DWebServer.c601 WebServerAddress.v4.sin_port = htons ( HttpPort ); in WebServerListen()
606 WebServerAddress.v6.sin6_port = htons ( HttpPort ); in WebServerListen()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/OobTx/
DOobTx.c113 SIN_PORT ( RemotePort ) = htons ( PortNumber ); in OobTx()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dgetaddrinfo.c342 port = htons((u_short)atoi(servname)); in getaddrinfo()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_socket.py369 socket.htons: 16, socket.ntohs: 16}
386 socket.htons(k)
391 self.assertRaises(OverflowError, socket.htons, k)
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_socket.c554 server_addr.addr_in.sin_port = (__be16) htons(port); in tunning_server_socket_listen()
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_socket.c554 server_addr.addr_in.sin_port = (__be16) htons(port); in tunning_server_socket_listen()

12