DAG transmit in format_dag25 is somewhat broken:
- Records should be aligned to 64-bit with 0 padding or they will not transmit on physical cards. If the record is snapped it should be rounded down to the next lowest 8 byte boundary. Libtrace format_erf currently always strips padding when writing to ERF which effectively means no ERF file created by libtrace is transmittable by libtrace DAG.
- Extension headers are not copied correctly.
- The write functions of format_dag25 and format_erf should probably be unified.