/foundation/CastEngine/castengine_cast_plus_stream/src/channel/src/tcp/ |
H A D | tcp_connection.cpp | 51 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 D | tcp_connection.cpp | 51 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 D | netsys_netfirewall_test.cpp | 60 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 D | tcp_server.cpp | 134 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 D | wfd_session_def.h | 60 uint16_t remotePort = 0; member 74 uint16_t remotePort = 0; member
|
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/include/ |
H A D | channel_request.h | 56 int remotePort{ INVALID_PORT };
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/include/ |
H A D | channel_request.h | 56 int remotePort{ INVALID_PORT };
|
/foundation/communication/netmanager_ext/test/netfirewallmanager/unittest/netfirewallmanager_test/ |
H A D | netfirewall_service_proxy_test.cpp | 117 const uint16_t remotePort = 20000;
in GetInterceptRecordSptr() local 123 record->remotePort = remotePort;
in GetInterceptRecordSptr()
|
H A D | netfirewall_service_test.cpp | 678 record->remotePort = destPort;
in HWTEST_F()
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/channel/ |
H A D | auth_negotiate_channel.h | 48 int remotePort; member
|
H A D | auth_negotiate_channel.cpp | 365 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 D | socket_utils.cpp | 516 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 D | socket_utils.h | 64 uint16_t &remotePort);
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_types.h | 92 int32_t remotePort; member
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/command/ |
H A D | connect_command.cpp | 87 "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 D | netfirewall_db_helper.cpp | 507 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 D | netfirewall_parcel.cpp | 476 parcel.WriteUint16(remotePort);
in Marshalling() 504 parcel.ReadUint16(ptr->remotePort);
in Unmarshalling()
|
/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/ |
H A D | bpf_netfirewall.cpp | 559 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 D | netfirewall_parcel.h | 79 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 D | net_firewall_exec.cpp | 286 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 D | wfd_sink_session.cpp | 106 remoteRtspPort_ = inputMsg->remotePort != 0 ? inputMsg->remotePort : DEFAULT_WFD_CTRLPORT; in HandleSessionInit()
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/ |
H A D | inner_link.cpp | 351 link.remotePort = GetRemoteCustomPort(); in GenerateLink()
|
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/wfd_source/ |
H A D | wfd_source_session.cpp | 303 wfdDefaultPort_ = inputMsg->remotePort != 0 ? inputMsg->remotePort : DEFAULT_WFD_CTRLPORT; in HandleSessionInit()
|
/foundation/CastEngine/castengine_wifi_display/services/impl/scene/wfd/ |
H A D | wfd_source_scene.cpp | 641 startSessionMsg->remotePort = connDev_->ctrlPort; in AppendCast()
|
H A D | wfd_sink_scene.cpp | 723 startSessionMsg->remotePort = itemDev->second->ctrlPort; in HandlePlay()
|