Russ Dill | 61fb489 | 2002-10-14 21:41:28 +0000 | [diff] [blame] | 1 | #ifndef _CLIENTPACKET_H |
| 2 | #define _CLIENTPACKET_H |
| 3 | |
Russ Dill | 76729b8 | 2003-12-16 20:44:15 +0000 | [diff] [blame] | 4 | #include "packet.h" |
| 5 | |
Russ Dill | 61fb489 | 2002-10-14 21:41:28 +0000 | [diff] [blame] | 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 |