Changeset 91db67b for lib/format_pcap.c


Ignore:
Timestamp:
04/24/06 18:42:43 (15 years ago)
Author:
Perry Lorier <perry@…>
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:
cee9e34
Parents:
97c8d58
Message:

Clean up the various usages of TRACE_ERR_*, add TRACE_ERR_UNSUPPORTED and
shuffle which error was returned where. Document their new usages.

Closes: #13

Also, fix the 802.1q definitions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_pcap.c

    re4e95499 r91db67b  
    175175        return 0;
    176176#else
    177         trace_set_err_out(libtrace,TRACE_ERR_NO_INIT_OUT,
     177        trace_set_err_out(libtrace,TRACE_ERR_UNSUPPORTED,
    178178                        "writing not supported by this version of pcap");
    179179        return -1;
Note: See TracChangeset for help on using the changeset viewer.