Home
last modified time | relevance | path

Searched defs:ifname (Results 1 – 25 of 116) sorted by relevance

12345

/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_client/
H A Ddhcp_client_service_impl_test.cpp56 const std::string& ifname = "wlan0"; variable
86 std::string ifname = "wlan0"; variable
102 std::string ifname = ""; variable
157 std::string ifname; variable
176 std::string ifname; variable
195 std::string ifname; variable
223 std::string ifname; variable
237 std::string ifname; variable
247 std::string ifname = "wlan0"; variable
254 std::string ifname = "wlan0"; variable
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/
H A Dmock_dhcp_service.cpp36 DhcpErrorCode __wrap_RegisterDhcpClientCallBack(const char *ifname, const ClientCallBack *event) in __wrap_RegisterDhcpClientCallBack()
43 DhcpErrorCode __wrap_StartDhcpClient(const char *ifname, bool bIpv6) in __wrap_StartDhcpClient()
50 DhcpErrorCode __wrap_StopDhcpClient(const char *ifname, bool bIpv6) in __wrap_StopDhcpClient()
57 DhcpErrorCode __wrap_RegisterDhcpServerCallBack(const char *ifname, const ServerCallBack *event) in __wrap_RegisterDhcpServerCallBack()
64 DhcpErrorCode __wrap_StartDhcpServer(const char *ifname) in __wrap_StartDhcpServer()
71 DhcpErrorCode __wrap_StopDhcpServer(const char *ifname) in __wrap_StopDhcpServer()
78 DhcpErrorCode __wrap_SetDhcpRange(const char *ifname, const DhcpRange *range) in __wrap_SetDhcpRange()
85 DhcpErrorCode __wrap_SetDhcpName(const char *ifname, const char *tagName) in __wrap_SetDhcpName()
113 DhcpErrorCode __wrap_GetDhcpClientInfos(const char *ifname, int staNumber, DhcpStationInfo *staInfo… in __wrap_GetDhcpClientInfos()
/ohos5.0/foundation/communication/dhcp/frameworks/native/c_adapter/src/
H A Ddhcp_c_service.cpp37 NO_SANITIZE("cfi") DhcpErrorCode RegisterDhcpClientCallBack(const char *ifname, const ClientCallBa… in RegisterDhcpClientCallBack()
59 DhcpErrorCode RegisterDhcpClientReportCallBack(const char *ifname, const DhcpClientReport *event) in RegisterDhcpClientReportCallBack()
77 NO_SANITIZE("cfi") DhcpErrorCode StartDhcpClient(const char *ifname, bool bIpv6) in StartDhcpClient()
84 DhcpErrorCode SetConfiguration(const char *ifname, const RouterConfig config) in SetConfiguration()
94 NO_SANITIZE("cfi") DhcpErrorCode StopDhcpClient(const char *ifname, bool bIpv6) in StopDhcpClient()
103 NO_SANITIZE("cfi") DhcpErrorCode RegisterDhcpServerCallBack(const char *ifname, const ServerCallBac… in RegisterDhcpServerCallBack()
125 NO_SANITIZE("cfi") DhcpErrorCode StartDhcpServer(const char *ifname) in StartDhcpServer()
135 NO_SANITIZE("cfi") DhcpErrorCode StopDhcpServer(const char *ifname) in StopDhcpServer()
156 NO_SANITIZE("cfi") DhcpErrorCode SetDhcpRange(const char *ifname, const DhcpRange *range) in SetDhcpRange()
173 NO_SANITIZE("cfi") DhcpErrorCode SetDhcpName(const char *ifname, const char *tagName) in SetDhcpName()
[all …]
/ohos5.0/foundation/communication/dhcp/frameworks/native/src/
H A Ddhcp_event.cpp82 void DhcpClientCallBack::OnIpSuccessChanged(int status, const std::string& ifname, OHOS::DHCP::Dhcp… in OnIpSuccessChanged()
107 void DhcpClientCallBack::OnIpFailChanged(int status, const std::string& ifname, const std::string& … in OnIpFailChanged()
122 void DhcpClientCallBack::OnDhcpOfferReport(int status, const std::string& ifname, OHOS::DHCP::DhcpR… in OnDhcpOfferReport()
148 void DhcpClientCallBack::RegisterCallBack(const std::string& ifname, const ClientCallBack *event) in RegisterCallBack()
165 void DhcpClientCallBack::UnRegisterCallBack(const std::string& ifname) in UnRegisterCallBack()
181 void DhcpClientCallBack::RegisterDhcpClientReportCallBack(const std::string& ifname, const DhcpClie… in RegisterDhcpClientReportCallBack()
213 void DhcpServerCallBack::OnServerLeasesChanged(const std::string& ifname, std::vector<std::string>&… in OnServerLeasesChanged()
218 void DhcpServerCallBack::OnServerSerExitChanged(const std::string& ifname) in OnServerSerExitChanged()
223 void DhcpServerCallBack::OnServerSuccess(const std::string& ifname, std::vector<DhcpStationInfo>& s… in OnServerSuccess()
272 void DhcpServerCallBack::RegisterCallBack(const std::string& ifname, const ServerCallBack *event) in RegisterCallBack()
[all …]
H A Ddhcp_server_impl.cpp113 ErrCode DhcpServerImpl::RegisterDhcpServerCallBack(const std::string& ifname, in RegisterDhcpServerCallBack()
125 ErrCode DhcpServerImpl::StartDhcpServer(const std::string& ifname) in StartDhcpServer()
133 ErrCode DhcpServerImpl::StopDhcpServer(const std::string& ifname) in StopDhcpServer()
161 ErrCode DhcpServerImpl::SetDhcpRange(const std::string& ifname, const DhcpRange& range) in SetDhcpRange()
168 ErrCode DhcpServerImpl::SetDhcpName(const std::string& ifname, const std::string& tagName) in SetDhcpName()
175 ErrCode DhcpServerImpl::GetDhcpClientInfos(const std::string& ifname, std::vector<std::string>& dhc… in GetDhcpClientInfos()
H A Ddhcp_client_impl.cpp116 ErrCode DhcpClientImpl::RegisterDhcpClientCallBack(const std::string& ifname, in RegisterDhcpClientCallBack()
128 ErrCode DhcpClientImpl::StartDhcpClient(const std::string& ifname, bool bIpv6) in StartDhcpClient()
135 ErrCode DhcpClientImpl::SetConfiguration(const std::string& ifname, const RouterConfig& config) in SetConfiguration()
142 ErrCode DhcpClientImpl::StopDhcpClient(const std::string& ifname, bool bIpv6) in StopDhcpClient()
H A Ddhcp_client_callback_stub.cpp88 void DhcpClientCallBackStub::OnIpSuccessChanged(int status, const std::string& ifname, DhcpResult& … in OnIpSuccessChanged()
96 void DhcpClientCallBackStub::OnIpFailChanged(int status, const std::string& ifname, const std::stri… in OnIpFailChanged()
104 void DhcpClientCallBackStub::OnDhcpOfferReport(int status, const std::string& ifname, DhcpResult& r… in OnDhcpOfferReport()
116 std::string ifname = data.ReadString(); in RemoteOnIpSuccessChanged() local
151 std::string ifname = data.ReadString(); in RemoteOnIpFailChanged() local
162 std::string ifname = data.ReadString(); in RemoteOnDhcpOfferReport() local
H A Ddhcp_client_callback_stub_lite.cpp106 void DhcpClientCallBackStub::OnIpSuccessChanged(int status, const std::string& ifname, DhcpResult& … in OnIpSuccessChanged()
114 void DhcpClientCallBackStub::OnIpFailChanged(int status, const std::string& ifname, const std::stri… in OnIpFailChanged()
129 std::string ifname = (char *)ReadString(data, &readLen); in RemoteOnIpSuccessChanged() local
159 std::string ifname = (char *)ReadString(data, &readLen); in RemoteOnIpFailChanged() local
H A Ddhcp_client_proxy.cpp96 ErrCode DhcpClientProxy::RegisterDhcpClientCallBack(const std::string& ifname, in RegisterDhcpClientCallBack()
140 ErrCode DhcpClientProxy::StartDhcpClient(const std::string& ifname, bool bIpv6) in StartDhcpClient()
175 ErrCode DhcpClientProxy::SetConfiguration(const std::string& ifname, const RouterConfig& config) in SetConfiguration()
211 ErrCode DhcpClientProxy::StopDhcpClient(const std::string& ifname, bool bIpv6) in StopDhcpClient()
H A Ddhcp_client_proxy_lite.cpp86 ErrCode DhcpClientProxy::RegisterDhcpClientCallBack(const std::string& ifname, in RegisterDhcpClientCallBack()
137 ErrCode DhcpClientProxy::StartDhcpClient(const std::string& ifname, bool bIpv6) in StartDhcpClient()
175 ErrCode DhcpClientProxy::SetConfiguration(const std::string& ifname, const RouterConfig& config) in SetConfiguration()
214 ErrCode DhcpClientProxy::StopDhcpClient(const std::string& ifname, bool bIpv6) in StopDhcpClient()
H A Ddhcp_server_callback_stub_lite.cpp109 void DhcpServreCallBackStub::OnServerLeasesChanged(const std::string& ifname, std::vector<std::stri… in OnServerLeasesChanged()
117 void DhcpServreCallBackStub::OnServerSuccess(const std::string& ifname, std::vector<DhcpStationInfo… in OnServerSuccess()
125 void DhcpServreCallBackStub::OnServerSerExitChanged(const std::string& ifname) in OnServerSerExitChanged()
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_client_service_impl.cpp208 ErrCode DhcpClientServiceImpl::RegisterDhcpClientCallBack(const std::string& ifname, in RegisterDhcpClientCallBack()
236 ErrCode DhcpClientServiceImpl::StartDhcpClient(const std::string& ifname, bool bIpv6) in StartDhcpClient()
298 ErrCode DhcpClientServiceImpl::StartNewClient(const std::string& ifname, bool bIpv6) in StartNewClient()
338 ErrCode DhcpClientServiceImpl::StopDhcpClient(const std::string& ifname, bool bIpv6) in StopDhcpClient()
378 std::string ifname = ipResult.ifname; in DhcpIpv4ResultSuccess() local
425 std::string ifname = ipResult.ifname; in DhcpOfferResultSuccess() local
460 std::string ifname = ipResult.ifname; in DhcpIpv4ResultFail() local
495 int DhcpClientServiceImpl::DhcpIpv4ResultTimeOut(const std::string &ifname) in DhcpIpv4ResultTimeOut()
525 int DhcpClientServiceImpl::DhcpIpv4ResultExpired(const std::string &ifname) in DhcpIpv4ResultExpired()
594 int DhcpClientServiceImpl::DhcpIpv6ResultTimeOut(const std::string &ifname) in DhcpIpv6ResultTimeOut()
[all …]
H A Ddhcp_client_callback_proxy.cpp29 void DhcpClientCallbackProxy::OnIpSuccessChanged(int status, const std::string& ifname, DhcpResult&… in OnIpSuccessChanged()
80 void DhcpClientCallbackProxy::OnIpFailChanged(int status, const std::string& ifname, const std::str… in OnIpFailChanged()
109 void DhcpClientCallbackProxy::OnDhcpOfferReport(int status, const std::string& ifname, DhcpResult& … in OnDhcpOfferReport()
H A Ddhcp_client_stub_lite.cpp107 std::string ifname = (char *)ReadString(req, &readLen); in OnRegisterCallBack() local
131 std::string ifname = (char *)ReadString(req, &readLen); in OnStartDhcpClient() local
155 std::string ifname = (char *)ReadString(req, &readLen); in OnSetConfiguration() local
180 std::string ifname = (char *)ReadString(req, &readLen); in OnStopDhcpClient() local
/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_server_service_impl_test.cpp56 std::string ifname = "wlan0"; variable
121 std::string ifname; variable
185 std::string ifname; variable
193 std::string ifname; variable
214 std::string ifname; variable
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/idl_client/unittest/
H A Dwifi_idl_interface_test.cpp47 char ifname[] = "wlan0"; variable
62 char ifname[] = "wlan0"; variable
87 char ifname[32] = {0}; variable
106 char ifname[] = "wlan0"; variable
H A Di_wifi_iface_test.cpp55 char ifname[LENTH] = "test"; variable
278 char ifname[] = "wifitest"; variable
290 char ifname[] = "wifitest"; variable
301 char ifname[] = "wifitest"; variable
331 unsigned char ifname[] = "wifitest"; variable
354 char ifname[LENTH] = "test"; variable
H A Dhal_device_manage_test.h153 virtual int32_t GetApService(const std::string& ifname, sptr<IChipIface>& iface) in GetApService()
157 virtual int32_t RemoveApService(const std::string& ifname) in RemoveApService()
169 virtual int32_t GetP2pService(const std::string& ifname, sptr<IChipIface>& iface) in GetP2pService()
173 virtual int32_t RemoveP2pService(const std::string& ifname) in RemoveP2pService()
185 virtual int32_t GetStaService(const std::string& ifname, sptr<IChipIface>& iface) in GetStaService()
189 virtual int32_t RemoveStaService(const std::string& ifname) in RemoveStaService()
/ohos5.0/foundation/communication/dhcp/test/fuzztest/clientstub_fuzzer/
H A Dclientstub_fuzzer.cpp34 void OnRegisterCallBackTest(const std::string& ifname, size_t size) in OnRegisterCallBackTest()
47 void OnStartDhcpClientTest(const std::string& ifname, size_t size, bool ipv6) in OnStartDhcpClientTest()
61 void OnStopDhcpClientTest(const std::string& ifname, size_t size, bool ipv6) in OnStopDhcpClientTest()
74 void OnSetConfigurationTest(const std::string& ifname) in OnSetConfigurationTest()
93 std::string ifname = "wlan0"; in LLVMFuzzerTestOneInput() local
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_server_service_impl.cpp180 ErrCode DhcpServerServiceImpl::RegisterDhcpServerCallBack(const std::string& ifname, in RegisterDhcpServerCallBack()
209 ErrCode DhcpServerServiceImpl::StartDhcpServer(const std::string& ifname) in StartDhcpServer()
260 void DhcpServerServiceImpl::DeviceInfoCallBack(const std::string & ifname) in DeviceInfoCallBack()
306 void DeviceConnectCallBack(const char* ifname) in DeviceConnectCallBack()
321 ErrCode DhcpServerServiceImpl::StopDhcpServer(const std::string& ifname) in StopDhcpServer()
464 ErrCode DhcpServerServiceImpl::SetDhcpRange(const std::string& ifname, const DhcpRange& range) in SetDhcpRange()
633 int DhcpServerServiceImpl::CheckAndUpdateConf(const std::string &ifname) in CheckAndUpdateConf()
704 int DhcpServerServiceImpl::AddSpecifiedInterface(const std::string& ifname) in AddSpecifiedInterface()
718 int DhcpServerServiceImpl::GetUsingIpRange(const std::string ifname, std::string& ipRange) in GetUsingIpRange()
789 int DhcpServerServiceImpl::DelSpecifiedInterface(const std::string& ifname) in DelSpecifiedInterface()
[all …]
H A Ddhcp_server_callback_proxy_lite.cpp63 void DhcpServerCallbackProxy::OnServerLeasesChanged(const std::string& ifname, std::vector<std::str… in OnServerLeasesChanged()
69 void DhcpServerCallbackProxy::OnServerSerExitChanged(const std::string& ifname) in OnServerSerExitChanged()
75 void DhcpServerCallbackProxy::OnServerSuccess(const std::string& ifname, std::vector<DhcpStationInf… in OnServerSuccess()
H A Ddhcp_server_callback_proxy.cpp60 void DhcpServerCallbackProxy::OnServerLeasesChanged(const std::string& ifname, std::vector<std::str… in OnServerLeasesChanged()
66 void DhcpServerCallbackProxy::OnServerSuccess(const std::string& ifname, std::vector<DhcpStationInf… in OnServerSuccess()
100 void DhcpServerCallbackProxy::OnServerSerExitChanged(const std::string& ifname) in OnServerSerExitChanged()
/ohos5.0/foundation/communication/netmanager_ext/services/ethernetmanager/src/
H A Dethernet_dhcp_controller.cpp25 …hernetDhcpController::EthernetDhcpControllerResultNotify::OnSuccess(int status, const char *ifname, in OnSuccess()
39 …thernetDhcpController::EthernetDhcpControllerResultNotify::OnFailed(int status, const char *ifname, in OnFailed()
99 void EthernetDhcpController::OnDhcpFailed(int status, const std::string &ifname, const char *reason… in OnDhcpFailed()
/ohos5.0/drivers/peripheral/wlan/chip/hdi_service/
H A Dwifi_chip.cpp130 const auto ifname = GetUsedIfaceName(); in GetChipCaps() local
370 const auto ifname = GetIfaceName(type, idx); in AllocIfaceName() local
456 void WifiChip::SetUsedIfaceNameProperty(const std::string& ifname) in SetUsedIfaceNameProperty()
464 sptr<WifiApIface> WifiChip::NewApIface(std::string& ifname) in NewApIface()
490 std::string ifname = AllocateApIfaceName(); in CreateApService() local
508 int32_t WifiChip::GetApService(const std::string& ifname, sptr<IChipIface>& iface) in GetApService()
517 int32_t WifiChip::RemoveApService(const std::string& ifname) in RemoveApService()
533 std::string ifname = GetDefaultP2pIfaceName(); in CreateP2pService() local
563 int32_t WifiChip::RemoveP2pService(const std::string& ifname) in RemoveP2pService()
581 std::string ifname = AllocateStaIfaceName(); in CreateStaService() local
[all …]
/ohos5.0/foundation/communication/wifi_aware/frameworks/source/
H A Dwifiaware.c31 char ifname[WIFI_IFNAME_MAX_SIZE + 1] = {0}; in InitNAN() local
109 char ifname[WIFI_IFNAME_MAX_SIZE + 1] = {0}; in SetLowPower() local
147 char ifname[WIFI_IFNAME_MAX_SIZE + 1] = {0}; in NanBeaconSwitch() local

12345