Home
last modified time | relevance | path

Searched refs:ndm (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_ipv6_event.cpp119 struct ndmsg *ndm = (struct ndmsg *)NLMSG_DATA(nlh); in parseNewneighMessage() local
120 if (!ndm) { in parseNewneighMessage()
123 if (ndm->ndm_family == KERNEL_SOCKET_IFA_FAMILY && in parseNewneighMessage()
124 ndm->ndm_state == NUD_REACHABLE) { in parseNewneighMessage()
125 struct rtattr *rta = RTM_RTA(ndm); in parseNewneighMessage()
132 if (GetIpFromS6Address(addr, ndm->ndm_family, gateway, in parseNewneighMessage()
137 onIpv6RouteAddEvent(gateway, dst, ndm->ndm_ifindex); in parseNewneighMessage()
/foundation/communication/dhcp/test/unittest/services/dhcp_client/
H A Ddhcp_ipv6_client_test.cpp335 ndmsg* ndm = reinterpret_cast<ndmsg*>((char*)msg + sizeof(nlmsghdr)); in HWTEST_F() local
339 ndm->ndm_family = KERNEL_SOCKET_IFA_FAMILY; in HWTEST_F()
340 ndm->ndm_state = NUD_REACHABLE; in HWTEST_F()

Completed in 2 milliseconds