Searched refs:mhdr (Results 1 – 1 of 1) sorted by relevance
486 struct nlmsghdr *mhdr; in check_existence_through_netlink() local499 mhdr = (struct nlmsghdr*)replybuf; in check_existence_through_netlink()501 if (!NLMSG_OK(mhdr, bytes)) { in check_existence_through_netlink()506 if (mhdr->nlmsg_type == RTM_NEWLINK || mhdr->nlmsg_type == RTM_DELLINK) { in check_existence_through_netlink()510 if (mhdr->nlmsg_len < NLMSG_LENGTH(sizeof(struct ifinfomsg))) { in check_existence_through_netlink()515 attr = IFLA_RTA(NLMSG_DATA(mhdr)); in check_existence_through_netlink()516 attr_len = IFLA_PAYLOAD(mhdr); in check_existence_through_netlink()526 G.iface_exists = (mhdr->nlmsg_type == RTM_NEWLINK); in check_existence_through_netlink()533 mhdr = NLMSG_NEXT(mhdr, bytes); in check_existence_through_netlink()