summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhcpd.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2007-01-25 01:21:05 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2007-01-25 01:21:05 +0000
commit728c108bb6149412d138596071e6ac86ecf76cb0 (patch)
tree38b163ae671e43fa93773e60fbaefb638d4361c0 /sbin/dhclient/dhcpd.h
parent2fadfce2d7dacad94118b0d92c14f5f80551bc5c (diff)
Cleanup some more code. Eliminate dhcp(), bootp(), parse_options() by
moving the minimal code into do_packet(). Eliminate repeated code for checking the client hardware address and the reject list by putting those checks into do_packet as well. No functional change, just much easier to read. ok stevesk@
Diffstat (limited to 'sbin/dhclient/dhcpd.h')
-rw-r--r--sbin/dhclient/dhcpd.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h
index dc1a412e93c..0feca0fcbe5 100644
--- a/sbin/dhclient/dhcpd.h
+++ b/sbin/dhclient/dhcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.h,v 1.62 2007/01/16 20:22:20 krw Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.63 2007/01/25 01:21:04 krw Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
@@ -169,7 +169,6 @@ struct client_state {
struct string_list *medium;
struct dhcp_packet packet;
int packet_length;
- int options_valid;
struct iaddr requested_address;
char **scriptEnv;
int scriptEnvsize;
@@ -333,9 +332,6 @@ struct client_lease *packet_to_lease(struct iaddr, struct option_data *);
void go_daemon(void);
void client_location_changed(void);
-void bootp(struct iaddr, struct option_data *);
-void dhcp(struct iaddr, struct option_data *);
-
/* packet.c */
void assemble_hw_header(unsigned char *, int *, struct hardware *);
void assemble_udp_ip_header(unsigned char *, int *, u_int32_t, u_int32_t,