Version increased to 0.9.8cvs20050303-2.1maemo2.
[udhcp] / clientpacket.h
1 #ifndef _CLIENTPACKET_H
2 #define _CLIENTPACKET_H
3
4 #include "packet.h"
5
6 unsigned long random_xid(void);
7 int send_discover(unsigned long xid, unsigned long requested);
8 int send_selecting(unsigned long xid, unsigned long server, unsigned long requested);
9 int send_renew(unsigned long xid, unsigned long server, unsigned long ciaddr);
10 int send_renew(unsigned long xid, unsigned long server, unsigned long ciaddr);
11 int send_release(unsigned long server, unsigned long ciaddr);
12 int get_raw_packet(struct dhcpMessage *payload, int fd);
13
14 #endif