Changeset ac0fdbf
- Timestamp:
- 12/24/06 15:44:41 (16 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:
- 6ef54f6
- Parents:
- e7d66bf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_duck.c
r2595c4d rac0fdbf 181 181 182 182 if ((numbytes = libtrace_io_read(INPUT->file, packet->payload, 183 duck_size)) != duck_size) {183 duck_size)) != (int)duck_size) { 184 184 if (numbytes == -1) { 185 185 trace_set_err(libtrace, errno, "Reading DUCK failed"); … … 245 245 } 246 246 247 static int duck_get_framing_length(const libtrace_packet_t *packet) { 248 return 0; 249 } 250 251 static int duck_get_wire_length(const libtrace_packet_t *packet) { 252 return 0; 253 } 254 255 static libtrace_linktype_t duck_get_link_type(const libtrace_packet_t *packet) { 247 static int duck_get_framing_length(const libtrace_packet_t *packet UNUSED) 248 { 249 return 0; 250 } 251 252 static int duck_get_wire_length(const libtrace_packet_t *packet UNUSED) 253 { 254 return 0; 255 } 256 257 static libtrace_linktype_t duck_get_link_type( 258 const libtrace_packet_t *packet UNUSED) 259 { 256 260 return TRACE_TYPE_DUCK; 257 261 }
Note: See TracChangeset
for help on using the changeset viewer.