Ignore:
Timestamp:
09/27/06 15:53:27 (7 years ago)
Author:
perry
Message:

Remove packet->size as noone really knew what it held anyway, and disagreements
were more easily settled by removing it than standardising one way or the other.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/libtrace.h.in

    r1021 r1026  
    177177        void *header;           /**< pointer to the framing header */ 
    178178        void *payload;          /**< pointer to the link layer */ 
     179        void *buffer;           /**< allocated buffer */ 
     180        uint32_t type;          /**< rt protocol type for the packet */ 
    179181        buf_control_t buf_control; /**< who owns the memory */ 
    180         void *buffer;           /**< allocated buffer */ 
    181         size_t size;            /**< trace_get_framing_length() 
    182                                  * +trace_get_capture_length() */ 
    183         uint32_t type;          /**< rt protocol type for the packet */ 
    184182} libtrace_packet_t; 
    185183 
Note: See TracChangeset for help on using the changeset viewer.