Changeset 4c00a35
- Timestamp:
- 04/03/07 10:39:37 (15 years ago)
- 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:
- d36a8c6
- Parents:
- 3d84f6a
- Location:
- lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/libtrace_int.h
r73dd29f r4c00a35 361 361 void register_format(struct libtrace_format_t *format); 362 362 363 libtrace_linktype_t pcap_linktype_to_libtrace(libtrace_ linktype_t linktype);364 libtrace_ linktype_t libtrace_to_pcap_linktype(libtrace_linktype_t type);365 libtrace_ linktype_t libtrace_to_pcap_dlt(libtrace_linktype_t type);366 libtrace_rt_types_t pcap_ linktype_to_rt(libtrace_linktype_t linktype);367 libtrace_ linktype_t rt_to_pcap_linktype(libtrace_rt_types_t rt_type);363 libtrace_linktype_t pcap_linktype_to_libtrace(libtrace_dlt_t linktype); 364 libtrace_dlt_t libtrace_to_pcap_linktype(libtrace_linktype_t type); 365 libtrace_dlt_t libtrace_to_pcap_dlt(libtrace_linktype_t type); 366 libtrace_rt_types_t pcap_dlt_to_rt(libtrace_dlt_t linktype); 367 libtrace_dlt_t rt_to_pcap_linktype(libtrace_rt_types_t rt_type); 368 368 libtrace_linktype_t erf_type_to_libtrace(uint8_t erf); 369 369 uint8_t libtrace_to_erf_type(libtrace_linktype_t linktype); -
lib/linktypes.c
r73dd29f r4c00a35 54 54 } 55 55 56 libtrace_ linktype_t libtrace_to_pcap_dlt(libtrace_linktype_t type)56 libtrace_dlt_t libtrace_to_pcap_dlt(libtrace_linktype_t type) 57 57 { 58 58 /* If pcap doesn't have a DLT, you can either ask pcap to register … … 93 93 } 94 94 95 libtrace_ linktype_t libtrace_to_pcap_linktype(libtrace_linktype_t type)95 libtrace_dlt_t libtrace_to_pcap_linktype(libtrace_linktype_t type) 96 96 { 97 97 return pcap_dlt_to_pcap_linktype(libtrace_to_pcap_dlt(type)); … … 113 113 } 114 114 115 libtrace_ linktype_t rt_to_pcap_linktype(libtrace_rt_types_t rt_type)115 libtrace_dlt_t rt_to_pcap_linktype(libtrace_rt_types_t rt_type) 116 116 { 117 117 assert(rt_type >= TRACE_RT_DATA_DLT);
Note: See TracChangeset
for help on using the changeset viewer.