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

/freebsd-11-stable/stand/libsa/
H A Dbootp.c97 bootp_fill_request(unsigned char *bp_vend) argument
104 bp_vend[0] = TAG_CLASSID;
105 bp_vend[1] = 9;
106 bcopy("PXEClient", &bp_vend[2], 9);
107 bp_vend[11] = TAG_USER_CLASS;
109 bp_vend[12] = 8;
111 bp_vend[13] = 7;
112 bcopy("FreeBSD", &bp_vend[14], 7);
113 bp_vend[21] = TAG_PARAM_REQ;
114 bp_vend[2
[all...]
H A Dbootp.h48 unsigned char bp_vend[BOOTP_VENDSIZE]; /* vendor-specific area */ member in struct:bootp
/freebsd-11-stable/libexec/bootpd/tools/bootptest/
H A Dprint-bootp.c167 vdlen = sizeof(bp->bp_vend);
169 if (vdlen < (ep - bp->bp_vend))
170 vdlen = (ep - bp->bp_vend);
172 TCHECK(bp->bp_vend[0], vdlen);
174 if (!bcmp(bp->bp_vend, vm_rfc1048, sizeof(u_int32)))
175 rfc1048_print(bp->bp_vend, vdlen);
176 else if (!bcmp(bp->bp_vend, vm_cmu, sizeof(u_int32)))
177 cmu_print(bp->bp_vend, vdlen);
179 other_print(bp->bp_vend, vdlen);
H A Dbootptest.c347 bcopy((char*)&vend_magic, bp->bp_vend, 4);
349 bp->bp_vend[4] = TAG_END;
364 n = read(fd, bp->bp_vend, n);
/freebsd-11-stable/libexec/bootpd/
H A Dbootp.h59 unsigned char bp_vend[BP_VEND_LEN]; /* vendor-specific area */ member in struct:bootp
60 /* note that bp_vend can be longer, extending to end of packet. */
H A Dbootpd.c958 (int) ((bp->bp_vend)[0]),
959 (int) ((bp->bp_vend)[1]),
960 (int) ((bp->bp_vend)[2]),
961 (int) ((bp->bp_vend)[3]));
970 bcopy(hp->vm_cookie, bp->bp_vend, 4);
974 * Note that bp->bp_vend may have been set above.
976 if (!bcmp(bp->bp_vend, vm_rfc1048, 4)) {
984 else if (!bcmp(bp->bp_vend, vm_cmu, 4)) {
1182 bzero(bp->bp_vend, sizeof(bp->bp_vend));
[all...]
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-bootp.c74 uint8_t bp_vend[64]; /* vendor-specific area */ member in struct:bootp
381 ND_TCHECK2(bp->bp_vend[0], 4);
382 if (memcmp((const char *)bp->bp_vend, vm_rfc1048,
384 rfc1048_print(ndo, bp->bp_vend);
385 else if (memcmp((const char *)bp->bp_vend, vm_cmu,
387 cmu_print(ndo, bp->bp_vend);
391 ND_TCHECK_32BITS(&bp->bp_vend);
392 ul = EXTRACT_32BITS(&bp->bp_vend);

Completed in 84 milliseconds