chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sd-rtnl: multi-part message - store as linked-list rather than independent messages
[elogind.git]
/
src
/
libsystemd
/
sd-rtnl
/
rtnl-internal.h
diff --git
a/src/libsystemd/sd-rtnl/rtnl-internal.h
b/src/libsystemd/sd-rtnl/rtnl-internal.h
index 9d857ed9913fd373c0dd6af03bdbf292a4b3f5fe..2f788d04f6cd08c2402ba0a9d0aa1d5073d45d41 100644
(file)
--- a/
src/libsystemd/sd-rtnl/rtnl-internal.h
+++ b/
src/libsystemd/sd-rtnl/rtnl-internal.h
@@
-102,6
+102,8
@@
struct sd_rtnl_message {
size_t *rta_offset_tb[RTNL_CONTAINER_DEPTH];
unsigned short rta_tb_size[RTNL_CONTAINER_DEPTH];
bool sealed:1;
size_t *rta_offset_tb[RTNL_CONTAINER_DEPTH];
unsigned short rta_tb_size[RTNL_CONTAINER_DEPTH];
bool sealed:1;
+
+ sd_rtnl_message *next; /* next in a chain of multi-part messages */
};
int message_new(sd_rtnl *rtnl, sd_rtnl_message **ret, uint16_t type);
};
int message_new(sd_rtnl *rtnl, sd_rtnl_message **ret, uint16_t type);