Searched refs:netifMgr (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_buscenter/ |
H A D | lnn_ip_network_impl_test.cpp | 38 LnnNetIfMgr netifMgr; variable 89 memset_s(&netifMgr, sizeof(LnnNetIfMgr), 0, sizeof(LnnNetIfMgr)); 90 strcpy_s(netifMgr.ifName, sizeof("name"), "name"); 93 res = LnnEnableIpProtocol(&self, &netifMgr); 95 res = LnnEnableIpProtocol(&self, &netifMgr); 132 VisitNextChoice visit = NotifyWlanAddressChanged(&netifMgr, nullptr); 134 netifMgr.type = LNN_NETIF_TYPE_WLAN; 135 visit = NotifyWlanAddressChanged(&netifMgr, nullptr);
|
H A D | lnn_bt_network_impl_test.cpp | 149 LnnNetIfMgr netifMgr = { variable 154 ret = LnnEnableBtProtocol(&self, &netifMgr); 156 ret = LnnEnableBtProtocol(&self, &netifMgr);
|
H A D | lnn_network_manager_test.cpp | 94 int32_t LnnEnableBtProtocol(LnnProtocolManager *self, LnnNetIfMgr *netifMgr) in LnnEnableBtProtocol() argument 97 (void)netifMgr; in LnnEnableBtProtocol()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_buscenter/include/ |
H A D | lnn_network_manager.h | 69 int32_t (*enable)(struct LnnProtocolManager *self, LnnNetIfMgr *netifMgr); 70 int32_t (*disable)(struct LnnProtocolManager *self, LnnNetIfMgr *netifMgr);
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_buscenter/src/ |
H A D | lnn_bt_network_impl.c | 331 int32_t LnnEnableBtProtocol(struct LnnProtocolManager *self, LnnNetIfMgr *netifMgr) in LnnEnableBtProtocol() argument 335 if (netifMgr == NULL) { in LnnEnableBtProtocol() 339 LnnPhysicalSubnet *manager = CreateBtSubnetManager(self, netifMgr->ifName); in LnnEnableBtProtocol()
|
H A D | lnn_network_manager.c | 145 LnnNetIfMgr *netifMgr = g_netifBuilders[type](ifName); in NetifMgrFactory() local 146 if (netifMgr != NULL) { in NetifMgrFactory() 147 netifMgr->type = ConvertToNetIfType(type); in NetifMgrFactory() 149 return netifMgr; in NetifMgrFactory()
|
H A D | lnn_ip_network_impl.c | 695 int32_t LnnEnableIpProtocol(struct LnnProtocolManager *self, LnnNetIfMgr *netifMgr) in LnnEnableIpProtocol() argument 698 if (netifMgr == NULL) { in LnnEnableIpProtocol() 702 LnnPhysicalSubnet *manager = CreateIpSubnetManager(self, netifMgr->ifName); in LnnEnableIpProtocol()
|