diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2018-01-28 23:12:37 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2018-01-28 23:12:37 +0000 |
commit | 60d57d10ec62f3cb932aa2e8fc86d5b26c3e117d (patch) | |
tree | bf4688d80b006928240b3a2f845a93e8c3938b5f /sbin/dhclient/dhcpd.h | |
parent | 74a0c8c07ea6d80b33dba9a4063557cc010cd693 (diff) |
Refactor and simplify the logic to select and invoke the
appropriate function to process a packet.
Diffstat (limited to 'sbin/dhclient/dhcpd.h')
-rw-r--r-- | sbin/dhclient/dhcpd.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h index dd90342bb8f..99763ef0dd5 100644 --- a/sbin/dhclient/dhcpd.h +++ b/sbin/dhclient/dhcpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dhcpd.h,v 1.246 2018/01/25 15:43:51 krw Exp $ */ +/* $OpenBSD: dhcpd.h,v 1.247 2018/01/28 23:12:36 krw Exp $ */ /* * Copyright (c) 2004 Henning Brauer <henning@openbsd.org> @@ -219,9 +219,12 @@ extern int cmd_opts; #define OPT_FOREGROUND 4 void dhcpoffer(struct interface_info *, struct option_data *, - char *); -void dhcpack(struct interface_info *, struct option_data *,char *); -void dhcpnak(struct interface_info *, struct option_data *,char *); + const char *); +void dhcpack(struct interface_info *, struct option_data *, + const char *); +void dhcpnak(struct interface_info *, const char *); +void bootreply(struct interface_info *, struct option_data *, + const char *); void free_client_lease(struct client_lease *); void routehandler(struct interface_info *, int); |