Home
last modified time | relevance | path

Searched refs:remotePort (Results 1 - 25 of 27) sorted by relevance

12

/foundation/CastEngine/castengine_cast_plus_stream/src/channel/src/tcp/
H A Dtcp_connection.cpp51 if (channelRequest_.remoteDeviceInfo.ipAddress.empty() || channelRequest_.remotePort == INVALID_PORT) { in Connect()
62 bool ret = socket_.Connect(channelRequest_.remoteDeviceInfo.ipAddress, channelRequest_.remotePort); in Connect()
126 int remotePort = socket_.GetPeerPort(sockfd); in Accept() local
127 if (remotePort == INVALID_PORT) { in Accept()
130 listener->OnConnectionConnectFailed(channelRequest_, remotePort); in Accept()
133 if (channelRequest_.moduleType == ModuleType::VIDEO && remotePort != channelRequest_.remotePort && in Accept()
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/src/tcp/
H A Dtcp_connection.cpp51 if (channelRequest_.remoteDeviceInfo.ipAddress.empty() || channelRequest_.remotePort == INVALID_PORT) { in Connect()
62 bool ret = socket_.Connect(channelRequest_.remoteDeviceInfo.ipAddress, channelRequest_.remotePort); in Connect()
126 int remotePort = socket_.GetPeerPort(sockfd); in Accept() local
127 if (remotePort == INVALID_PORT) { in Accept()
130 listener->OnConnectionConnectFailed(channelRequest_, remotePort); in Accept()
133 if (channelRequest_.moduleType == ModuleType::VIDEO && remotePort != channelRequest_.remotePort && in Accept()
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_netfirewall_test/
H A Dnetsys_netfirewall_test.cpp60 NetFirewallPortParam remotePort; in GeIpFirewallRule() local
62 remotePort.startPort = defaultPort; in GeIpFirewallRule()
63 remotePort.endPort = defaultPort; in GeIpFirewallRule()
64 ports.emplace_back(remotePort); in GeIpFirewallRule()
110 printf("\tdestPort=%u\n", info->remotePort); in OnIntercept()
/foundation/CastEngine/castengine_wifi_display/services/network/server/
H A Dtcp_server.cpp134 uint16_t remotePort = 0; in OnServerReadable() local
135 SocketUtils::GetIpPortInfo(clientFd, strLocalAddr, strRemoteAddr, localPort, remotePort); in OnServerReadable()
138 std::make_shared<SocketInfo>(strLocalAddr, strRemoteAddr, fd, clientFd, localPort, remotePort); in OnServerReadable()
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/
H A Dwfd_session_def.h60 uint16_t remotePort = 0; member
74 uint16_t remotePort = 0; member
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/include/
H A Dchannel_request.h56 int remotePort{ INVALID_PORT };
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/include/
H A Dchannel_request.h56 int remotePort{ INVALID_PORT };
/foundation/communication/netmanager_ext/test/netfirewallmanager/unittest/netfirewallmanager_test/
H A Dnetfirewall_service_proxy_test.cpp117 const uint16_t remotePort = 20000; in GetInterceptRecordSptr() local
123 record->remotePort = remotePort; in GetInterceptRecordSptr()
H A Dnetfirewall_service_test.cpp678 record->remotePort = destPort; in HWTEST_F()
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/channel/
H A Dauth_negotiate_channel.h48 int remotePort; member
H A Dauth_negotiate_channel.cpp365 CONN_LOGI(CONN_WIFI_DIRECT, "remoteUuid=%{public}s, remoteIp=%{public}s, remotePort=%{public}d, isMeta=%{public}d", in OpenConnection()
367 param.remotePort, isMeta); in OpenConnection()
371 authConnInfo.info.ipInfo.port = param.remotePort; in OpenConnection()
/foundation/CastEngine/castengine_wifi_display/services/network/socket/
H A Dsocket_utils.cpp516 uint16_t &remotePort) in GetIpPortInfo()
537 remotePort = ntohs(remoteAddr.sin_port); in GetIpPortInfo()
538 SHARING_LOGD("localAddr: %{public}s localPort: %{public}d remoteAddr: %{public}s remotePort: %{public}d", in GetIpPortInfo()
539 GetAnonyString(strLocalAddr).c_str(), localPort, GetAnonyString(strRemoteAddr).c_str(), remotePort); in GetIpPortInfo()
515 GetIpPortInfo(int32_t fd, std::string &strLocalAddr, std::string &strRemoteAddr, uint16_t &localPort, uint16_t &remotePort) GetIpPortInfo() argument
H A Dsocket_utils.h64 uint16_t &remotePort);
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/
H A Dwifi_direct_types.h92 int32_t remotePort; member
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/command/
H A Dconnect_command.cpp87 "requestId=%{public}u, linkId=%{public}d, localIp=%{public}s, remoteIp=%{public}s, remotePort=%{public}d, " in OnSuccess()
90 WifiDirectAnonymizeIp(link.remoteIp).c_str(), link.remotePort, link.linkType, link.isReuse, link.bandWidth, in OnSuccess()
/foundation/communication/netmanager_ext/services/netfirewallmanager/src/
H A Dnetfirewall_db_helper.cpp507 int32_t remotePort = 0; in GetResultRightRecordEx() local
521 if (resultSet->GetInt(table.remotePortIndex, remotePort) == E_OK) { in GetResultRightRecordEx()
522 info.remotePort = static_cast<uint16_t>(remotePort); in GetResultRightRecordEx()
844 values.PutInt(NET_FIREWALL_RECORD_REMOTE_PORT, static_cast<int32_t>(records[i]->remotePort)); in AddInterceptRecord()
/foundation/communication/netmanager_base/frameworks/native/netmanagernative/
H A Dnetfirewall_parcel.cpp476 parcel.WriteUint16(remotePort); in Marshalling()
504 parcel.ReadUint16(ptr->remotePort); in Unmarshalling()
/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
H A Dbpf_netfirewall.cpp559 record->localPort == oldRecord_->localPort && record->remotePort == oldRecord_->remotePort && in ShouldSkipNotify()
576 record->remotePort = BitmapManager::Nstohl(info->dport); in NotifyInterceptEvent()
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/
H A Dnetfirewall_parcel.h79 const std::string NET_FIREWALL_RECORD_REMOTE_PORT = "remotePort";
239 uint16_t remotePort; // Destination Port member
/foundation/communication/netmanager_ext/frameworks/js/napi/netfirewall/src/
H A Dnet_firewall_exec.cpp286 NapiUtils::SetInt32Property(context->GetEnv(), rule, NET_FIREWALL_RECORD_REMOTE_PORT, iface.remotePort); in GetInterceptRecordCallbacks()
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/wfd_sink/
H A Dwfd_sink_session.cpp106 remoteRtspPort_ = inputMsg->remotePort != 0 ? inputMsg->remotePort : DEFAULT_WFD_CTRLPORT; in HandleSessionInit()
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/
H A Dinner_link.cpp351 link.remotePort = GetRemoteCustomPort(); in GenerateLink()
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/wfd_source/
H A Dwfd_source_session.cpp303 wfdDefaultPort_ = inputMsg->remotePort != 0 ? inputMsg->remotePort : DEFAULT_WFD_CTRLPORT; in HandleSessionInit()
/foundation/CastEngine/castengine_wifi_display/services/impl/scene/wfd/
H A Dwfd_source_scene.cpp641 startSessionMsg->remotePort = connDev_->ctrlPort; in AppendCast()
H A Dwfd_sink_scene.cpp723 startSessionMsg->remotePort = itemDev->second->ctrlPort; in HandlePlay()

Completed in 20 milliseconds

12