blob: 8e5441bc75ced45202abaa2b61c36d6d2d4c6abb [file] [log] [blame]
Mike Frysinger7031f622006-05-08 03:20:50 +00001#ifndef _CLIENTPACKET_H
2#define _CLIENTPACKET_H
3
4#include "packet.h"
5
6unsigned long random_xid(void);
7int send_discover(unsigned long xid, unsigned long requested);
8int send_selecting(unsigned long xid, unsigned long server, unsigned long requested);
9int send_renew(unsigned long xid, unsigned long server, unsigned long ciaddr);
10int send_renew(unsigned long xid, unsigned long server, unsigned long ciaddr);
11int send_release(unsigned long server, unsigned long ciaddr);
12int get_raw_packet(struct dhcpMessage *payload, int fd);
13
14#endif