Changeset 8283f05


Ignore:
Timestamp:
09/16/05 10:27:24 (15 years ago)
Author:
Shane Alcock <salcock@…>
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:
ae8196e
Parents:
b69afb1
Message:

Made libtrace_packet_t's contents available to outside applications again

Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h

    r1e66c64 r8283f05  
    7777struct libtrace_filter_t;
    7878
    79 /** Opaque structure holding information about a packet */
    80 struct libtrace_packet_t;
     79/** Structure holding information about a packet */
     80#define LIBTRACE_PACKET_BUFSIZE 65536
     81struct libtrace_packet_t {
     82        struct libtrace_t *trace;
     83        //void *buffer;
     84        char buffer[LIBTRACE_PACKET_BUFSIZE];
     85        size_t size;
     86        uint8_t status;
     87};
     88                     
    8189
    8290/** Enumeration of error codes */
  • lib/libtrace_int.h

    rb69afb1 r8283f05  
    7878} trace_err;
    7979
    80 /** Opaque structure holding information about a packet */
    81 #define LIBTRACE_PACKET_BUFSIZE 65536
    82 struct libtrace_packet_t {
    83         struct libtrace_t *trace;
    84         //void *buffer;
    85         char buffer[LIBTRACE_PACKET_BUFSIZE];
    86         size_t size;
    87         uint8_t status;
    88 };
    8980
    9081#define RP_BUFSIZE 65536
Note: See TracChangeset for help on using the changeset viewer.