blob: 8e5441bc75ced45202abaa2b61c36d6d2d4c6abb [file] [log] [blame]
Russ Dill61fb4892002-10-14 21:41:28 +00001#ifndef _CLIENTPACKET_H
2#define _CLIENTPACKET_H
3
Russ Dill76729b82003-12-16 20:44:15 +00004#include "packet.h"
5
Russ Dill61fb4892002-10-14 21:41:28 +00006unsigned 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