Programmable Gateways
Login
Overview
Power Industry
Serial Device Server
Programmable Gateways
Serial/Ethernet Gateway XNUT-100
CAN/Ethernet Gateway XNUT-105
Ethernet CPU Boards
Shop
Information and Support
Main Page
|
Modules
|
Data Structures
|
File List
|
Data Fields
|
Globals
|
Related Pages
|
Examples
bootp Struct Reference
[
DHCP
]
Detailed Description
BOOTP message 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.