Changeset 2faa57e for lib/format_erf.c


Ignore:
Timestamp:
03/14/08 16:50:58 (14 years ago)
Author:
Shane Alcock <salcock@…>
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:
e632f2f
Parents:
a9a91d1
Message:
  • Added a separate .h file for the various ERF types as newer ERF types aren't specified in the DAG 2.4 drivers
  • ERF traces should now return a Option Unavailable error for any unsupported cconfig options, rather than Unknown Option
  • Added a bit of extra documentation to the new thread/mutex related code added to format_dag25.c
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_erf.c

    r121b7e2 r2faa57e  
    163163                        IN_OPTIONS.real_time = *(int *)value;
    164164                        return 0;
     165                case TRACE_OPTION_SNAPLEN:
     166                case TRACE_OPTION_PROMISC:
     167                case TRACE_OPTION_FILTER:
     168                case TRACE_OPTION_META_FREQ:
     169                        trace_set_err(libtrace, TRACE_ERR_OPTION_UNAVAIL,
     170                                        "Unsupported option");
     171                        return -1;
    165172                default:
    166173                        /* Unknown option */
Note: See TracChangeset for help on using the changeset viewer.