diff options
author | 2020-12-01 17:31:37 +0000 | |
---|---|---|
committer | 2020-12-01 17:31:37 +0000 | |
commit | e88dba76c9f2a76e34b6643d0070c8cea2bfdf34 (patch) | |
tree | 06b39fe49065d7174434992d5a2375e8c16e77e3 /usr.sbin/rad/rad.h | |
parent | Set type to DB_RECNO in __rec_open() for consistency with other db types. (diff) | |
download | wireguard-openbsd-e88dba76c9f2a76e34b6643d0070c8cea2bfdf34.tar.xz wireguard-openbsd-e88dba76c9f2a76e34b6643d0070c8cea2bfdf34.zip |
Let rad(8) handle all rdomains in a single daemon, similar to previous
work in slaacd.
Suggested / requested by tb who showed me previous work by reyk which
unfortunately predated my work in slaacd and followed a different
pattern to that done in slaacd.
Testing & OK tb
Diffstat (limited to 'usr.sbin/rad/rad.h')
-rw-r--r-- | usr.sbin/rad/rad.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/rad/rad.h b/usr.sbin/rad/rad.h index 823a2a9d633..92368e50022 100644 --- a/usr.sbin/rad/rad.h +++ b/usr.sbin/rad/rad.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rad.h,v 1.18 2020/03/30 17:47:48 florian Exp $ */ +/* $OpenBSD: rad.h,v 1.19 2020/12/01 17:31:37 florian Exp $ */ /* * Copyright (c) 2018 Florian Obser <florian@openbsd.org> @@ -67,10 +67,10 @@ enum imsg_type { IMSG_RECONF_RA_DNSSL, IMSG_RECONF_END, IMSG_ICMP6SOCK, + IMSG_OPEN_ICMP6SOCK, IMSG_ROUTESOCK, IMSG_CONTROLFD, IMSG_STARTUP, - IMSG_STARTUP_DONE, IMSG_RA_RS, IMSG_SEND_RA, IMSG_UPDATE_IF, @@ -145,9 +145,7 @@ struct imsg_send_ra { extern uint32_t cmd_opts; /* rad.c */ -void main_imsg_compose_frontend(int, pid_t, void *, uint16_t); -void main_imsg_compose_frontend_fd(int, pid_t, int); - +int main_imsg_compose_frontend(int, int, void *, uint16_t); void main_imsg_compose_engine(int, pid_t, void *, uint16_t); void merge_config(struct rad_conf *, struct rad_conf *); void imsg_event_add(struct imsgev *); |