Home
last modified time | relevance | path

Searched refs:nl_size (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/net/
H A Dipsec.c220 size_t nl_size = RTA_ALIGN(nh->nlmsg_len) + RTA_LENGTH(size); in rtattr_pack() local
222 if (req_sz < nl_size) { in rtattr_pack()
223 printk("req buf is too small: %zu < %zu", req_sz, nl_size); in rtattr_pack()
226 nh->nlmsg_len = nl_size; in rtattr_pack()
/openbmc/qemu/linux-user/
H A Dsyscall.c5103 int nl_size = 12; /* can't use thunk_size due to alignment */ in do_ioctl_dm() local
5108 nl->next = nl_size + (strlen(nl->name) + 1); in do_ioctl_dm()
5115 strcpy(cur_data + nl_size, nl->name); in do_ioctl_dm()