Home
last modified time | relevance | path

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

/systemd-251/src/libsystemd/sd-netlink/
Dnetlink-util.c488 size_t message_length; in rtattr_append_attribute() local
494 message_length = RTA_ALIGN(rta ? (*rta)->rta_len : 0) + RTA_SPACE(data_length); in rtattr_append_attribute()
497 if (message_length > MIN(page_size(), 8192UL)) in rtattr_append_attribute()
501 new_rta = realloc(*rta, message_length); in rtattr_append_attribute()
512 (*rta)->rta_len = message_length; in rtattr_append_attribute()
Dnetlink-message.c176 size_t message_length; in add_rtattr() local
188 message_length = m->hdr->nlmsg_len + RTA_SPACE(data_length); in add_rtattr()
191 if (message_length > MIN(page_size(), 8192UL)) in add_rtattr()
195 new_hdr = realloc(m->hdr, message_length); in add_rtattr()
211 m->hdr->nlmsg_len = message_length; in add_rtattr()