Home
last modified time | relevance | path

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

/freebsd/libexec/bootpd/
H A Dbootpd.c630 if (bp->bp_htype >= hwinfocnt) { in handle_request()
631 report(LOG_NOTICE, "bad hw addr type %u", bp->bp_htype); in handle_request()
648 bp->bp_sname, netname(bp->bp_htype), in handle_request()
666 netname(bp->bp_htype), in handle_request()
669 hlen = haddrlength(bp->bp_htype); in handle_request()
672 netname(bp->bp_htype), in handle_request()
675 dummyhost.htype = bp->bp_htype; in handle_request()
681 bp->bp_htype == HTYPE_IEEE802) in handle_request()
700 netname(bp->bp_htype), in handle_request()
1055 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/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/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/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/libexec/bootpd/bootpgw/
H A Dbootpgw.c645 haf = (int) bp->bp_htype; in handle_reply()