diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-05-09 14:34:05 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-05-09 14:34:05 -0400 |
commit | 36c9a0728dc64739022569e9134274b34ba89c79 (patch) | |
tree | c8c2d5cd5b0bcf91d09abd141194b7be6e4150f3 /src/basic/socket-util.h | |
parent | 7be8fb7bfc5c429131521ebc0bbf47ba3a22eb2b (diff) | |
parent | 54ff1d6913a2b69dc6a544a44b04baf111d8196a (diff) |
Merge pull request #3209 from poettering/nspawn-network-zones
introduce simple "network zones" concept to nspawn
Diffstat (limited to 'src/basic/socket-util.h')
-rw-r--r-- | src/basic/socket-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/socket-util.h b/src/basic/socket-util.h index 160f7c484b..e9230e4a9f 100644 --- a/src/basic/socket-util.h +++ b/src/basic/socket-util.h @@ -123,6 +123,8 @@ int fd_inc_rcvbuf(int fd, size_t n); int ip_tos_to_string_alloc(int i, char **s); int ip_tos_from_string(const char *s); +bool ifname_valid(const char *p); + int getpeercred(int fd, struct ucred *ucred); int getpeersec(int fd, char **ret); |