Changeset 5798dc6 for lib/format_dag24.c


Ignore:
Timestamp:
09/05/07 10:18:58 (14 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:
9c6005f
Parents:
52656ed
Message:
  • Changed DAG 2.5 code to force it to call dag_advance_stream if it has read 4MB without doing so. This is to ensure that the processed records get freed regularly.
  • Changed a couple of internal functions in format_dag24 to be static, which fixes some warnings
  • Changed the wording of the configure message that checks for DAG2.4 after failing to find DAG 2.5 or later to make it obvious that we aren't trying to do the same thing twice (and getting inconsistent results!)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_dag24.c

    r708f9ae r5798dc6  
    222222
    223223
    224 dag_record_t *dag_get_record(libtrace_t *libtrace) {
     224static dag_record_t *dag_get_record(libtrace_t *libtrace) {
    225225        dag_record_t *erfptr = NULL;
    226226        uint16_t size;
     
    237237}
    238238
    239 void dag_form_packet(dag_record_t *erfptr, libtrace_packet_t *packet) {
     239static void dag_form_packet(dag_record_t *erfptr, libtrace_packet_t *packet) {
    240240        packet->buffer = erfptr;
    241241        packet->header = erfptr;
Note: See TracChangeset for help on using the changeset viewer.