summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-11-21 20:44:29 +0100
committerTom Gundersen <teg@jklm.no>2013-11-26 01:32:25 +0100
commit33125ac50bafd93dd98934f5f6ff23a59da8d793 (patch)
treede64a2ef5ef21a15d94d3cecd7b27949902e5609 /src/systemd
parenta9bc6d2df16c1d9f8a99d2cc9be2babf62bd173f (diff)
rtnl: add preliminary support for containers
For now, we only support one container type IFLA_LINKINFO, and we still lack support for parsing the containers again.
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/sd-rtnl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/systemd/sd-rtnl.h b/src/systemd/sd-rtnl.h
index e5fa785a9..6db5d8a24 100644
--- a/src/systemd/sd-rtnl.h
+++ b/src/systemd/sd-rtnl.h
@@ -76,7 +76,13 @@ sd_rtnl_message *sd_rtnl_message_unref(sd_rtnl_message *m);
int sd_rtnl_message_get_errno(sd_rtnl_message *m);
int sd_rtnl_message_get_type(sd_rtnl_message *m, uint16_t *type);
+
+int sd_rtnl_message_link_get_ifindex(sd_rtnl_message *m, int *ifindex);
+
int sd_rtnl_message_append(sd_rtnl_message *m, unsigned short type, const void *data);
+int sd_rtnl_message_open_container(sd_rtnl_message *m, unsigned short type);
+int sd_rtnl_message_close_container(sd_rtnl_message *m);
+
int sd_rtnl_message_read(sd_rtnl_message *m, unsigned short *type, void **data);
_SD_END_DECLARATIONS;