Searched defs:data_length (Results 1 - 2 of 2) sorted by relevance
/systemd/src/libsystemd/sd-netlink/ |
H A D | netlink-message.c | 168 static int add_rtattr(sd_netlink_message *m, unsigned short type, const void *data, size_t data_length) { argument 181 assert(!data || data_length); 187 rta_length = RTA_LENGTH(data_length); 212 padding = mempcpy(RTA_DATA(rta), data, data_length); 215 note that we can have data_length > 0 (used by some containers) */
|
/systemd/src/libsystemd-network/ |
H A D | lldp-tlv.c | 93 int tlv_packet_append_bytes(tlv_packet *m, const void *data, size_t data_length) { argument 98 assert_return(data_length, -EINVAL); 100 if (m->length + data_length > ETHER_MAX_LEN) 104 memcpy(p, data, data_length); 105 m->length += data_length; 231 int tlv_packet_read_string(tlv_packet *m, char **data, uint16_t *data_length) { argument 242 *data_length = m->container->data + m->container->length - m->container->read_pos; 244 m->container->read_pos += *data_length; 249 int tlv_packet_read_bytes(tlv_packet *m, uint8_t **data, uint16_t *data_length) { argument 260 *data_length [all...] |
Completed in 59 milliseconds