blob: b9b9a668ff1052fc791095ad3834453034c59f29 [file] [log] [blame]
"Robert P. J. Day"63fc1a92006-07-02 19:47:05 +00001/* vi: set sw=4 ts=4: */
Mike Frysinger7031f622006-05-08 03:20:50 +00002#ifndef _CLIENTPACKET_H
3#define _CLIENTPACKET_H
4
5#include "packet.h"
6
7unsigned long random_xid(void);
8int send_discover(unsigned long xid, unsigned long requested);
9int send_selecting(unsigned long xid, unsigned long server, unsigned long requested);
10int send_renew(unsigned long xid, unsigned long server, unsigned long ciaddr);
11int send_renew(unsigned long xid, unsigned long server, unsigned long ciaddr);
12int send_release(unsigned long server, unsigned long ciaddr);
13int get_raw_packet(struct dhcpMessage *payload, int fd);
14
15#endif