Changeset 0d768c8 for lib/libtrace.h


Ignore:
Timestamp:
02/24/06 14:38:51 (15 years ago)
Author:
Perry Lorier <perry@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, 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:
9de8150
Parents:
2e223eca
Message:

More documentation of fields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h

    r2e223eca r0d768c8  
    104104 */
    105105typedef struct libtrace_packet_t {
    106         struct libtrace_t *trace;
    107         void *header;
    108         void *payload;
    109         buf_control_t buf_control;
    110         void *buffer;
     106        struct libtrace_t *trace; /**< pointer to the trace */
     107        void *header;           /**< pointer to the framing header */
     108        void *payload;          /**< pointer to the link layer */
     109        buf_control_t buf_control; /**< who owns the memory */
     110        void *buffer;           /**< allocated buffer */
    111111        size_t size;            /**< trace_get_framing_length()
    112112                                 * +trace_get_capture_length() */
     
    289289{
    290290 u_int16_t header;
    291  u_int16_t ether_type;
     291 u_int16_t ether_type;          /**< ether type */
    292292} __attribute__ ((packed)) libtrace_pos;
    293293/*@}*/
Note: See TracChangeset for help on using the changeset viewer.