Lines Matching refs:sd_netlink_message

23 int message_new_empty(sd_netlink *nl, sd_netlink_message **ret) {  in message_new_empty()
24 sd_netlink_message *m; in message_new_empty()
32 m = new(sd_netlink_message, 1); in message_new_empty()
36 *m = (sd_netlink_message) { in message_new_empty()
51 sd_netlink_message **ret) { in message_new_full()
53 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL; in message_new_full()
82 int message_new(sd_netlink *nl, sd_netlink_message **ret, uint16_t type) { in message_new()
97 int message_new_synthetic_error(sd_netlink *nl, int error, uint32_t serial, sd_netlink_message **re… in message_new_synthetic_error()
116 int sd_netlink_message_request_dump(sd_netlink_message *m, int dump) { in sd_netlink_message_request_dump()
130 DEFINE_TRIVIAL_REF_FUNC(sd_netlink_message, sd_netlink_message);
132 sd_netlink_message *sd_netlink_message_unref(sd_netlink_message *m) { in sd_netlink_message_unref()
141 sd_netlink_message *t = m; in sd_netlink_message_unref()
149 int sd_netlink_message_get_type(sd_netlink_message *m, uint16_t *type) { in sd_netlink_message_get_type()
158 int sd_netlink_message_set_flags(sd_netlink_message *m, uint16_t flags) { in sd_netlink_message_set_flags()
167 int sd_netlink_message_is_broadcast(sd_netlink_message *m) { in sd_netlink_message_is_broadcast()
175 static int add_rtattr(sd_netlink_message *m, unsigned short type, const void *data, size_t data_len… in add_rtattr()
217 static int message_attribute_has_type(sd_netlink_message *m, size_t *out_size, uint16_t attribute_t… in message_attribute_has_type()
234 int sd_netlink_message_append_string(sd_netlink_message *m, unsigned short type, const char *data) { in sd_netlink_message_append_string()
260 int sd_netlink_message_append_strv(sd_netlink_message *m, unsigned short type, char * const *data) { in sd_netlink_message_append_strv()
288 int sd_netlink_message_append_flag(sd_netlink_message *m, unsigned short type) { in sd_netlink_message_append_flag()
306 int sd_netlink_message_append_u8(sd_netlink_message *m, unsigned short type, uint8_t data) { in sd_netlink_message_append_u8()
323 int sd_netlink_message_append_u16(sd_netlink_message *m, unsigned short type, uint16_t data) { in sd_netlink_message_append_u16()
340 int sd_netlink_message_append_u32(sd_netlink_message *m, unsigned short type, uint32_t data) { in sd_netlink_message_append_u32()
357 int sd_netlink_message_append_u64(sd_netlink_message *m, unsigned short type, uint64_t data) { in sd_netlink_message_append_u64()
374 int sd_netlink_message_append_s8(sd_netlink_message *m, unsigned short type, int8_t data) { in sd_netlink_message_append_s8()
391 int sd_netlink_message_append_s16(sd_netlink_message *m, unsigned short type, int16_t data) { in sd_netlink_message_append_s16()
408 int sd_netlink_message_append_s32(sd_netlink_message *m, unsigned short type, int32_t data) { in sd_netlink_message_append_s32()
425 int sd_netlink_message_append_s64(sd_netlink_message *m, unsigned short type, int64_t data) { in sd_netlink_message_append_s64()
442 int sd_netlink_message_append_data(sd_netlink_message *m, unsigned short type, const void *data, si… in sd_netlink_message_append_data()
455 int netlink_message_append_in_addr_union(sd_netlink_message *m, unsigned short type, int family, co… in netlink_message_append_in_addr_union()
474 int sd_netlink_message_append_in_addr(sd_netlink_message *m, unsigned short type, const struct in_a… in sd_netlink_message_append_in_addr()
478 int sd_netlink_message_append_in6_addr(sd_netlink_message *m, unsigned short type, const struct in6… in sd_netlink_message_append_in6_addr()
482 int netlink_message_append_sockaddr_union(sd_netlink_message *m, unsigned short type, const union s… in netlink_message_append_sockaddr_union()
501 int sd_netlink_message_append_sockaddr_in(sd_netlink_message *m, unsigned short type, const struct … in sd_netlink_message_append_sockaddr_in()
505 int sd_netlink_message_append_sockaddr_in6(sd_netlink_message *m, unsigned short type, const struct… in sd_netlink_message_append_sockaddr_in6()
509 int sd_netlink_message_append_ether_addr(sd_netlink_message *m, unsigned short type, const struct e… in sd_netlink_message_append_ether_addr()
527 int netlink_message_append_hw_addr(sd_netlink_message *m, unsigned short type, const struct hw_addr… in netlink_message_append_hw_addr()
546 int sd_netlink_message_append_cache_info(sd_netlink_message *m, unsigned short type, const struct i… in sd_netlink_message_append_cache_info()
564 int sd_netlink_message_open_container(sd_netlink_message *m, unsigned short type) { in sd_netlink_message_open_container()
613 int sd_netlink_message_open_container_union(sd_netlink_message *m, unsigned short type, const char … in sd_netlink_message_open_container_union()
648 int sd_netlink_message_close_container(sd_netlink_message *m) { in sd_netlink_message_close_container()
660 int sd_netlink_message_open_array(sd_netlink_message *m, uint16_t type) { in sd_netlink_message_open_array()
678 int sd_netlink_message_cancel_array(sd_netlink_message *m) { in sd_netlink_message_cancel_array()
699 sd_netlink_message *m, in netlink_message_read_internal()
734 int sd_netlink_message_read(sd_netlink_message *m, unsigned short type, size_t size, void *data) { in sd_netlink_message_read()
753 int sd_netlink_message_read_data(sd_netlink_message *m, unsigned short type, size_t *ret_size, void… in sd_netlink_message_read_data()
779 int sd_netlink_message_read_data_suffix0(sd_netlink_message *m, unsigned short type, size_t *ret_si… in sd_netlink_message_read_data_suffix0()
805 int sd_netlink_message_read_string_strdup(sd_netlink_message *m, unsigned short type, char **data) { in sd_netlink_message_read_string_strdup()
832 int sd_netlink_message_read_string(sd_netlink_message *m, unsigned short type, const char **data) { in sd_netlink_message_read_string()
855 int sd_netlink_message_read_u8(sd_netlink_message *m, unsigned short type, uint8_t *data) { in sd_netlink_message_read_u8()
878 int sd_netlink_message_read_u16(sd_netlink_message *m, unsigned short type, uint16_t *data) { in sd_netlink_message_read_u16()
906 int sd_netlink_message_read_u32(sd_netlink_message *m, unsigned short type, uint32_t *data) { in sd_netlink_message_read_u32()
934 int sd_netlink_message_read_ether_addr(sd_netlink_message *m, unsigned short type, struct ether_add… in sd_netlink_message_read_ether_addr()
957 int netlink_message_read_hw_addr(sd_netlink_message *m, unsigned short type, struct hw_addr_data *d… in netlink_message_read_hw_addr()
982 int sd_netlink_message_read_cache_info(sd_netlink_message *m, unsigned short type, struct ifa_cache… in sd_netlink_message_read_cache_info()
1005 int netlink_message_read_in_addr_union(sd_netlink_message *m, unsigned short type, int family, unio… in netlink_message_read_in_addr_union()
1029 int sd_netlink_message_read_in_addr(sd_netlink_message *m, unsigned short type, struct in_addr *dat… in sd_netlink_message_read_in_addr()
1040 int sd_netlink_message_read_in6_addr(sd_netlink_message *m, unsigned short type, struct in6_addr *d… in sd_netlink_message_read_in6_addr()
1051 int sd_netlink_message_has_flag(sd_netlink_message *m, unsigned short type) { in sd_netlink_message_has_flag()
1072 int sd_netlink_message_read_strv(sd_netlink_message *m, unsigned short container_type, unsigned sho… in sd_netlink_message_read_strv()
1134 sd_netlink_message *m, in netlink_container_parse()
1169 int sd_netlink_message_enter_container(sd_netlink_message *m, unsigned short type_id) { in sd_netlink_message_enter_container()
1264 int sd_netlink_message_enter_array(sd_netlink_message *m, unsigned short type_id) { in sd_netlink_message_enter_array()
1293 int sd_netlink_message_exit_container(sd_netlink_message *m) { in sd_netlink_message_exit_container()
1307 int sd_netlink_message_get_max_attribute(sd_netlink_message *m, uint16_t *ret) { in sd_netlink_message_get_max_attribute()
1316 uint32_t message_get_serial(sd_netlink_message *m) { in message_get_serial()
1323 int sd_netlink_message_is_error(sd_netlink_message *m) { in sd_netlink_message_is_error()
1330 int sd_netlink_message_get_errno(sd_netlink_message *m) { in sd_netlink_message_get_errno()
1344 static int netlink_message_parse_error(sd_netlink_message *m) { in netlink_message_parse_error()
1365 int sd_netlink_message_rewind(sd_netlink_message *m, sd_netlink *nl) { in sd_netlink_message_rewind()
1400 void message_seal(sd_netlink_message *m) { in message_seal()
1406 sd_netlink_message *sd_netlink_message_next(sd_netlink_message *m) { in sd_netlink_message_next()