Ignore:
Timestamp:
12/10/18 15:59:45 (2 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
develop
Children:
10fd24b
Parents:
418c78d
Message:

Move packet cached fields into a distinct structure.

This will help tidy up the packet structure a little, as well as
simplify the cache clearing process (and maybe even speed it up
a little).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_linux_int.c

    r2193905 rd439067  
    461461       
    462462        /* Reset the cached capture length */
    463         packet->capture_length = -1;
     463        packet->cached.capture_length = -1;
    464464
    465465        linux_hdr = (struct libtrace_linuxnative_header *)packet->header;
Note: See TracChangeset for help on using the changeset viewer.