diff options
author | "Vladimir N. Oleynik" | 2005-09-22 15:07:33 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" | 2005-09-22 15:07:33 +0000 |
commit | 2f9c30a2d567ba7bdb6351e0167eb0b59735b898 (patch) | |
tree | e811a2285654327b344c1fb242683acb2782f2b8 /networking/udhcp/packet.h | |
parent | ac9731704a03d08b061ee02853e7cebe36964aba (diff) | |
download | busybox-2f9c30a2d567ba7bdb6351e0167eb0b59735b898.zip busybox-2f9c30a2d567ba7bdb6351e0167eb0b59735b898.tar.gz |
safe exported namespace for udhcp. Not full, bore :-(
Diffstat (limited to 'networking/udhcp/packet.h')
-rw-r--r-- | networking/udhcp/packet.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/networking/udhcp/packet.h b/networking/udhcp/packet.h index f5859e8..b2be5d7 100644 --- a/networking/udhcp/packet.h +++ b/networking/udhcp/packet.h @@ -29,6 +29,12 @@ struct udp_dhcp_packet { struct dhcpMessage data; }; +#define init_header udhcp_init_header +#define get_packet udhcp_get_packet +#define checksum udhcp_checksum +#define raw_packet udhcp_raw_packet +#define kernel_packet udhcp_kernel_packet + void init_header(struct dhcpMessage *packet, char type); int get_packet(struct dhcpMessage *packet, int fd); uint16_t checksum(void *addr, int count); |