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

/freebsd-10.0-release/lib/libc/db/mpool/
H A Dmpool.libtp86 BUFHDR_T *bhp;
129 for ( i = 0, bhp = bufhdr_table; i < NUM_BUFS; bhp++, i++ ) {
130 bhp->lru.next = i+1;
131 bhp->lru.prev = i-1;
132 bhp->flags = 0; /* All Flags off */
133 bhp->refcount = 0;
134 bhp->wait_proc = -1; /* No sleepers */
135 LISTPE_INIT ( hash, bhp, i ); /* Hash chains */
190 BUFHDR_T *bhp;
[all...]
/freebsd-10.0-release/libexec/rbootd/
H A Dbpf.c329 #define bhp ((struct bpf_hdr *)bp) macro
335 datlen = bhp->bh_datalen;
336 caplen = bhp->bh_caplen;
337 hdrlen = bhp->bh_hdrlen;
348 memmove((char *)&rconn->tstamp, (char *)&bhp->bh_tstamp,
355 #undef bhp macro
/freebsd-10.0-release/sys/dev/iscsi_initiator/
H A Discsi_subr.c68 bhs_t *bhp = &opp->ipdu.bhs; local
77 switch(bhp->opcode) {
143 xdebug("huh? opcode=0x%x", bhp->opcode);
541 bhs_t *bhp = &opp->ipdu.bhs; local
544 sdebug(6, "pq=%p opq=%p bhp->opcode=0x%x len=%d",
545 pq, opq, bhp->opcode, pq->pdu.ds_len);
547 sdebug(1, "itt=0x%x pq=%p opq=%p bhp->opcode=0x%x len=%d",
549 pq, opq, bhp->opcode, pq->pdu.ds_len);
554 switch(bhp->opcode) {
600 sdebug(3, "opcode=%02x", bhp
[all...]
H A Disc_sm.c266 bhs_t *bhp = &pp->ipdu.bhs; local
271 bhp->AHSLength = pp->ahs_len / 4;
279 bhp->DSLength = ((n & 0x00ff0000) >> 16)
283 bhp->DSLength = n;
/freebsd-10.0-release/contrib/libpcap/
H A Dpcap-win32.c206 #define bhp ((struct bpf_hdr *)bp) macro
233 caplen = bhp->bh_caplen;
234 hdrlen = bhp->bh_hdrlen;
247 #undef bhp macro
H A Dpcap-bpf.c919 #define bhp ((struct bpf_hdr *)bp) macro
962 caplen = bhp->bh_caplen;
963 hdrlen = bhp->bh_hdrlen;
979 bpf_filter(p->fcode.bf_insns, datap, bhp->bh_datalen, caplen)) {
982 pkthdr.ts.tv_sec = bhp->bh_tstamp.tv_sec;
988 pkthdr.ts.tv_usec = bhp->bh_tstamp.tv_usec/1000;
990 pkthdr.ts.tv_usec = bhp->bh_tstamp.tv_usec;
997 if (bhp->bh_datalen > pad)
998 pkthdr.len = bhp->bh_datalen - pad;
1004 pkthdr.len = bhp
1025 #undef bhp macro
[all...]
/freebsd-10.0-release/usr.sbin/rarpd/
H A Drarpd.c563 #define bhp ((struct bpf_hdr *)bp) macro
569 caplen = bhp->bh_caplen;
570 hdrlen = bhp->bh_hdrlen;
577 #undef bhp macro

Completed in 137 milliseconds