Home
last modified time | relevance | path

Searched refs:subnet (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_buscenter/src/
H A Dlnn_bt_network_impl.c57 lastStatus, subnet->status); in TransactBtSubnetState()
86 if (subnet->status == LNN_SUBNET_RUNNING) { in EnableBtSubnet()
146 ret = (type == LNN_NETIF_TYPE_BR) ? DisableBrSubnet(subnet) : DisableBleSubnet(subnet); in DestroyBtSubnetManager()
149 SoftBusFree(subnet); in DestroyBtSubnetManager()
196 ret = EnableBtSubnet(subnet); in OnBtNetifStatusChanged()
219 if (subnet == NULL) { in CreateBtSubnetManager()
226 subnet->protocol = self; in CreateBtSubnetManager()
227 subnet->status = LNN_SUBNET_IDLE; in CreateBtSubnetManager()
231 int32_t ret = strcpy_s(subnet->ifName, sizeof(subnet->ifName), ifName); in CreateBtSubnetManager()
236 return subnet; in CreateBtSubnetManager()
[all …]
H A Dlnn_ip_network_impl.c430 ReleaseMainPort(subnet->ifName); in DisableIpSubnet()
442 LeaveOldIpNetwork(subnet->ifName); in ChangeIpSubnetAddress()
449 DisableIpSubnet(subnet); in DestroyIpSubnetManager()
451 SoftBusFree(subnet); in DestroyIpSubnetManager()
476 subnet->ifName, subnet->protocol->id, subnet->status); in TransactIpSubnetState()
516 if (subnet->status == LNN_SUBNET_RESETTING || subnet->status == LNN_SUBNET_IDLE) { in OnSoftbusIpNetworkDisconnected()
565 if (subnet == NULL) { in CreateIpSubnetManager()
572 subnet->protocol = self; in CreateIpSubnetManager()
577 int32_t ret = strcpy_s(subnet->ifName, sizeof(subnet->ifName), ifName); in CreateIpSubnetManager()
582 return subnet; in CreateIpSubnetManager()
[all …]
H A Dlnn_physical_subnet_manager.c82 static int32_t DoRegistSubnet(LnnPhysicalSubnet *subnet) in DoRegistSubnet() argument
88 g_physicalSubnets[i] = subnet; in DoRegistSubnet()
98 int32_t LnnRegistPhysicalSubnet(LnnPhysicalSubnet *subnet) in LnnRegistPhysicalSubnet() argument
100 if (subnet == NULL || subnet->protocol == NULL) { in LnnRegistPhysicalSubnet()
106 CALL_WITH_LOCK(ret, &g_physicalSubnetsLock, DoRegistSubnet(subnet)); in LnnRegistPhysicalSubnet()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_buscenter/
H A Dlnn_ip_network_impl_test.cpp141 LnnPhysicalSubnet subnet = { variable
146 OnIpNetifStatusChanged(&subnet, nullptr);
147 OnSoftbusIpNetworkDisconnected(&subnet);
148 subnet.status = LNN_SUBNET_IDLE;
149 OnIpNetifStatusChanged(&subnet, nullptr);
150 OnSoftbusIpNetworkDisconnected(&subnet);
171 LnnPhysicalSubnet subnet = { variable
177 IpSubnetManagerEvent res = GetIpEventInRunning(&subnet);
181 res = GetIpEventInRunning(&subnet);
226 LnnPhysicalSubnet subnet = { variable
[all …]
H A Dlnn_bt_network_impl_test.cpp170 …LnnPhysicalSubnet *subnet = reinterpret_cast<LnnPhysicalSubnet *>(SoftBusMalloc(sizeof(LnnPhysical… variable
171 memset_s(subnet, sizeof(LnnPhysicalSubnet), 0, sizeof(LnnPhysicalSubnet));
172 subnet->status = LNN_SUBNET_IDLE;
173 DestroyBtSubnetManager(subnet);
190 LnnPhysicalSubnet subnet = { variable
201 OnBtNetifStatusChanged(&subnet, (void *)(&btState1));
205 OnBtNetifStatusChanged(&subnet, (void *)(&btState1));
210 OnBtNetifStatusChanged(&subnet, (void *)(&btState2));
214 OnBtNetifStatusChanged(&subnet, (void *)(&btState2));
/ohos5.0/docs/en/application-dev/network/
H A Dnet-ethernet.md5 …ies of network attributes, such as the dynamically allocated IP address, subnet mask, gateway, and…
19 - Dynamically assigning a series of network attributes, such as the IP address, subnet mask, gatewa…
20 - Configuring a series of network attributes, such as the IP address, subnet mask, gateway, and DNS…
88 …eed to manually assign the network attributes (including the IP address, subnet mask, gateway, and…
H A Dnet-mgmt-overview.md12 …vides wired network capabilities, which allow you to set the IP address, subnet mask, gateway, and…
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_link.c1384 VisitNextChoice FindBestProtocol(const LnnPhysicalSubnet *subnet, void *priv) in FindBestProtocol() argument
1386 if (subnet == NULL || priv == NULL || subnet->protocol == NULL) { in FindBestProtocol()
1390 …if (subnet->status == LNN_SUBNET_RUNNING && (subnet->protocol->supportedNetif & req->localIfType) … in FindBestProtocol()
1391subnet->protocol->pri > req->currPri && (subnet->protocol->id & req->remoteSupporttedProtocol) != … in FindBestProtocol()
1392 req->currPri = subnet->protocol->pri; in FindBestProtocol()
1393 req->selectedProtocol = subnet->protocol->id; in FindBestProtocol()
/ohos5.0/foundation/communication/dhcp/
H A DREADME.en.md8 …nformation, and process the client's DHCP request, assigning IP address, subnet mask, default gate…
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/etc/
H A Ddhcpd.conf.sample18 # Default subnet mask.
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/
H A Ddhcpd_interface.cpp301 std::string subnet = "255.255.255.0"; in CallAdapterSetRange() local
307 || strcpy_s(range.strSubnet, INET_ADDRSTRLEN, subnet.c_str()) != EOK) { in CallAdapterSetRange()
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-peripherals-external-des.md613 [ -n "$subnet" ] && NETMASK="netmask $subnet"
661 option subnet 255.255.255.0
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-small-debug-shell-net-ifconfig.md42 | netmask | Specifies the subnet mask, for example, **255.255.255.0**.| N/A |
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-peripherals-external-des.md615 [ -n "$subnet" ] && NETMASK="netmask $subnet"
665 option subnet 255.255.255.0
/ohos5.0/docs/en/application-dev/reference/apis-network-kit/
H A Djs-apis-net-ethernet-sys.md3 …des wired network capabilities, which allow users to set the IP address, subnet mask, gateway, and…
H A Djs-apis-net-netfirewall-sys.md648 | type | number | Yes| IP address type. The value **1** indicates an IP address or subnet. W…
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/ril_v1_1/foo/ril/v1_1/
H A DTypes.idl1812 *- PU: subnet locking
1855 *- PU: subnet locking
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/ril_v1_2/foo/ril/v1_1/
H A DTypes.idl1812 *- PU: subnet locking
1855 *- PU: subnet locking
/ohos5.0/drivers/interface/ril/v1_0/
H A DTypes.idl1772 *- PU: subnet locking
1815 *- PU: subnet locking
/ohos5.0/drivers/interface/ril/v1_1/
H A DTypes.idl1812 *- PU: subnet locking
1855 *- PU: subnet locking
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/ril_v1_0/foo/ril/v1_0/
H A DTypes.idl1772 *- PU: subnet locking
1815 *- PU: subnet locking
/ohos5.0/docs/en/readme/
H A Dxts.md351 2. Configure the IP address, subnet mask, and gateway for the development board. Ensure that the d…
/ohos5.0/docs/en/device-dev/device-test/
H A Dxts.md342 2. Configure the IP address, subnet mask, and gateway for the development board. Ensure that the de…