Searched refs:ntohs (Results 1 – 17 of 17) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/DataSink/ |
D | DataSink.c | 343 ntohs ( pPortIpAddress4->sin_port ), in SocketPoll() 365 ntohs ( pPortIpAddress6->sin6_port ), in SocketPoll() 383 ntohs ( pPortIpAddress4->sin_port ))); in SocketPoll() 405 ntohs ( pPortIpAddress6->sin6_port ))); in SocketPoll() 417 ntohs ( pPortIpAddress4->sin_port ), in SocketPoll() 440 ntohs ( pPortIpAddress6->sin6_port ), in SocketPoll() 487 ntohs ( pRemoteAddress4->sin_port )); in SocketPoll() 507 ntohs ( pRemoteAddress6->sin6_port )); in SocketPoll() 525 ntohs ( pRemoteAddress4->sin_port ))); in SocketPoll() 547 ntohs ( pRemoteAddress6->sin6_port ))); in SocketPoll() [all …]
|
/device/linaro/bootloader/edk2/StdLib/LibC/Main/ |
D | HtoNtoH.c | 22 #undef ntohs 81 ntohs( in ntohs() function
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
D | endian.h | 79 uint16_t ntohs(uint16_t) __attribute__((__const__)); 122 #define ntohs(x) (x) macro 134 #define ntohs(x) bswap16((uint16_t)(x)) 139 #define NTOHS(x) (x) = ntohs((uint16_t)(x))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/DataSource/ |
D | DataSource.c | 389 ntohs ( pRemoteAddress4->sin_port )); in SocketConnect() 409 ntohs ( pRemoteAddress6->sin6_port )); in SocketConnect() 444 ntohs ( pRemoteAddress4->sin_port )); in SocketConnect() 464 ntohs ( pRemoteAddress6->sin6_port )); in SocketConnect() 728 ntohs ( ((struct sockaddr_in *)&RemoteHostAddress)->sin_port )); in Tcp4Close() 930 ntohs ( ((struct sockaddr_in *)&RemoteHostAddress)->sin_port )); in Tcp4Locate() 1237 …Tcp4ConfigData.AccessPoint.RemotePort = ntohs (((struct sockaddr_in *)&RemoteHostAddress)->sin_por… in Tcp4Open() 1296 ntohs ( ((struct sockaddr_in *)&RemoteHostAddress)->sin_port )); in Tcp4Open()
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
D | getnetbydns.c | 148 ancount = ntohs(hp->ancount); /* #/records in the answer section */ in getnetanswer() 149 qdcount = ntohs(hp->qdcount); /* #/entries in the question section */ in getnetanswer()
|
D | res_query.c | 162 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_query() 166 ntohs(hp->ancount)); in res_query()
|
D | res_send.c | 158 ntohs(address.sin_port), in Aerror() 255 int qdcount = ntohs(((HEADER*)buf)->qdcount); in res_nameinquery() 297 int qdcount = ntohs(((HEADER*)buf1)->qdcount); in res_queriesmatch() 310 if (qdcount != ntohs(((HEADER*)buf2)->qdcount)) in res_queriesmatch()
|
D | res_update.c | 213 ancount = ntohs(hp->ancount); in res_update() 214 nscount = ntohs(hp->nscount); in res_update() 215 arcount = ntohs(hp->arcount); in res_update()
|
D | getservent.c | 76 snprintf(buf, sizeof(buf), "%d/%s", ntohs(___getservbyport_yp),
|
D | getaddrinfo.c | 1109 ancount = ntohs(hp->ancount); in getanswer() 1110 qdcount = ntohs(hp->qdcount); in getanswer() 1741 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_queryN() 1746 ntohs(hp->ancount)); in res_queryN() 1751 ancount += ntohs(hp->ancount); in res_queryN()
|
D | gethostbydns.c | 231 ancount = ntohs(hp->ancount); in gethostanswer() 232 qdcount = ntohs(hp->qdcount); in gethostanswer()
|
D | getnameinfo.c | 242 snprintf(numserv, sizeof(numserv), "%u", ntohs(port)); in getnameinfo_inet()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/ |
D | ctypeio.c | 113 new_ctype[i] = ntohs(new_ctype[i]); in __loadctype()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | getnameinfo.c | 147 sprintf(numserv, "%d", ntohs(port));
|
D | socketmodule.c | 994 ret = Py_BuildValue("Oi", addrobj, ntohs(a->sin_port)); in makesockaddr() 1037 ntohs(a->sin6_port), in makesockaddr() 1119 ntohs(a->sll_protocol), in makesockaddr() 3530 return PyInt_FromLong((long) ntohs(sp->s_port)); 3713 x2 = (unsigned int)ntohs((unsigned short)x1);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_socket.py | 369 socket.htons: 16, socket.ntohs: 16} 384 socket.ntohs(k) 389 self.assertRaises(OverflowError, socket.ntohs, k)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | socketmodule.c | 1052 ret = Py_BuildValue("Oi", addrobj, ntohs(a->sin_port)); in makesockaddr() 1095 ntohs(a->sin6_port), in makesockaddr() 1177 ntohs(a->sll_protocol), in makesockaddr() 3612 return PyInt_FromLong((long) ntohs(sp->s_port)); 3795 x2 = (unsigned int)ntohs((unsigned short)x1);
|