Changeset 77f79c7 for lib/linktypes.c


Ignore:
Timestamp:
03/27/13 14:48:26 (9 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:
593a7c7
Parents:
fc8b322
Message:
  • Added support for the OpenBSD loopback DLT - thanks to Kaio Rafael for submitting a patch to add this (although note the change to the defined names from the original patch)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/linktypes.c

    r528eb6e r77f79c7  
    6565                case TRACE_DLT_PPP_SERIAL: return TRACE_TYPE_POS;
    6666                case TRACE_DLT_C_HDLC: return TRACE_TYPE_HDLC_POS;
     67                case TRACE_DLT_OPENBSD_LOOP: return TRACE_TYPE_OPENBSD_LOOP;
    6768                /* Unhandled */
    6869                case TRACE_DLT_NULL:    /* Raw IP frame with a BSD specific
     
    9394                /* Theres more than one type of PPP.  Who knew? */
    9495                case TRACE_TYPE_POS:    return TRACE_DLT_PPP_SERIAL;
     96                case TRACE_TYPE_OPENBSD_LOOP: return TRACE_DLT_OPENBSD_LOOP;
    9597
    9698                /* Below here are unsupported conversions */
     
    200202                case TRACE_TYPE_METADATA:
    201203                case TRACE_TYPE_NONDATA:
     204                case TRACE_TYPE_OPENBSD_LOOP:
    202205                        break;
    203206        }
Note: See TracChangeset for help on using the changeset viewer.