Searched refs:netMask_ (Results 1 – 11 of 11) sorted by relevance
51 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()
54 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";
67 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()
28 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()
35 if (!netMask_.Marshalling(parcel)) { in Marshalling()85 ptr->netMask_ = *netMask; in Unmarshalling()
31 INetAddr netMask_; member
36 std::string netMask_; member
122 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()
82 prefixLen = Ipv4PrefixLen(inetAddr.netMask_); in ReleaseBasicNetwork()185 prefixLen = Ipv4PrefixLen(inetAddr.netMask_); in UpdateIpAddrs()195 prefixLen = Ipv4PrefixLen(inetAddr.netMask_); in UpdateIpAddrs()
69 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()
121 netAddr->netMask_ = mask; in UpdateNetLinkInfo()