Mike Frysinger | 7031f62 | 2006-05-08 03:20:50 +0000 | [diff] [blame] | 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 |