Home
last modified time | relevance | path

Searched refs:bp_htype (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/libexec/bootpd/
H A Dbootpd.c631 if (bp->bp_htype >= hwinfocnt) { in handle_request()
632 report(LOG_NOTICE, "bad hw addr type %u", bp->bp_htype); in handle_request()
649 bp->bp_sname, netname(bp->bp_htype), in handle_request()
667 netname(bp->bp_htype), in handle_request()
670 hlen = haddrlength(bp->bp_htype); in handle_request()
673 netname(bp->bp_htype), in handle_request()
676 dummyhost.htype = bp->bp_htype; in handle_request()
682 bp->bp_htype == HTYPE_IEEE802) in handle_request()
701 netname(bp->bp_htype), in handle_request()
1056 haf = (int) bp->bp_htype; in sendreply()
H A Dbootp.h44 unsigned char bp_htype; /* hardware addr type */ member
H A DToDo41 (bp->bp_htype == 0))
/freebsd-14.2/contrib/tcpdump/
H A Dprint-bootp.c57 nd_uint8_t bp_htype; /* hardware addr type */ member
288 uint8_t bp_op, bp_htype, bp_hlen; in bootp_print() local
296 bp_htype = GET_U_1(bp->bp_htype); in bootp_print()
298 if (bp_htype == 1 && bp_hlen == MAC_ADDR_LEN && bp_op == BOOTPREQUEST) { in bootp_print()
310 if (bp_htype != 1) in bootp_print()
311 ND_PRINT(", htype %u", bp_htype); in bootp_print()
314 if (bp_htype != 1 || bp_hlen != MAC_ADDR_LEN) in bootp_print()
347 if (bp_htype == 1 && bp_hlen == MAC_ADDR_LEN) { in bootp_print()
/freebsd-14.2/stand/libsa/
H A Dbootp.h28 unsigned char bp_htype; /* hardware addr type */ member
H A Dbootp.c153 bp->bp_htype = 1; /* 10Mb Ethernet (48 bits) */ in bootp()
/freebsd-14.2/libexec/bootpd/tools/bootptest/
H A Dprint-bootp.c90 if (bp->bp_htype != 1) in bootp_print()
91 printf(" htype:%d", bp->bp_htype); in bootp_print()
H A Dbootptest.c324 bp->bp_htype = 1; in main()
/freebsd-14.2/libexec/bootpd/bootpgw/
H A Dbootpgw.c646 haf = (int) bp->bp_htype; in handle_reply()