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

/freebsd-10.3-release/libexec/rbootd/
H A Dbpf.c325 #define bhp ((struct bpf_hdr *)bp) macro
331 datlen = bhp->bh_datalen;
332 caplen = bhp->bh_caplen;
333 hdrlen = bhp->bh_hdrlen;
344 memmove((char *)&rconn->tstamp, (char *)&bhp->bh_tstamp,
351 #undef bhp macro
/freebsd-10.3-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.3-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.3-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 170 milliseconds