Home
last modified time | relevance | path

Searched refs:localInterface (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/core/
H A Dnstackx_socket.c88 const char *localInterface) in ConnectTcpServerWithTargetDev() argument
103 if (localInterface == NULL) { in ConnectTcpServerWithTargetDev()
106 LOGI(TAG, "bind to target interface %s", localInterface); in ConnectTcpServerWithTargetDev()
107 if (BindToTargetDev(clientSocket->sockfd, localInterface) != NSTACKX_EOK) { in ConnectTcpServerWithTargetDev()
108 LOGE(TAG, "can't bind to target interface %s", localInterface); in ConnectTcpServerWithTargetDev()
110 LOGI(TAG, "bind to target interface %s successfully", localInterface); in ConnectTcpServerWithTargetDev()
132 const char *localInterface) in ConnectUdpServerWithTargetDev() argument
147 if (localInterface == NULL) { in ConnectUdpServerWithTargetDev()
151 LOGE(TAG, "can't bind to target interface %s", localInterface); in ConnectUdpServerWithTargetDev()
153 LOGI(TAG, "bind to target interface %s successfully", localInterface); in ConnectUdpServerWithTargetDev()
[all …]
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/
H A Dsys_dev.c363 struct ifreq localInterface; in BindToDevInTheSameLan() local
367 (void)memset_s(&localInterface, sizeof(localInterface), 0, sizeof(localInterface)); in BindToDevInTheSameLan()
368 if (GetTargetInterface(sockAddr, &localInterface) != NSTACKX_EOK) { in BindToDevInTheSameLan()
372 …(setsockopt(sockfd, SOL_SOCKET, SO_BINDTODEVICE, (char *)&localInterface, sizeof(localInterface)) … in BindToDevInTheSameLan()
376 LOGI(TAG, "bind to %s successfully", localInterface.ifr_name); in BindToDevInTheSameLan()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/
H A Dsys_dev.c370 struct ifreq localInterface; in BindToDevInTheSameLan() local
374 (void)memset_s(&localInterface, sizeof(localInterface), 0, sizeof(localInterface)); in BindToDevInTheSameLan()
375 if (GetTargetInterface(sockAddr, &localInterface) != NSTACKX_EOK) { in BindToDevInTheSameLan()
379 …(setsockopt(sockfd, SOL_SOCKET, SO_BINDTODEVICE, (char *)&localInterface, sizeof(localInterface)) … in BindToDevInTheSameLan()
383 LOGI(TAG, "bind to %s successfully", localInterface.ifr_name); in BindToDevInTheSameLan()
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/source/
H A Dnapi_remote_object_holder.cpp186 void NAPIRemoteObjectHolder::attachLocalInterface(napi_value localInterface, std::string &descripto… in attachLocalInterface() argument
195 napi_create_reference(env_, localInterface, 0, &localInterfaceRef_); in attachLocalInterface()
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/samples/continuationManagerTestSuite/eTSContinuationManager/entry/src/main/ets/ServiceExtAbility/
H A DServiceExtAbility.ts51 attachLocalInterface(localInterface, descriptor){}
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/include/
H A Dnapi_remote_object_holder.h33 void attachLocalInterface(napi_value localInterface, std::string &descriptor);
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/samples/StageManualTestSuite/entry/src/main/ets/MyServiceExtensionAbility/
H A DMyServiceExtensionAbility.ts59 attachLocalInterface(localInterface, descriptor) {}
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/
H A Dnstackx_socket.h53 const char *localInterface);
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/
H A Dlink_info.h68 LinkInfo(const std::string &localInterface, const std::string &remoteInterface,
H A Dlink_info.cpp50 LinkInfo::LinkInfo(const std::string &localInterface, const std::string &remoteInterface, LinkMode … in LinkInfo() argument
53 SetLocalInterface(localInterface); in LinkInfo()
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/
H A Dchangelogs-dsoftbus.md109 …ct | attachLocalInterface(localInterface: IRemoteBroker, descriptor: string): void | NA | modifyL…
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_3.2.8.1/
H A Dchangelogs-dsoftbus.md109 …ct | attachLocalInterface(localInterface: IRemoteBroker, descriptor: string): void | NA | modifyL…
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_dfile.c1204 … uint16_t *connType, const char *localInterface, uint8_t socketIndex) in DFileSenderInitWithTargetDev() argument
1210 Socket *socket = ClientSocketWithTargetDev(protocol, sockAddr, localInterface); in DFileSenderInitWithTargetDev()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ipc-kit/
H A Djs-apis-rpc.md9575 modifyLocalInterface(localInterface: IRemoteBroker, descriptor: string): void
9585 | localInterface | [IRemoteBroker](#iremotebroker) | 是 | 将与描述符绑定的IRemoteBroker对象。 |
9636 attachLocalInterface(localInterface: IRemoteBroker, descriptor: string): void
9650 | localInterface | [IRemoteBroker](#iremotebroker) | 是 | 将与描述符绑定的IRemoteBroker对象。 |
/ohos5.0/docs/en/application-dev/reference/apis-ipc-kit/
H A Djs-apis-rpc.md9501 modifyLocalInterface(localInterface: IRemoteBroker, descriptor: string): void
9511 | localInterface | [IRemoteBroker](#iremotebroker) | Yes | **IRemoteBroker** object. |
9564 attachLocalInterface(localInterface: IRemoteBroker, descriptor: string): void
9574 | localInterface | [IRemoteBroker](#iremotebroker) | Yes | **IRemoteBroker** object. |
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-communication.md633 |新增|NA|类名:RemoteObject;<br>方法or属性:modifyLocalInterface(localInterface: IRemoteBroker, descriptor: s…
1433 …lInterface(localInterface: IRemoteBroker, descriptor: string): void;<br>旧版本信息:|类名:RemoteObject;<br…
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-communication.md633 …ame: RemoteObject;<br>Method or attribute name: modifyLocalInterface(localInterface: IRemoteBroker…
1433localInterface: IRemoteBroker, descriptor: string): void;<br>Old version: |Class name: RemoteObjec…