- Timestamp:
- 03/28/13 16:38:53 (8 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- b471b67
- Parents:
- 593a7c7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_bpf.c
r6e6577d r19b44c8 68 68 */ 69 69 70 struct bpf_timeval {70 struct lt_bpf_timeval { 71 71 uint32_t tv_sec; 72 72 uint32_t tv_usec; … … 74 74 75 75 struct libtrace_bpf_hdr { 76 struct bpf_timeval bh_tstamp; /* timestamp */76 struct lt_bpf_timeval bh_tstamp; /* timestamp */ 77 77 uint32_t bh_caplen; /* capture length */ 78 78 uint32_t bh_datalen; /* wire length */ … … 403 403 * overwriting anything else important */ 404 404 405 if (sizeof(struct BPF_TIMEVAL) != sizeof(struct bpf_timeval)) {405 if (sizeof(struct BPF_TIMEVAL) != sizeof(struct lt_bpf_timeval)) { 406 406 407 407 ptr = ((struct local_bpf_hdr *)(packet->header));
Note: See TracChangeset
for help on using the changeset viewer.