Changeset 73dd29f for lib/libtrace_int.h


Ignore:
Timestamp:
04/02/07 21:44:53 (14 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:
11f2df7
Parents:
02bd77e
Message:

Sooo, pcap has two types of DLT's "pure" DLT's that are platform dependant,
and "linktype" DLT's that are portable and are what are written to pcap files.

Instead of fudging the two concepts together so much, attempt to disintangle
this mess without exposing too much of the god awful mess to the end user.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace_int.h

    re01a738 r73dd29f  
    361361void register_format(struct libtrace_format_t *format);
    362362
    363 libtrace_linktype_t pcap_dlt_to_libtrace(libtrace_dlt_t dlt);
    364 libtrace_dlt_t libtrace_to_pcap_dlt(libtrace_linktype_t type);
    365 libtrace_rt_types_t pcap_dlt_to_rt(libtrace_dlt_t dlt);
    366 libtrace_dlt_t rt_to_pcap_dlt(libtrace_rt_types_t rt_type);
     363libtrace_linktype_t pcap_linktype_to_libtrace(libtrace_linktype_t linktype);
     364libtrace_linktype_t libtrace_to_pcap_linktype(libtrace_linktype_t type);
     365libtrace_linktype_t libtrace_to_pcap_dlt(libtrace_linktype_t type);
     366libtrace_rt_types_t pcap_linktype_to_rt(libtrace_linktype_t linktype);
     367libtrace_linktype_t rt_to_pcap_linktype(libtrace_rt_types_t rt_type);
    367368libtrace_linktype_t erf_type_to_libtrace(uint8_t erf);
    368369uint8_t libtrace_to_erf_type(libtrace_linktype_t linktype);
Note: See TracChangeset for help on using the changeset viewer.