Changeset 7ac9705 for lib/trace.c


Ignore:
Timestamp:
03/06/06 15:31:15 (16 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:
e4e1635
Parents:
eeab9832
Message:

Changed rt types so that every pcap dlt has a matching rt type
Added functions for conversion between rt type and pcap dlt
format_rt now uses trace_set_err appropriately if rt_connect fails
format_pcap will check if a trace is dead before trying to look at

format data

Dead traces now have their format_data set to NULL
packet->type is now 32 bits, not 8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    reeab9832 r7ac9705  
    379379                return 0;
    380380        }
    381        
     381
     382        libtrace->format_data = NULL;
    382383        free(scan);
    383384        return libtrace;
Note: See TracChangeset for help on using the changeset viewer.