Home
last modified time | relevance | path

Searched refs:ntohs (Results 26 - 50 of 207) sorted by relevance

123456789

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/rpcid_decode/
H A Dsyscap_tool.c73 sysCaptype = ntohs(*(uint16_t *)(sysCapArrayPtr - APP_SYSCAP_TYPE * sizeof(uint16_t))); in RPCIDStreamDecodeToBuffer()
79 sysCapLength = ntohs(*(uint16_t *)(sysCapArrayPtr - sizeof(uint16_t))); in RPCIDStreamDecodeToBuffer()
/third_party/lwip/src/core/distributed_net/
H A Dudp_transmit.c73 data.dest_port = ntohs(dest_addr->sin_port); in udp_transmit_sendto()
112 data.dest_port = ntohs(temp_addr_in.sin_port); in udp_transmit_sendmsg()
/third_party/pulseaudio/src/pulsecore/
H A Dohos_socket-server.c585 pa_snprintf(c, l, "tcp6:%s:%u", fqdn, (unsigned) ntohs(sa.sin6_port)); in pa_socket_server_get_address()
593 pa_snprintf(c, l, "{%s}tcp6:localhost:%u", id, (unsigned) ntohs(sa.sin6_port)); in pa_socket_server_get_address()
603 pa_snprintf(c, l, "tcp6:[%s]:%u", ip, (unsigned) ntohs(sa.sin6_port)); in pa_socket_server_get_address()
624 pa_snprintf(c, l, "tcp:%s:%u", fqdn, (unsigned) ntohs(sa.sin_port)); in pa_socket_server_get_address()
631 pa_snprintf(c, l, "{%s}tcp:localhost:%u", id, (unsigned) ntohs(sa.sin_port)); in pa_socket_server_get_address()
641 pa_snprintf(c, l, "tcp:[%s]:%u", ip, (unsigned) ntohs(sa.sin_port)); in pa_socket_server_get_address()
H A Dsocket-server.c565 pa_snprintf(c, l, "tcp6:%s:%u", fqdn, (unsigned) ntohs(sa.sin6_port)); in pa_socket_server_get_address()
573 pa_snprintf(c, l, "{%s}tcp6:localhost:%u", id, (unsigned) ntohs(sa.sin6_port)); in pa_socket_server_get_address()
583 pa_snprintf(c, l, "tcp6:[%s]:%u", ip, (unsigned) ntohs(sa.sin6_port)); in pa_socket_server_get_address()
604 pa_snprintf(c, l, "tcp:%s:%u", fqdn, (unsigned) ntohs(sa.sin_port)); in pa_socket_server_get_address()
611 pa_snprintf(c, l, "{%s}tcp:localhost:%u", id, (unsigned) ntohs(sa.sin_port)); in pa_socket_server_get_address()
621 pa_snprintf(c, l, "tcp:[%s]:%u", ip, (unsigned) ntohs(sa.sin_port)); in pa_socket_server_get_address()
H A Dsocket-util.c101 ntohs(sa.in.sin_port)); in pa_socket_peer_to_string()
110 pa_snprintf(c, l, "TCP/IP client from [%s]:%u", buf, ntohs(sa.in6.sin6_port)); in pa_socket_peer_to_string()
/third_party/musl/porting/liteos_a/kernel/src/network/
H A Dntohs.c4 uint16_t ntohs(uint16_t n) in ntohs() function
/third_party/musl/porting/liteos_m/kernel/src/network/
H A Dntohs.c4 uint16_t ntohs(uint16_t n) in ntohs() function
/third_party/musl/porting/liteos_m_iccarm/kernel/src/network/
H A Dntohs.c4 uint16_t ntohs(uint16_t n) in ntohs() function
/third_party/musl/porting/uniproton/kernel/src/network/
H A Dntohs.c4 uint16_t ntohs(uint16_t n) in ntohs() function
/third_party/musl/src/network/
H A Dntohs.c4 uint16_t ntohs(uint16_t n) in ntohs() function
H A Dgetservbyport_r.c56 if (strtol(buf, 0, 10)==ntohs(port)) return ENOENT; in getservbyport_r()
/third_party/curl/tests/server/
H A Dtftpd.c727 port = ntohs(localaddr.sa4.sin_port); in main()
731 port = ntohs(localaddr.sa6.sin6_port); in main()
823 tp->th_opcode = ntohs(tp->th_opcode); in main()
1218 sap->th_opcode = ntohs((unsigned short)sap->th_opcode); in sendtftp()
1219 sap->th_block = ntohs(sap->th_block); in sendtftp()
1290 rdp->th_opcode = ntohs((unsigned short)rdp->th_opcode); in recvtftp()
1291 rdp->th_block = ntohs(rdp->th_block); in recvtftp()
/third_party/ltp/utils/sctp/func_tests/
H A Dtest_basic.c364 ntohs(in_addr->sin_port)); in main()
371 ntohs(in6_addr->sin6_port)); in main()
394 ntohs(in_addr->sin_port)); in main()
401 ntohs(in6_addr->sin6_port)); in main()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/arpa/
H A Dinet.h19 uint16_t ntohs(uint16_t);
/third_party/musl/porting/liteos_m/kernel/include/arpa/
H A Dinet.h14 uint16_t ntohs(uint16_t);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/arpa/
H A Dinet.h14 uint16_t ntohs(uint16_t);
/third_party/musl/porting/uniproton/kernel/include/arpa/
H A Dinet.h14 uint16_t ntohs(uint16_t);
/third_party/musl/porting/liteos_a/kernel/include/arpa/
H A Dinet.h14 uint16_t ntohs(uint16_t);
/third_party/musl/porting/liteos_a_newlib/kernel/include/arpa/
H A Dinet.h14 uint16_t ntohs(uint16_t);
/third_party/ltp/testcases/lib/
H A Dtst_get_unused_port.c57 printf("%d", ntohs(TST_GET_UNUSED_PORT(family, type))); in main()
/third_party/musl/include/arpa/
H A Dinet.h14 uint16_t ntohs(uint16_t);
/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
H A Dbpf_netfirewall.cpp615 (ev->dir == INGRESS) ? "> ingress" : "< egress", ntohs(ev->sport), ntohs(ev->dport), ev->protocol, ev->appuid, in HandleTupleEvent()
625 (ev->dir == INGRESS) ? "ingress" : "egress", ntohs(ev->sport), ntohs(ev->dport), ev->protocol, ev->appuid); in HandleInterceptEvent()
633 NETNATIVE_LOG_D("%{public}s sport: %{public}u bitmap: %{public}x", direction, ntohs(ev->arg1), ev->arg2); in HandleDebugEvent()
636 NETNATIVE_LOG_D("%{public}s dport: %{public}u bitmap: %{public}x", direction, ntohs(ev->arg1), ev->arg2); in HandleDebugEvent()
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/src/tcp/
H A Dtcp_socket.cpp81 return ntohs(sockaddr.sin_port); in GetBindPort()
96 return ntohs(sockaddr.sin_port); in GetPeerPort()
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/src/tcp/
H A Dtcp_socket.cpp81 return ntohs(sockaddr.sin_port); in GetBindPort()
96 return ntohs(sockaddr.sin_port); in GetPeerPort()
/third_party/skia/third_party/externals/microhttpd/src/examples/
H A Dspdy_event_loop.c79 printf("New connection from: %s:%i\n", ipstr, ntohs(addr4->sin_port)); in new_session_callback()
90 printf("New connection from: %s:%i\n", ipstr, ntohs(addr6->sin6_port)); in new_session_callback()

Completed in 13 milliseconds

123456789