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

/system/core/libsysutils/src/
H A DNetlinkEvent.cpp178 const struct nlmsghdr *nh; local
180 for (nh = (struct nlmsghdr *) buffer;
181 NLMSG_OK(nh, size) && (nh->nlmsg_type != NLMSG_DONE);
182 nh = NLMSG_NEXT(nh, size)) {
184 if (nh->nlmsg_type == RTM_NEWLINK) {
185 int len = nh->nlmsg_len - sizeof(*nh);
193 ifi = (ifinfomsg *)NLMSG_DATA(nh);
[all...]
/system/core/libnetutils/
H A Difc_utils.c262 struct nlmsghdr *nh; local
327 nh = (struct nlmsghdr *) buf;
328 if (!NLMSG_OK(nh, (unsigned) len) || nh->nlmsg_type != NLMSG_ERROR) {
331 err = NLMSG_DATA(nh);

Completed in 67 milliseconds