Changeset 387d299 for lib


Ignore:
Timestamp:
07/04/14 11:37:25 (7 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
d14e23d
Parents:
9ad7a35
Message:

Remove duplicate macros in libpacketdump

Ensure OSPF libpacketdump module won't segfault or print garbage
if a truncated OSPF header is passed into it.

Renamed 'len' field in OSPF header to 'ospf_len' to avoid
potential conflict with variables named len in libpacketdump
code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h.in

    r5a15b2f r387d299  
    867867        uint8_t ospf_v;         /**< OSPF Version, should be 2 */
    868868        uint8_t type;           /**< OSPF Packet Type */
    869         uint16_t len;           /**< Packet length, including OSPF header */
     869        uint16_t ospf_len;      /**< Packet length, including OSPF header */
    870870        struct in_addr router;  /**< Router ID of the packet source */
    871871        struct in_addr area;    /**< Area the packet belongs to */
Note: See TracChangeset for help on using the changeset viewer.