Searched refs:nl_size (Results 1 – 2 of 2) sorted by relevance
70 size_t nl_size = RTA_ALIGN(nh->nlmsg_len) + RTA_LENGTH(size); in rtattr_pack() local72 if (req_sz < nl_size) { in rtattr_pack()73 test_print("req buf is too small: %zu < %zu", req_sz, nl_size); in rtattr_pack()76 nh->nlmsg_len = nl_size; in rtattr_pack()
224 size_t nl_size = RTA_ALIGN(nh->nlmsg_len) + RTA_LENGTH(size); in rtattr_pack() 226 if (req_sz < nl_size) { in rtattr_pack() 227 printk("req buf is too small: %zu < %zu", req_sz, nl_size); in rtattr_pack() 230 nh->nlmsg_len = nl_size; in rtattr_pack() 220 size_t nl_size = RTA_ALIGN(nh->nlmsg_len) + RTA_LENGTH(size); rtattr_pack() local