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