summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-net.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2017-10-25 13:22:29 +1100
committerDamien Miller <djm@mindrot.org>2017-10-25 13:22:50 +1100
commit6eee79f9b8d4a3b113b698383948a119acb82415 (patch)
treecabf4928da581a974940532ff30be734d682d2bc /openbsd-compat/port-net.h
parentf5594f939f844bbb688313697d6676238da355b3 (diff)
stubs for rdomain replacement functions
Diffstat (limited to 'openbsd-compat/port-net.h')
-rw-r--r--openbsd-compat/port-net.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/openbsd-compat/port-net.h b/openbsd-compat/port-net.h
index 926bc93e1..715e9fb34 100644
--- a/openbsd-compat/port-net.h
+++ b/openbsd-compat/port-net.h
@@ -31,4 +31,15 @@ int sys_tun_infilter(struct ssh *, struct Channel *, char *, int);
31u_char *sys_tun_outfilter(struct ssh *, struct Channel *, u_char **, size_t *); 31u_char *sys_tun_outfilter(struct ssh *, struct Channel *, u_char **, size_t *);
32#endif 32#endif
33 33
34#if defined(SYS_RDOMAIN_XXX)
35# define HAVE_SYS_GET_RDOMAIN
36# define HAVE_SYS_SET_RDOMAIN
37# define HAVE_SYS_SET_PROCESS_RDOMAIN
38# define HAVE_SYS_VALID_RDOMAIN
39char *sys_get_rdomain(int fd);
40int sys_set_rdomain(int fd, const char *name);
41int valid_rdomain(const char *name);
42void sys_set_process_rdomain(const char *name);
43#endif
44
34#endif 45#endif