Changeset 4e5a51f for lib/dagformat.h


Ignore:
Timestamp:
02/07/19 14:07:07 (20 months ago)
Author:
Jacob Van Walraven <jcv9@…>
Branches:
develop
Children:
5cdb37d
Parents:
58c226e
git-author:
Jacob Van Walraven <jcv9@…> (02/07/19 14:00:51)
git-committer:
Jacob Van Walraven <jcv9@…> (02/07/19 14:07:07)
Message:

Structs mapped directly to a packet/file are now packed.
Replaced hardcoded value 27 with ERF_META_TYPE.
PCAPNG meta packets are still processed when DISCARD_META config is set in order to update the trace state, however the meta callback will not be called.
Removed INET_ADDRSTRLEN definitions and used ones provided by the standard headers.
Replaced %u, %lu in libpacketdump linktypes 21 and 23 with PRIu8, PRIu32 etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/dagformat.h

    ref5ba20 r4e5a51f  
    107107        uint16_t type;
    108108        uint16_t len;
    109 } dag_sec_t;
     109} PACKED dag_sec_t;
    110110
    111111struct dag_opthdr {
    112112        uint16_t optcode;
    113113        uint16_t optlen;
    114 };
     114} PACKED;
    115115
    116116#ifdef WIN32
Note: See TracChangeset for help on using the changeset viewer.