Home
last modified time | relevance | path

Searched refs:destination_ (Results 1 - 25 of 39) sorted by relevance

12

/foundation/communication/netmanager_base/test/netcommon/unittest/net_common_test/
H A Droute_utils_test.cpp41 route.destination_.type_ = INetAddr::IPV4; in GetRoute()
42 route.destination_.family_ = AF_INET; in GetRoute()
43 route.destination_.prefixlen_ = 0x18; in GetRoute()
44 route.destination_.address_ = "192.168.2.10"; in GetRoute()
45 route.destination_.netMask_ = "255.255.255.0"; in GetRoute()
46 route.destination_.hostName_ = "netAddr"; in GetRoute()
64 route.destination_.type_ = INetAddr::IPV4; in GetRoute2()
65 route.destination_.family_ = AF_INET; in GetRoute2()
66 route.destination_.prefixlen_ = 0x18; in GetRoute2()
67 route.destination_ in GetRoute2()
[all...]
/foundation/communication/netmanager_ext/services/ethernetmanager/src/
H A Dethernet_lan_management.cpp97 std::string destAddress = route.destination_.address_ + "/" + std::to_string(route.destination_.prefixlen_); in ReleaseLanNetLink()
159 CommonUtils::ToAnonymousIp(route.destination_.address_).c_str()); in SetRoute()
162 std::string destAddress = route.destination_.address_ + "/" + std::to_string(route.destination_.prefixlen_); in SetRoute()
178 CommonUtils::ToAnonymousIp(route.destination_.address_).c_str()); in DelRoute()
181 std::string destAddress = route.destination_.address_ + "/" + std::to_string(route.destination_.prefixlen_); in DelRoute()
H A Ddev_interface_state.cpp241 route.destination_ = netAddr; in UpdateLinkInfo()
275 route.destination_ = netAddr; in UpdateLanLinkInfo()
276 GetRoutePrefixlen(netAddr.address_, ifCfg_->ipStatic_.netMaskList_, route.destination_); in UpdateLanLinkInfo()
304 routeStc.destination_ = routeAddr; in UpdateLanLinkInfo()
305 GetRoutePrefixlen(routeAddr.address_, config->netMaskList_, routeStc.destination_); in UpdateLanLinkInfo()
335 routeStc.destination_ = routeAddr; in UpdateLinkInfo()
369 localRoute.destination_.type_ = family; in CreateLocalRoute()
370 localRoute.destination_.address_ = routeAddr; in CreateLocalRoute()
371 localRoute.destination_.prefixlen_ = ipAddr.prefixlen_; in CreateLocalRoute()
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
H A Droute.cpp26 out = out && (destination_ == obj.destination_); in operator ==()
36 if (!destination_.Marshalling(parcel)) { in Marshalling()
37 NETMGR_LOG_E("write destination_ to parcel failed"); in Marshalling()
77 ptr->destination_ = *destination; in Unmarshalling()
111 if (!object->destination_.Marshalling(parcel)) { in Marshalling()
112 NETMGR_LOG_E("write object->destination_ to parcel failed"); in Marshalling()
148 str.append("destination_ = "); in ToString()
149 str.append(destination_.ToString(tab)); in ToString()
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_info_test/
H A Dnet_link_info_test.cpp61 route->destination_.type_ = INetAddr::IPV4; in GetNetLinkInfo()
62 route->destination_.family_ = 0x10; in GetNetLinkInfo()
63 route->destination_.prefixlen_ = 0x17; in GetNetLinkInfo()
64 route->destination_.address_ = "0.0.0.0"; in GetNetLinkInfo()
65 route->destination_.netMask_ = "0.0.0.0"; in GetNetLinkInfo()
66 route->destination_.hostName_ = "netAddr"; in GetNetLinkInfo()
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_multi_test/
H A Dnet_link_info_test.cpp61 route->destination_.type_ = INetAddr::IPV4; in GetNetLinkInfo()
62 route->destination_.family_ = 0x10; in GetNetLinkInfo()
63 route->destination_.prefixlen_ = 0x17; in GetNetLinkInfo()
64 route->destination_.address_ = "0.0.0.0"; in GetNetLinkInfo()
65 route->destination_.netMask_ = "0.0.0.0"; in GetNetLinkInfo()
66 route->destination_.hostName_ = "netAddr"; in GetNetLinkInfo()
H A Dnet_conn_hievent_test.cpp81 route->destination_.type_ = INetAddr::IPV4; in GetNetLinkInfo()
82 route->destination_.family_ = 0x10; in GetNetLinkInfo()
83 route->destination_.prefixlen_ = 0x17; in GetNetLinkInfo()
84 route->destination_.address_ = "192.168.2.0"; in GetNetLinkInfo()
85 route->destination_.netMask_ = "192.255.255.255"; in GetNetLinkInfo()
86 route->destination_.hostName_ = "netAddr"; in GetNetLinkInfo()
H A Dnative_net_conn_test.cpp81 route->destination_.type_ = INetAddr::IPV4; in GetRouteSample()
82 route->destination_.family_ = 0x10; in GetRouteSample()
83 route->destination_.prefixlen_ = 0x17; in GetRouteSample()
84 route->destination_.address_ = "192.168.2.0"; in GetRouteSample()
85 route->destination_.netMask_ = "192.255.255.255"; in GetRouteSample()
86 route->destination_.hostName_ = "netAddr"; in GetRouteSample()
/foundation/communication/netmanager_ext/services/vpnmanager/src/
H A Dnet_vpn_impl.cpp311 ipv4DefaultRoute.destination_.type_ = INetAddr::IPV4; in SetIpv4DefaultRoute()
312 ipv4DefaultRoute.destination_.address_ = IPV4_DEFAULT_ROUTE_ADDR; in SetIpv4DefaultRoute()
313 ipv4DefaultRoute.destination_.prefixlen_ = CommonUtils::GetMaskLength(IPV4_DEFAULT_ROUTE_ADDR); in SetIpv4DefaultRoute()
320 ipv6DefaultRoute.destination_.type_ = INetAddr::IPV6; in SetIpv6DefaultRoute()
321 ipv6DefaultRoute.destination_.address_ = IPV6_DEFAULT_ROUTE_ADDR; in SetIpv6DefaultRoute()
322 ipv6DefaultRoute.destination_.prefixlen_ = CommonUtils::Ipv6PrefixLen(IPV6_DEFAULT_ROUTE_ADDR); in SetIpv6DefaultRoute()
330 std::string destAddress = route.destination_.address_ + "/" + std::to_string(route.destination_.prefixlen_); in DelNetLinkInfo()
341 uint32_t maskUint = (0xFFFFFFFF << (IPV4_NET_MASK_MAX_LENGTH - route.destination_.prefixlen_)); in AdjustRouteInfo()
342 uint32_t ipAddrUint = CommonUtils::ConvertIpv4Address(route.destination_ in AdjustRouteInfo()
[all...]
/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnetwork.cpp161 if (route.destination_.address_ != LOCAL_ROUTE_NEXT_HOP && in ReleaseBasicNetwork()
162 route.destination_.address_ != LOCAL_ROUTE_IPV6_DESTINATION) { in ReleaseBasicNetwork()
163 auto family = GetAddrFamily(route.destination_.address_); in ReleaseBasicNetwork()
165 auto destAddress = route.destination_.address_ + "/" + std::to_string(route.destination_.prefixlen_); in ReleaseBasicNetwork()
178 auto destAddress = route.destination_.address_ + "/" + std::to_string(route.destination_.prefixlen_); in ReleaseBasicNetwork()
245 if (iter->destination_.address_ == LOCAL_ROUTE_NEXT_HOP || in GetNetLinkInfo()
246 iter->destination_.address_ == LOCAL_ROUTE_IPV6_DESTINATION) { in GetNetLinkInfo()
322 return route.destination_ in UpdateIpAddrs()
[all...]
/foundation/communication/netmanager_base/services/common/src/
H A Droute_utils.cpp38 if (!(iter->rtnType_ == RTN_UNICAST && iter->destination_.prefixlen_ == 0)) { in AddRoutesToLocal()
46 ipv6Rt.destination_.type_ = INetAddr::IPV6; in AddRoutesToLocal()
47 ipv6Rt.destination_.address_ = IPV6_DEFAULT_PRIFX; in AddRoutesToLocal()
48 ipv6Rt.destination_.prefixlen_ = IPV6_PRIFX_LEN; in AddRoutesToLocal()
148 ToPrefixString(route.destination_.address_, route.destination_.prefixlen_, dest); in ModifyRoute()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_net_agent.cpp357 route->destination_.type_ = NetManagerStandard::INetAddr::IPV4;
358 route->destination_.address_ = "0.0.0.0";
359 route->destination_.family_ = NetManagerStandard::INetAddr::IPV4;
367 ipv6route->destination_.type_ = NetManagerStandard::INetAddr::IPV6;
368 ipv6route->destination_.family_ = NetManagerStandard::INetAddr::IPV6;
369 ipv6route->destination_.address_ = "::";
370 ipv6route->destination_.prefixlen_ = 0;
386 localRoute->destination_.type_ = NetManagerStandard::INetAddr::IPV4;
387 localRoute->destination_.address_ = strLocalRoute;
388 localRoute->destination_
[all...]
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/vpn_manager_ext_test/
H A Dnetworkvpn_service_ext_test.cpp75 route.destination_.type_ = INetAddr::IPV4; in GetRouteInfo()
76 route.destination_.family_ = AF_INET; in GetRouteInfo()
77 route.destination_.prefixlen_ = 0x18; in GetRouteInfo()
78 route.destination_.address_ = "192.168.2.10"; in GetRouteInfo()
79 route.destination_.netMask_ = "255.255.255.0"; in GetRouteInfo()
80 route.destination_.hostName_ = "netAddr"; in GetRouteInfo()
153 instance_->ConvertNetAddrToJson(mem.destination_, jDestination); in HWTEST_F()
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Dnet_diag_wrapper_test.cpp86 pingOption.destination_ = PING_DESTINATION_IP1; in HWTEST_F()
104 pingOption.destination_ = PING_DESTINATION_IP1; in HWTEST_F()
122 pingOption.destination_ = PING_DESTINATION_IP1; in HWTEST_F()
141 pingOption.destination_ = PING_DESTINATION_IP1; in HWTEST_F()
160 pingOption.destination_ = PING_DESTINATION_IP1; in HWTEST_F()
179 pingOption.destination_ = PING_DESTINATION_IP1; in HWTEST_F()
199 pingOption.destination_ = PING_DESTINATION_IP1; in HWTEST_F()
220 pingOption.destination_ = PING_DESTINATION_IP1; in HWTEST_F()
242 pingOption.destination_ = PING_DESTINATION_IP1; in HWTEST_F()
270 pingOption.destination_ in HWTEST_F()
[all...]
/foundation/communication/netmanager_base/frameworks/cj/connection/src/
H A Dnet_connection_callback.cpp150 CNetAddress destAddr = {.address = MallocCString(it->destination_.address_), in SetConnectionProp()
151 .family = it->destination_.family_, in SetConnectionProp()
152 .port = it->destination_.port_}; in SetConnectionProp()
153 CLinkAddress dest = {.address = destAddr, .prefixLength = it->destination_.prefixlen_}; in SetConnectionProp()
H A Dnet_connection_ffi.cpp236 CNetAddress destAddr = {.address = MallocCString(it->destination_.address_), in SetRoute()
237 .family = it->destination_.family_, in SetRoute()
238 .port = it->destination_.port_}; in SetRoute()
239 CLinkAddress dest = {.address = destAddr, .prefixLength = it->destination_.prefixlen_}; in SetRoute()
/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/
H A Droute.h39 INetAddr destination_; member
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/
H A Dnetsys_net_diag_data.h41 std::string destination_; // Required member
81 std::string destination_; member
/foundation/communication/netmanager_ext/services/wearabledistributednetmanager/src/
H A Dwearable_distributed_net_link_info.cpp285 route.destination_.type_ = INetAddr::IPV4; in SetNetLinkRouteInfo()
286 route.destination_.family_ = AF_INET; in SetNetLinkRouteInfo()
287 route.destination_.address_ = GetRouteEstinationAddr(); in SetNetLinkRouteInfo()
/foundation/communication/netmanager_base/frameworks/native/netmanagernative/
H A Dnetsys_net_diag_data.cpp32 if (!parcel.WriteString(destination_)) { in Marshalling()
72 if (!parcel.ReadString(pingOption.destination_)) { in Unmarshalling()
218 if (!parcel.WriteString(destination_)) { in Marshalling()
247 if (!parcel.ReadString(routeTable.destination_)) { in Unmarshalling()
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtsp/include/
H A Drtsp_response.h132 destination_ = destination; in SetDestination()
169 std::string destination_; member in OHOS::Sharing::RtspResponseSetup
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtsp/src/
H A Drtsp_response.cpp175 if (!destination_.empty()) { in Stringify()
176 ss << "destination=" << destination_ << ";"; in Stringify() local
/foundation/communication/netmanager_ext/services/networksharemanager/include/
H A Dnetworkshare_sub_statemachine.h153 std::string destination_ = ""; member in OHOS::NetManagerStandard::NetworkShareSubStateMachine
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/
H A Dnet_conn_manager_test.cpp105 route->destination_.type_ = INetAddr::IPV4; in GetUpdateLinkInfoSample()
106 route->destination_.family_ = 0x10; in GetUpdateLinkInfoSample()
107 route->destination_.prefixlen_ = 0x17; in GetUpdateLinkInfoSample()
108 route->destination_.address_ = "192.168.2.0"; in GetUpdateLinkInfoSample()
109 route->destination_.netMask_ = "192.255.255.255"; in GetUpdateLinkInfoSample()
110 route->destination_.hostName_ = "netAddr"; in GetUpdateLinkInfoSample()
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/conn_vpn_manager_test/
H A Dnet_conn_manager_test.cpp105 route->destination_.type_ = INetAddr::IPV4; in GetUpdateLinkInfoSample()
106 route->destination_.family_ = 0x10; in GetUpdateLinkInfoSample()
107 route->destination_.prefixlen_ = 0x17; in GetUpdateLinkInfoSample()
108 route->destination_.address_ = "192.168.2.0"; in GetUpdateLinkInfoSample()
109 route->destination_.netMask_ = "192.255.255.255"; in GetUpdateLinkInfoSample()
110 route->destination_.hostName_ = "netAddr"; in GetUpdateLinkInfoSample()

Completed in 15 milliseconds

12