Nut/OS  5.0.5
API Reference
bootp Struct Reference

BOOTP message structure. More...

Collaboration diagram for bootp:
[legend]

Data Fields

uint8_t bp_op
 Packet opcode type: 1=request, 2=reply.
uint8_t bp_htype
 Hardware address type: 1=Ethernet.
uint8_t bp_hlen
 Hardware address length: 6 for Ethernet.
uint8_t bp_hops
 Gateway hops.
uint32_t bp_xid
 Transaction ID.
uint16_t bp_secs
 Seconds since boot began.
uint16_t bp_flags
 RFC1532 broadcast, etc.
uint32_t bp_ciaddr
 Client IP address.
uint32_t bp_yiaddr
 'Your' IP address
uint32_t bp_siaddr
 Server IP address.
uint32_t bp_giaddr
 Gateway IP address.
uint8_t bp_chaddr [16]
 Client hardware address.
char bp_sname [64]
 Server host name.
char bp_file [128]
 Boot file name.
uint8_t bp_options [312]
 Vendor-specific area.

Detailed Description

BOOTP message structure.


Field Documentation

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

Hardware address type: 1=Ethernet.

Hardware address length: 6 for Ethernet.

Gateway hops.

Transaction ID.

Seconds since boot began.

RFC1532 broadcast, etc.

Client IP address.

'Your' IP address

Server IP address.

Gateway IP address.

Client hardware address.

char bootp::bp_sname[64]

Server host name.

char bootp::bp_file[128]

Boot file name.

Vendor-specific area.


The documentation for this struct was generated from the following file: