Home
last modified time | relevance | path

Searched refs:rtmFamily (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_ipv6_event.cpp85 int32_t rtmFamily = rtMsg->rtm_family; in parseNDRouteMessage() local
92 … if (GetIpFromS6Address(RTA_DATA(rtaInfo), rtmFamily, gateway, sizeof(gateway)) != 0) { in parseNDRouteMessage()
98 if (GetIpFromS6Address(RTA_DATA(rtaInfo), rtmFamily, dst, sizeof(dst)) != 0) { in parseNDRouteMessage()
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/wrapper/
H A Dwrapper_decoder.cpp451 int32_t rtmFamily = rtMsg->rtm_family; in InterpreteRtMsg() local
460 !inet_ntop(rtmFamily, RTA_DATA(rtAttr), gateWay, sizeof(gateWay))) { in InterpreteRtMsg()
466 !inet_ntop(rtmFamily, RTA_DATA(rtAttr), dst, sizeof(dst))) { in InterpreteRtMsg()
480 if (!SaveRtMsg(dst, gateWay, device, rtmDstLen, rtmFamily)) { in InterpreteRtMsg()