Changeset 302714f
- Timestamp:
- 10/13/06 11:31:11 (14 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:
- 2e420ff
- Parents:
- 428c837
- Location:
- lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_pcapfile.c
r7a68b44 r302714f 186 186 187 187 static int pcapfile_config_output(libtrace_out_t *libtrace, 188 trace_option_ t option,188 trace_option_output_t option, 189 189 void *value) 190 190 { -
lib/trace.c
ra21af3d r302714f 780 780 tv.tv_usec = (uint32_t)(((seconds - tv.tv_sec) * 1000000)/UINT_MAX); 781 781 } 782 else { 783 tv.tv_sec=-1; 784 tv.tv_usec=-1; 785 } 782 786 783 787 return tv; … … 952 956 libtrace_linktype_t linktype=trace_get_link_type(packet); 953 957 if (linktype==(libtrace_linktype_t)-1) { 954 trace_set_err(packet->trace,TRACE_ERR_BAD_PACKET, 958 trace_set_err(packet->trace, 959 TRACE_ERR_BAD_PACKET, 955 960 "Packet has an unknown linktype"); 956 961 return -1;
Note: See TracChangeset
for help on using the changeset viewer.