Home
last modified time | relevance | path

Searched refs:bp_vend (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/net/
Dbootp.c374 if (net_read_u32((u32 *)&bp->bp_vend[0]) == htonl(BOOTP_VENDOR_MAGIC)) in bootp_handler()
375 bootp_process_vendor((uchar *)&bp->bp_vend[4], len); in bootp_handler()
787 extlen = dhcp_extended((u8 *)bp->bp_vend, DHCP_DISCOVER, zero_ip, in bootp_request()
790 extlen = bootp_extended((u8 *)bp->bp_vend); in bootp_request()
921 uchar *popt = (uchar *)&bp->bp_vend[4]; in dhcp_packet_process_options()
924 if (net_read_u32((u32 *)&bp->bp_vend[0]) != htonl(BOOTP_VENDOR_MAGIC)) in dhcp_packet_process_options()
1019 extlen = dhcp_extended((u8 *)bp->bp_vend, DHCP_REQUEST, in dhcp_send_request_packet()
1086 if (dhcp_message_type((u8 *)bp->bp_vend) == DHCP_ACK) { in dhcp_handler()
Dbootp.h51 char bp_vend[OPT_FIELD_SIZE]; /* Vendor information */ member
/external/tcpdump/
Dprint-bootp.c74 uint8_t bp_vend[64]; /* vendor-specific area */ member
381 ND_TCHECK(bp->bp_vend[0]); in bootp_print()
382 if (memcmp((const char *)bp->bp_vend, vm_rfc1048, in bootp_print()
384 rfc1048_print(ndo, bp->bp_vend); in bootp_print()
385 else if (memcmp((const char *)bp->bp_vend, vm_cmu, in bootp_print()
387 cmu_print(ndo, bp->bp_vend); in bootp_print()
391 ul = EXTRACT_32BITS(&bp->bp_vend); in bootp_print()