Changeset 29c8666 for lib/linktypes.c


Ignore:
Timestamp:
11/05/08 16:46:04 (13 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:
edb844c
Parents:
13fd6e1
Message:

Deal with PoS traces better

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/linktypes.c

    r121b7e2 r29c8666  
    4444                case TRACE_DLT_ATM_RFC1483: return TRACE_TYPE_LLCSNAP;
    4545                case TRACE_DLT_PPP: return TRACE_TYPE_PPP;
     46                case TRACE_DLT_PPP_SERIAL: return TRACE_TYPE_POS;
    4647                /* Unhandled */
    4748                case TRACE_DLT_NULL:    /* Raw IP frame with a BSD specific
     
    7071                case TRACE_TYPE_PPP:    return TRACE_DLT_PPP;
    7172                case TRACE_TYPE_HDLC_POS: return TRACE_DLT_C_HDLC;
     73                /* Theres more than one type of PPP.  Who knew? */
     74                case TRACE_TYPE_POS:    return TRACE_DLT_PPP_SERIAL;
     75
    7276                /* Below here are unsupported conversions */
    7377                /* Dispite hints to the contrary, there is no DLT
     
    8488                case TRACE_TYPE_80211_PRISM:   
    8589                /* Probably == PPP */
    86                 case TRACE_TYPE_POS:
    8790                /* TODO: We haven't researched these yet */
    8891                case TRACE_TYPE_AAL5:
Note: See TracChangeset for help on using the changeset viewer.