Changeset d439067 for lib/format_pcap.c


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

    rc434445 rd439067  
    765765        }
    766766        /* Reset the cached capture length */
    767         packet->capture_length = -1;
     767        packet->cached.capture_length = -1;
    768768        pcapptr = (struct pcap_pkthdr *)packet->header;
    769769        pcapptr->caplen = size;
Note: See TracChangeset for help on using the changeset viewer.