Changeset 6f43f5c
- Timestamp:
- 11/14/18 10:45:49 (2 years ago)
- Branches:
- develop
- Children:
- 89609d0
- Parents:
- 0bb8d49
- git-author:
- Shane Alcock <salcock@…> (10/24/18 14:42:47)
- git-committer:
- Shane Alcock <salcock@…> (11/14/18 10:45:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_linux_ring.c
rebed638 r6f43f5c 320 320 #ifdef HAVE_PACKET_FANOUT 321 321 static int linuxring_pstart_input(libtrace_t *libtrace) { 322 /* Only because our pread is hard-coded to only do one 323 * packet at a time anyway */ 324 libtrace->config.burst_size = 1; 322 325 return linuxcommon_pstart_input(libtrace, linuxring_start_input_stream); 323 326 } … … 609 612 UNUSED size_t nb_packets) { 610 613 /* For now just read one packet */ 614 /* If we change this to actually read nb_packets, make sure 615 * we remove the burst_size override in linuxring_pstart_input() 616 */ 611 617 packets[0]->error = linuxring_read_stream(libtrace, packets[0], 612 618 t->format_data, &t->messages);
Note: See TracChangeset
for help on using the changeset viewer.