- Timestamp:
- 06/06/06 13:56:16 (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:
- 8a1fb3c
- Parents:
- 0e91d5e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_erf.c
rebe0c7f r3e66b30 910 910 pad = erf_get_padding(packet); 911 911 912 /* If we've had an rxerror, we have no payload to write - fix rlen to 913 * be the correct length */ 912 /* If we've had an rxerror, we have no payload to write - fix 913 * rlen to be the correct length 914 */ 915 /* I Think this is bogus -- Perry */ 914 916 if (payload == NULL) { 915 917 dag_hdr->rlen = htons(dag_record_size + pad); … … 942 944 /* Flags. Can't do this */ 943 945 memset(&erfhdr.flags,1,sizeof(erfhdr.flags)); 946 if (trace_get_direction(packet)!=-1) 947 erfhdr.flags.iface = trace_get_direction(packet); 944 948 /* Packet length (rlen includes format overhead) */ 945 949 erfhdr.rlen = htons(trace_get_capture_length(packet)
Note: See TracChangeset
for help on using the changeset viewer.