Home
last modified time | relevance | path

Searched refs:netMask_ (Results 1 – 11 of 11) sorted by relevance

/foundation/communication/netmanager_ext/test/ethernetmanager/unittest/ethernet_manager_test/
Dethernet_manager_test.cpp51 ic->ipStatic_.ipAddr_.netMask_ = "255.255.254.0"; in GetIfaceConfig()
57 ic->ipStatic_.route_.netMask_ = "0.0.0.0"; in GetIfaceConfig()
63 ic->ipStatic_.gateway_.netMask_ = "0.0.0.0"; in GetIfaceConfig()
65 ic->ipStatic_.netMask_.type_ = INetAddr::IPV4; in GetIfaceConfig()
66 ic->ipStatic_.netMask_.family_ = 0x01; in GetIfaceConfig()
67 ic->ipStatic_.netMask_.netMask_ = "255.255.255.0"; in GetIfaceConfig()
68 ic->ipStatic_.netMask_.hostName_ = "netAddr"; in GetIfaceConfig()
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/
Droute_utils_test.cpp54 r.destination_.netMask_ = "255.255.255.0";
60 r.gateway_.netMask_ = "255.255.255.0";
81 r.destination_.netMask_ = "255.255.255.0";
87 r.gateway_.netMask_ = "255.255.255.0";
107 r.destination_.netMask_ = "255.255.255.0";
113 r.gateway_.netMask_ = "255.255.255.0";
132 r.destination_.netMask_ = "255.255.255.0";
138 r.gateway_.netMask_ = "255.255.255.0";
159 r.destination_.netMask_ = "255.255.255.0";
165 r.gateway_.netMask_ = "255.255.255.0";
Dnet_conn_manager_test.cpp67 netAddr->netMask_ = "192.255.255.255"; in GetUpdateLinkInfoSample()
76 dns->netMask_ = "192.255.255.255"; in GetUpdateLinkInfoSample()
86 route->destination_.netMask_ = "192.255.255.255"; in GetUpdateLinkInfoSample()
92 route->gateway_.netMask_ = "192.255.255.255"; in GetUpdateLinkInfoSample()
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
Dinet_addr.cpp28 out = out && (netMask_ == obj.netMask_); in operator ==()
48 if (!parcel.WriteString(netMask_)) { in Marshalling()
79 if (!parcel.ReadString(ptr->netMask_)) { in Unmarshalling()
113 if (!parcel.WriteString(object->netMask_)) { in Marshalling()
157 str.append(netMask_); in ToString()
/foundation/communication/netmanager_ext/frameworks/native/ethernetclient/src/
Dstatic_configuration.cpp35 if (!netMask_.Marshalling(parcel)) { in Marshalling()
85 ptr->netMask_ = *netMask; in Unmarshalling()
/foundation/communication/netmanager_ext/interfaces/innerkits/ethernetclient/include/
Dstatic_configuration.h31 INetAddr netMask_; member
/foundation/communication/netmanager_base/interfaces/innerkits/include/
Dinet_addr.h36 std::string netMask_; member
/foundation/communication/netmanager_ext/services/ethernetmanager/src/
Dethernet_management.cpp122 if (cfg->ipStatic_.netMask_.address_.empty()) { in UpdateDevInterfaceState()
123 prefixlen = Ipv4PrefixLen(cfg->ipStatic_.ipAddr_.netMask_); in UpdateDevInterfaceState()
125 prefixlen = Ipv4PrefixLen(cfg->ipStatic_.netMask_.address_); in UpdateDevInterfaceState()
442 cfg->ipStatic_.ipAddr_.netMask_ = netMask; in ParserFileConfig()
448 cfg->ipStatic_.netMask_.address_ = netMask; in ParserFileConfig()
473 if (cfg->ipStatic_.netMask_.address_.empty()) { in GenCfgContent()
474 fileContent = fileContent + "NETMASK=" + cfg->ipStatic_.ipAddr_.netMask_ + "\n"; in GenCfgContent()
476 fileContent = fileContent + "NETMASK=" + cfg->ipStatic_.netMask_.address_ + "\n"; in GenCfgContent()
/foundation/communication/netmanager_base/services/netconnmanager/src/
Dnetwork.cpp82 prefixLen = Ipv4PrefixLen(inetAddr.netMask_); in ReleaseBasicNetwork()
185 prefixLen = Ipv4PrefixLen(inetAddr.netMask_); in UpdateIpAddrs()
195 prefixLen = Ipv4PrefixLen(inetAddr.netMask_); in UpdateIpAddrs()
/foundation/communication/netmanager_ext/frameworks/js/napi/ethernet/src/
Dnapi_ethernet.cpp69 config->ipStatic_.netMask_.address_ = context->netMask; in ExecSetIfaceConfig()
140 context->netMask = config->ipStatic_.netMask_.address_; in ExecGetIfaceConfig()
141 … NETMGR_EXT_LOG_I("config->netMask_ = [%{public}s]", config->ipStatic_.netMask_.address_.c_str()); in ExecGetIfaceConfig()
/foundation/communication/wifi/services/wifi_standard/wifi_framework/wifi_manage/
Dwifi_net_agent.cpp121 netAddr->netMask_ = mask; in UpdateNetLinkInfo()