Searched refs:bhp (Results 1 – 6 of 6) sorted by relevance
/freebsd/lib/libc/db/mpool/ |
H A D | mpool.libtp | 85 BUFHDR_T *bhp; 128 for ( i = 0, bhp = bufhdr_table; i < NUM_BUFS; bhp++, i++ ) { 129 bhp->lru.next = i+1; 130 bhp->lru.prev = i-1; 131 bhp->flags = 0; /* All Flags off */ 132 bhp->refcount = 0; 133 bhp->wait_proc = -1; /* No sleepers */ 134 LISTPE_INIT ( hash, bhp, i ); /* Hash chains */ 189 BUFHDR_T *bhp; 192 for ( bhp = LRUP; [all …]
|
/freebsd/libexec/rbootd/ |
H A D | bpf.c | 309 #define bhp ((struct bpf_hdr *)bp) in BpfRead() macro 315 datlen = bhp->bh_datalen; in BpfRead() 316 caplen = bhp->bh_caplen; in BpfRead() 317 hdrlen = bhp->bh_hdrlen; in BpfRead() 328 memmove((char *)&rconn->tstamp, (char *)&bhp->bh_tstamp, in BpfRead() 335 #undef bhp in BpfRead()
|
/freebsd/contrib/libpcap/ |
H A D | pcap-airpcap.c | 632 #define bhp ((AirpcapBpfHeader *)bp) in airpcap_read() macro 661 caplen = bhp->Caplen; in airpcap_read() 662 hdrlen = bhp->Hdrlen; in airpcap_read() 671 pcapint_filter(p->fcode.bf_insns, datap, bhp->Originallen, caplen)) { in airpcap_read() 674 pkthdr.ts.tv_sec = bhp->TsSec; in airpcap_read() 675 pkthdr.ts.tv_usec = bhp->TsUsec; in airpcap_read() 677 pkthdr.len = bhp->Originallen; in airpcap_read() 692 #undef bhp in airpcap_read()
|
H A D | pcap-bpf.c | 1312 #define bhp ((struct bpf_xhdr *)bp) in pcap_read_bpf() macro 1314 #define bhp ((struct bpf_hdr *)bp) in pcap_read_bpf() macro 1358 caplen = bhp->bh_caplen; in pcap_read_bpf() 1359 hdrlen = bhp->bh_hdrlen; in pcap_read_bpf() 1375 pcapint_filter(p->fcode.bf_insns, datap, bhp->bh_datalen, caplen)) { in pcap_read_bpf() 1380 bt.sec = bhp->bh_tstamp.bt_sec; in pcap_read_bpf() 1381 bt.frac = bhp->bh_tstamp.bt_frac; in pcap_read_bpf() 1396 pkthdr.ts.tv_sec = bhp->bh_tstamp.tv_sec; in pcap_read_bpf() 1402 pkthdr.ts.tv_usec = bhp->bh_tstamp.tv_usec/1000; in pcap_read_bpf() 1410 pkthdr.ts.tv_usec = (suseconds_t)bhp->bh_tstamp.tv_usec; in pcap_read_bpf() [all …]
|
H A D | pcap-npf.c | 681 #define bhp ((struct bpf_hdr *)bp) in pcap_read_npf() macro 710 caplen = bhp->bh_caplen; in pcap_read_npf() 711 hdrlen = bhp->bh_hdrlen; in pcap_read_npf() 725 pcapint_filter(p->fcode.bf_insns, datap, bhp->bh_datalen, caplen)) { in pcap_read_npf() 784 #undef bhp in pcap_read_npf()
|
/freebsd/usr.sbin/rarpd/ |
H A D | rarpd.c | 555 #define bhp ((struct bpf_hdr *)bp) in rarp_loop() macro 561 caplen = bhp->bh_caplen; in rarp_loop() 562 hdrlen = bhp->bh_hdrlen; in rarp_loop() 569 #undef bhp in rarp_loop()
|