Home
last modified time | relevance | path

Searched refs:bp_hlen (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/tcpdump/
H A Dprint-bootp.c58 nd_uint8_t bp_hlen; /* hardware addr length */ member
288 uint8_t bp_op, bp_htype, bp_hlen; in bootp_print() local
297 bp_hlen = GET_U_1(bp->bp_hlen); in bootp_print()
298 if (bp_htype == 1 && bp_hlen == MAC_ADDR_LEN && bp_op == BOOTPREQUEST) { in bootp_print()
314 if (bp_htype != 1 || bp_hlen != MAC_ADDR_LEN) in bootp_print()
315 ND_PRINT(", hlen %u", bp_hlen); in bootp_print()
347 if (bp_htype == 1 && bp_hlen == MAC_ADDR_LEN) { in bootp_print()
/freebsd/libexec/bootpd/tools/bootptest/
H A Dprint-bootp.c94 if (bp->bp_hlen != 6) in bootp_print()
95 printf(" hlen:%d", bp->bp_hlen); in bootp_print()
98 if (bp->bp_hlen) { in bootp_print()
111 dump_hex(bp->bp_chaddr, bp->bp_hlen); in bootp_print()
H A Dbootptest.c325 bp->bp_hlen = 6; in main()
326 bcopy(eaddr, bp->bp_chaddr, bp->bp_hlen); in main()
/freebsd/libexec/bootpd/
H A Dbootpd.c649 haddrtoa(bp->bp_chaddr, bp->bp_hlen)); in handle_request()
667 haddrtoa(bp->bp_chaddr, bp->bp_hlen)); in handle_request()
670 if (hlen != bp->bp_hlen) { in handle_request()
688 haddrtoa(dummyhost.haddr, bp->bp_hlen)); in handle_request()
701 haddrtoa(bp->bp_chaddr, bp->bp_hlen)); in handle_request()
1052 len = bp->bp_hlen; in sendreply()
H A Dbootp.h45 unsigned char bp_hlen; /* hardware addr length */ member
/freebsd/stand/libsa/
H A Dbootp.h29 unsigned char bp_hlen; /* hardware addr length */ member
H A Dbootp.c154 bp->bp_hlen = 6; in bootp()
/freebsd/libexec/bootpd/bootpgw/
H A Dbootpgw.c640 len = bp->bp_hlen; in handle_reply()