Home
last modified time | relevance | path

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

/freebsd/stand/libsa/
H A Dbootp.c92 bootp_fill_request(unsigned char *bp_vend) in bootp_fill_request() argument
99 bp_vend[0] = TAG_CLASSID; in bootp_fill_request()
100 bp_vend[1] = 9; in bootp_fill_request()
101 bcopy("PXEClient", &bp_vend[2], 9); in bootp_fill_request()
102 bp_vend[11] = TAG_USER_CLASS; in bootp_fill_request()
104 bp_vend[12] = 8; in bootp_fill_request()
106 bp_vend[13] = 7; in bootp_fill_request()
107 bcopy("FreeBSD", &bp_vend[14], 7); in bootp_fill_request()
108 bp_vend[21] = TAG_PARAM_REQ; in bootp_fill_request()
109 bp_vend[22] = 7; in bootp_fill_request()
[all …]
H A Dbootp.h46 unsigned char bp_vend[BOOTP_VENDSIZE]; /* vendor-specific area */ member
/freebsd/libexec/bootpd/tools/bootptest/
H A Dprint-bootp.c163 vdlen = sizeof(bp->bp_vend); in bootp_print()
165 if (vdlen < (ep - bp->bp_vend)) in bootp_print()
166 vdlen = (ep - bp->bp_vend); in bootp_print()
168 TCHECK(bp->bp_vend[0], vdlen); in bootp_print()
170 if (!bcmp(bp->bp_vend, vm_rfc1048, sizeof(u_int32))) in bootp_print()
171 rfc1048_print(bp->bp_vend, vdlen); in bootp_print()
172 else if (!bcmp(bp->bp_vend, vm_cmu, sizeof(u_int32))) in bootp_print()
173 cmu_print(bp->bp_vend, vdlen); in bootp_print()
175 other_print(bp->bp_vend, vdlen); in bootp_print()
H A Dbootptest.c340 bcopy((char*)&vend_magic, bp->bp_vend, 4); in main()
342 bp->bp_vend[4] = TAG_END; in main()
357 n = read(fd, bp->bp_vend, n); in main()
/freebsd/libexec/bootpd/
H A Dbootpd.c944 (int) ((bp->bp_vend)[0]), in handle_request()
945 (int) ((bp->bp_vend)[1]), in handle_request()
946 (int) ((bp->bp_vend)[2]), in handle_request()
947 (int) ((bp->bp_vend)[3])); in handle_request()
956 bcopy(hp->vm_cookie, bp->bp_vend, 4); in handle_request()
962 if (!bcmp(bp->bp_vend, vm_rfc1048, 4)) { in handle_request()
970 else if (!bcmp(bp->bp_vend, vm_cmu, 4)) { in handle_request()
1162 bzero(bp->bp_vend, sizeof(bp->bp_vend)); in dovend_cmu()
1168 vendp = (struct cmu_vend *) bp->bp_vend; in dovend_cmu()
1229 vp = bp->bp_vend; in dovend_rfc1048()
H A Dbootp.h57 unsigned char bp_vend[BP_VEND_LEN]; /* vendor-specific area */ member
/freebsd/contrib/tcpdump/
H A Dprint-bootp.c71 nd_byte bp_vend[64]; /* vendor-specific area */ member
373 ND_TCHECK_4(bp->bp_vend); in bootp_print()
374 if (memcmp((const char *)bp->bp_vend, vm_rfc1048, in bootp_print()
376 rfc1048_print(ndo, bp->bp_vend); in bootp_print()
377 else if (memcmp((const char *)bp->bp_vend, vm_cmu, in bootp_print()
379 cmu_print(ndo, bp->bp_vend); in bootp_print()
383 ul = GET_BE_U_4(bp->bp_vend); in bootp_print()