summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-13 13:51:51 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-13 13:55:15 +0100
commit6d0b55c272ea31d025e8b3c311cea8cda0bfefd7 (patch)
tree55f2ec0104f2d0a49efdc282c597e1429f4e0345 /src/systemd
parent5a8bcb674f71a20e95df55319b34c556638378ce (diff)
nspawn: add new option "--port=" for exposing container ports on the local host
This exposes an IP port on the container as local port using DNAT.
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/sd-rtnl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemd/sd-rtnl.h b/src/systemd/sd-rtnl.h
index b8836e2e1b..79191723c6 100644
--- a/src/systemd/sd-rtnl.h
+++ b/src/systemd/sd-rtnl.h
@@ -42,6 +42,7 @@ typedef int (*sd_rtnl_message_handler_t)(sd_rtnl *rtnl, sd_rtnl_message *m, void
/* bus */
int sd_rtnl_open(sd_rtnl **nl, unsigned n_groups, ...);
+int sd_rtnl_open_fd(sd_rtnl **nl, int fd, unsigned n_groups, ...);
int sd_rtnl_inc_rcvbuf(const sd_rtnl *const rtnl, const int size);
sd_rtnl *sd_rtnl_ref(sd_rtnl *nl);