#include "dhcpd.h"
+#include "clientpacket.h"
#include "options.h"
#include "dhcpc.h"
#include "common.h"
#ifndef _CLIENTPACKET_H
#define _CLIENTPACKET_H
+#include "packet.h"
+
unsigned long random_xid(void);
int send_discover(unsigned long xid, unsigned long requested);
int send_selecting(unsigned long xid, unsigned long server, unsigned long requested);
#include "dhcpd.h"
#include "files.h"
#include "options.h"
+#include "leases.h"
#include "arpping.h"
#include "common.h"
#endif
#include <errno.h>
+#include "packet.h"
#include "dhcpd.h"
#include "options.h"
#include "common.h"
#include "options.h"
#include "dhcpd.h"
#include "dhcpc.h"
-#include "options.h"
+#include "script.h"
#include "common.h"
/* get a rough idea of how long an option will be (rounding up...) */
#include <string.h>
#include <time.h>
+#include "serverpacket.h"
#include "dhcpd.h"
#include "options.h"
#include "common.h"
#ifndef _SERVERPACKET_H
#define _SERVERPACKET_H
+#include "packet.h"
int sendOffer(struct dhcpMessage *oldpacket);
int sendNAK(struct dhcpMessage *oldpacket);
#include <linux/if_ether.h>
#endif
+#include "socket.h"
#include "common.h"
int read_interface(char *interface, int *ifindex, u_int32_t *addr, unsigned char *arp)