Home
last modified time | relevance | path

Searched refs:RTA_SPACE (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/libsystemd/sd-netlink/
Dnetlink-util.c482 padding_length = (uint8_t *) rta + RTA_SPACE(data_length) - padding; in rtattr_append_attribute_internal()
494 message_length = RTA_ALIGN(rta ? (*rta)->rta_len : 0) + RTA_SPACE(data_length); in rtattr_append_attribute()
Dnetlink-message.c188 message_length = m->hdr->nlmsg_len + RTA_SPACE(data_length); in add_rtattr()
207 GET_CONTAINER(m, i)->rta_len += RTA_SPACE(data_length); in add_rtattr()
/systemd-251/src/basic/linux/
Drtnetlink.h217 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len)) macro
/systemd-251/src/network/
Dnetworkd-route.c1062 new_rta = realloc(*rta, RTA_ALIGN((*rta)->rta_len) + RTA_SPACE(sizeof(struct rtnexthop))); in append_nexthop_one()
1081 rtnh->rtnh_len += RTA_SPACE(FAMILY_ADDRESS_SIZE(m->gateway.family)); in append_nexthop_one()
1087 … rtnh->rtnh_len += RTA_SPACE(FAMILY_ADDRESS_SIZE(m->gateway.family) + sizeof(m->gateway.family)); in append_nexthop_one()