Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages | Examples

bootp Struct Reference

#include <pro/dhcp.h>


Detailed Description

DHCP telegram structure.


Data Fields

u_char bp_op
 Packet opcode type: 1=request, 2=reply.

u_char bp_htype
 Hardware address type: 1=Ethernet.

u_char bp_hlen
 Hardware address length: 6 for Ethernet.

u_char bp_hops
 Gateway hops.

u_long bp_xid
 Transaction ID.

u_short bp_secs
 Seconds since boot began.

u_short bp_flags
 RFC1532 broadcast, etc.

u_long bp_ciaddr
 Client IP address.

u_long bp_yiaddr
 'Your' IP address

u_long bp_siaddr
 Server IP address.

u_long bp_giaddr
 Gateway IP address.

u_char bp_chaddr [16]
 Client hardware address.

char bp_sname [64]
 Server host name.

char bp_file [128]
 Boot file name.

u_char bp_options [312]
 Vendor-specific area.


© 2000-2003 by egnite Software GmbH - visit http://www.ethernut.de/