/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
D | res_mkquery.c | 136 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()
|
D | ns_addr.c | 152 hb[0] = htons(hb[0]); hb[1] = htons(hb[1]); in Field() 153 hb[2] = htons(hb[2]); in Field()
|
D | res_mkupdate.c | 135 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()
|
D | ns_ntoa.c | 51 u_short port = htons(addr.x_port); in ns_ntoa()
|
D | res_init.c | 208 _res.nsaddr.sin_port = htons(NAMESERVER_PORT); in res_init() 328 htons(NAMESERVER_PORT); in res_init()
|
D | getservent.c | 258 serv.s_port = htons((u_short)atoi(p)); in getservent()
|
D | res_update.c | 540 _res.nsaddr_list[i].sin_port = htons(NAMESERVER_PORT); in res_update()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Main/ |
D | HtoNtoH.c | 20 #undef htons 47 htons( in htons() function
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
D | endian.h | 77 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/ |
D | GetServByPort.c | 52 pService = getservbyport ( htons ( PortNumber ), NULL ); in main()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetServByName/ |
D | GetServByName.c | 55 PortNumber = htons ( pService->s_port ); in main()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RecvDgram/ |
D | RecvDgram.c | 98 htons ( Address.sin_port )); in main()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/TftpServer/ |
D | TftpServer.c | 179 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/ |
D | TcpStream.cpp | 37 addr.sin_port = htons(port); in _socket_loopback_server()
|
/device/generic/goldfish/libqemu/ |
D | test_host_2.c | 67 addr.sin_port = htons(port); in socket_loopback_server()
|
D | test_util.c | 60 addr.sin_port = htons(port); in pipe_openSocket()
|
D | test_host_1.c | 69 addr.sin_port = htons(port); in socket_loopback_server()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/OobRx/ |
D | OobRx.c | 71 SIN_PORT ( LocalPort ) = htons ( PortNumber ); in OobRx()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/ |
D | ctypeio.c | 169 new_ctype[i] = htons(new_ctype[i]); in __savectype()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/WebServer/ |
D | WebServer.c | 601 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/ |
D | OobTx.c | 113 SIN_PORT ( RemotePort ) = htons ( PortNumber ); in OobTx()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | getaddrinfo.c | 342 port = htons((u_short)atoi(servname)); in getaddrinfo()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_socket.py | 369 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/ |
D | mm_qcamera_socket.c | 554 server_addr.addr_in.sin_port = (__be16) htons(port); in tunning_server_socket_listen()
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_socket.c | 554 server_addr.addr_in.sin_port = (__be16) htons(port); in tunning_server_socket_listen()
|