Changeset 7ac9705 for lib/libtrace_int.h


Ignore:
Timestamp:
03/06/06 15:31:15 (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:
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/libtrace_int.h

    reeab9832 r7ac9705  
    317317libtrace_linktype_t pcap_dlt_to_libtrace(int dlt);
    318318char libtrace_to_pcap_dlt(libtrace_linktype_t type);
     319enum rt_field_t pcap_dlt_to_rt(int dlt);
     320int rt_to_pcap_dlt(enum rt_field_t rt_type);
    319321libtrace_linktype_t erf_type_to_libtrace(char erf);
    320322char libtrace_to_erf_type(libtrace_linktype_t linktype);
Note: See TracChangeset for help on using the changeset viewer.