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_ring.c

    rc337c62f rd439067  
    468468
    469469        /* Reset the cached capture length */
    470         packet->capture_length = -1;
     470        packet->cached.capture_length = -1;
    471471
    472472        TO_TP_HDR2(packet->buffer)->tp_snaplen = size;
Note: See TracChangeset for help on using the changeset viewer.