summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-rtnl/rtnl-internal.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-04-17 21:32:25 +0200
committerTom Gundersen <teg@jklm.no>2014-04-19 16:47:52 +0200
commit4e996881b2a24390b534d84aa89ba70401cc7e69 (patch)
tree4e8788a15bd6bd2d2bb53ebda422299461e27aa5 /src/libsystemd/sd-rtnl/rtnl-internal.h
parent24a026737da3f108ba56c1c9fe7786b8173376d5 (diff)
sd-rtnl: message - concatenate multi-part messages from different packets
Diffstat (limited to 'src/libsystemd/sd-rtnl/rtnl-internal.h')
-rw-r--r--src/libsystemd/sd-rtnl/rtnl-internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libsystemd/sd-rtnl/rtnl-internal.h b/src/libsystemd/sd-rtnl/rtnl-internal.h
index 6dd65b2de7..a192198419 100644
--- a/src/libsystemd/sd-rtnl/rtnl-internal.h
+++ b/src/libsystemd/sd-rtnl/rtnl-internal.h
@@ -68,6 +68,10 @@ struct sd_rtnl {
unsigned rqueue_size;
size_t rqueue_allocated;
+ sd_rtnl_message **rqueue_partial;
+ unsigned rqueue_partial_size;
+ size_t rqueue_partial_allocated;
+
sd_rtnl_message **wqueue;
unsigned wqueue_size;
size_t wqueue_allocated;
@@ -115,6 +119,7 @@ int socket_write_message(sd_rtnl *nl, sd_rtnl_message *m);
int socket_read_message(sd_rtnl *nl);
int rtnl_rqueue_make_room(sd_rtnl *rtnl);
+int rtnl_rqueue_partial_make_room(sd_rtnl *rtnl);
int rtnl_message_read_internal(sd_rtnl_message *m, unsigned short type, void **data);
int rtnl_message_parse(sd_rtnl_message *m,