Home
last modified time | relevance | path

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

/systemd-251/src/libsystemd/sd-netlink/
Dnetlink-util.c474 padding = mempcpy(RTA_DATA(rta), data, data_length); in rtattr_append_attribute_internal()
479 padding = RTA_DATA(rta); in rtattr_append_attribute_internal()
592 … memcpy(&m->gateway.address, RTA_DATA(attr), FAMILY_ADDRESS_SIZE(family)); in rtattr_read_nexthop()
603 gw_family = *(uint16_t *) RTA_DATA(attr); in rtattr_read_nexthop()
611 … memcpy(&m->gateway, RTA_DATA(attr), FAMILY_ADDRESS_SIZE(gw_family) + sizeof(gw_family)); in rtattr_read_nexthop()
Dnetlink-message.c726 *ret_data = RTA_DATA(rta); in netlink_message_read_internal()
1124 r = strv_extend(&s, RTA_DATA(rta)); in sd_netlink_message_read_strv()
/systemd-251/src/basic/linux/
Drtnetlink.h218 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0))) macro
/systemd-251/src/network/
Dnetworkd-route.c1119 offset = (uint8_t *) RTA_DATA(rta) - (uint8_t *) rta; in append_nexthops()
1130 r = sd_netlink_message_append_data(req, RTA_MULTIPATH, RTA_DATA(rta), RTA_PAYLOAD(rta)); in append_nexthops()