Ignore:
Timestamp:
01/08/19 10:58:31 (22 months ago)
Author:
Shane Alcock <salcock@…>
Branches:
develop
Children:
0ae7ba2
Parents:
93564ff
Message:

Add more failure cases to "can_write" functions for some formats.

Specifically:

  • Avoid writing metadata packets to DPDK, ring and int
  • Make sure all formats avoid writing "content invalid" packets.
  • Add comments to remind us that erf meta <-> pcapng meta conversion might be worth adding at some point.
  • Add comment to remind us that erf meta should be writable via a DAG card (I think).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_pcapng.c

    rf47025d rfce4572  
    225225        libtrace_linktype_t ltype = trace_get_link_type(packet);
    226226
     227        /* TODO convert erf meta to pcapng meta? */
    227228        if (ltype == TRACE_TYPE_CONTENT_INVALID
    228229                || ltype == TRACE_TYPE_UNKNOWN
Note: See TracChangeset for help on using the changeset viewer.