Searched refs:RTA_DATA (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/libsystemd/sd-netlink/ |
D | netlink-util.c | 474 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()
|
D | netlink-message.c | 726 *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/ |
D | rtnetlink.h | 218 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0))) macro
|
/systemd-251/src/network/ |
D | networkd-route.c | 1119 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()
|