Lines Matching refs:nlmsg_len
81 if (hdr->nlmsg_len < sizeof(struct nlmsghdr) + sizeof(struct ndmsg)) in rtnl_neigh_from_linux()
97 if (hdr->nlmsg_len < sizeof(struct nlmsghdr) + in rtnl_ifaddr_from_linux()
120 if (hdr->nlmsg_len < sizeof(struct nlmsghdr) + sizeof(struct rtmsg)) in rtnl_route_from_linux()
129 attrs_len = hdr->nlmsg_len - sizeof(struct nlmsghdr); in rtnl_route_from_linux()
205 out_hdr = nlmsg_reserve_data(nw, NLMSG_ALIGN(hdr->nlmsg_len), char); in handle_default_out()
208 memcpy(out_hdr, hdr, hdr->nlmsg_len); in handle_default_out()
292 int attrs_len = hdr->nlmsg_len - sizeof(struct nlmsghdr) - hdrlen; in nlmsg_copy_all_nla()
445 int attrs_len = hdr->nlmsg_len - sizeof(struct nlmsghdr) - hdrlen; in rtnl_newroute_to_linux()
517 if (hdr->nlmsg_len == copied_len) { in nlmsg_error_to_linux()
529 int copy_len = hdr->nlmsg_len - copied_len; in nlmsg_error_to_linux()
589 msglen = NLMSG_ALIGN(hdr->nlmsg_len); in nlmsgs_to_linux()