Home
last modified time | relevance | path

Searched refs:OPT_FIELD_SIZE (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/net/
H A Dbootp.h23 #define OPT_FIELD_SIZE 312 macro
29 #define OPT_FIELD_SIZE 64 macro
51 char bp_vend[OPT_FIELD_SIZE]; /* Vendor information */
H A Dbootp.c125 else if (len < sizeof(struct bootp_hdr) - OPT_FIELD_SIZE) in check_reply_packet()
478 *e++ = (576 - 312 + OPT_FIELD_SIZE) >> 8; in dhcp_extended()
479 *e++ = (576 - 312 + OPT_FIELD_SIZE) & 0xff; in dhcp_extended()
633 *e++ = (576 - 312 + OPT_FIELD_SIZE) >> 16; in bootp_extended()
634 *e++ = (576 - 312 + OPT_FIELD_SIZE) & 0xff; in bootp_extended()
810 iplen = BOOTP_HDR_SIZE - OPT_FIELD_SIZE + extlen; in bootp_request()
1022 iplen = BOOTP_HDR_SIZE - OPT_FIELD_SIZE + extlen; in dhcp_send_request_packet()