diff options
Diffstat (limited to 'sbin/dhclient/privsep.h')
-rw-r--r-- | sbin/dhclient/privsep.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sbin/dhclient/privsep.h b/sbin/dhclient/privsep.h index 6d93f9175dd..ba3d645a53c 100644 --- a/sbin/dhclient/privsep.h +++ b/sbin/dhclient/privsep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: privsep.h,v 1.18 2013/03/30 16:10:01 krw Exp $ */ +/* $OpenBSD: privsep.h,v 1.19 2013/06/01 16:26:07 krw Exp $ */ /* * Copyright (c) 2004 Henning Brauer <henning@openbsd.org> @@ -25,7 +25,7 @@ enum imsg_code { IMSG_DELETE_ADDRESS, IMSG_ADD_ADDRESS, IMSG_FLUSH_ROUTES, - IMSG_ADD_DEFAULT_ROUTE, + IMSG_ADD_ROUTE, IMSG_HUP, IMSG_WRITE_FILE }; @@ -49,10 +49,12 @@ struct imsg_flush_routes { int zapzombies; }; -struct imsg_add_default_route { - int rdomain; - struct in_addr addr; +struct imsg_add_route { + struct in_addr dest; + struct in_addr netmask; struct in_addr gateway; + int rdomain; + int addrs; }; struct imsg_hup { @@ -76,6 +78,6 @@ void dispatch_imsg(struct imsgbuf *); void priv_delete_address(struct imsg_delete_address *); void priv_add_address(struct imsg_add_address *); void priv_flush_routes(struct imsg_flush_routes *); -void priv_add_default_route(struct imsg_add_default_route *); +void priv_add_route(struct imsg_add_route *); void priv_cleanup(struct imsg_hup *); void priv_write_file(struct imsg_write_file *); |