Changeset d439067 for lib/format_erf.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_erf.c

    r509ee47 rd439067  
    852852         * wrong value here and subsequent get_capture_length() calls will
    853853         * return the wrong value. */
    854         packet->capture_length = -1;
     854        packet->cached.capture_length = -1;
    855855        erfptr->rlen = htons(size + trace_get_framing_length(packet));
    856856        wlen = ntohs(erfptr->wlen);
Note: See TracChangeset for help on using the changeset viewer.