OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pkthdr
(Results
1 - 3
of
3
) sorted by null
/external/libpcap/
pcap-bpf.c
275
struct pcap_pkthdr
pkthdr
;
local
277
pkthdr
.ts.tv_sec = bhp->bh_tstamp.tv_sec;
283
pkthdr
.ts.tv_usec = bhp->bh_tstamp.tv_usec/1000;
285
pkthdr
.ts.tv_usec = bhp->bh_tstamp.tv_usec;
289
pkthdr
.caplen = caplen - pad;
291
pkthdr
.caplen = 0;
293
pkthdr
.len = bhp->bh_datalen - pad;
295
pkthdr
.len = 0;
298
pkthdr
.caplen = caplen;
299
pkthdr
.len = bhp->bh_datalen
[
all
...]
pcap-dlpi.c
257
struct pcap_pkthdr
pkthdr
;
local
351
pkthdr
.ts.tv_sec = sbp->sbh_timestamp.tv_sec;
352
pkthdr
.ts.tv_usec = sbp->sbh_timestamp.tv_usec;
354
(void)gettimeofday(&
pkthdr
.ts, NULL);
356
pkthdr
.len = origlen;
357
pkthdr
.caplen = caplen;
359
if (
pkthdr
.caplen > p->snapshot)
360
pkthdr
.caplen = p->snapshot;
361
(*callback)(user, &
pkthdr
, pk);
[
all
...]
/external/grub/netboot/
ns8390.c
438
struct ringbuffer
pkthdr
;
local
469
eth_pio_read(pktoff, (char *)&
pkthdr
, 4);
471
memcpy(&
pkthdr
, (char *)eth_rmem + pktoff, 4);
472
pktoff += sizeof(
pkthdr
);
474
len =
pkthdr
.len - 4;
475
if ((
pkthdr
.status & D8390_RSTAT_PRX) == 0 || len < ETH_ZLEN
512
next =
pkthdr
.next; /* frame number of next packet */
Completed in 60 milliseconds