Nut/OS  4.10.3
API Reference
bootp Struct Reference

BOOTP message structure. More...

Collaboration diagram for bootp:

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.

Definition at line 552 of file dhcpc.c.


Field Documentation

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

Definition at line 553 of file dhcpc.c.

Hardware address type: 1=Ethernet.

Definition at line 554 of file dhcpc.c.

Hardware address length: 6 for Ethernet.

Definition at line 555 of file dhcpc.c.

Gateway hops.

Definition at line 556 of file dhcpc.c.

Transaction ID.

Definition at line 557 of file dhcpc.c.

Seconds since boot began.

Definition at line 558 of file dhcpc.c.

RFC1532 broadcast, etc.

Definition at line 559 of file dhcpc.c.

Client IP address.

Definition at line 560 of file dhcpc.c.

'Your' IP address

Definition at line 561 of file dhcpc.c.

Server IP address.

Definition at line 562 of file dhcpc.c.

Gateway IP address.

Definition at line 563 of file dhcpc.c.

Client hardware address.

Definition at line 564 of file dhcpc.c.

char bootp::bp_sname[64]

Server host name.

Definition at line 565 of file dhcpc.c.

char bootp::bp_file[128]

Boot file name.

Definition at line 566 of file dhcpc.c.

Vendor-specific area.

Definition at line 567 of file dhcpc.c.


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