Changeset f00c146 for lib/format_bpf.c
- Timestamp:
- 11/30/12 16:24:15 (10 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:
- e1f3b6b
- Parents:
- 2627439
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_bpf.c
r2627439 rf00c146 384 384 uint32_t flags = 0; 385 385 386 packet->type = bpf_linktype_to_rt(swapl(libtrace, 387 FORMATIN(libtrace)->linktype)); 386 packet->type = bpf_linktype_to_rt(ntohs(FORMATIN(libtrace)->linktype)); 388 387 389 388 /* Read from the BPF interface into our capture buffer */
Note: See TracChangeset
for help on using the changeset viewer.