Changeset 02b7297 for lib/protocols.c


Ignore:
Timestamp:
05/25/06 15:18:11 (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:
609886c
Parents:
77a38d9
Message:

Add new DUCK link type (for duck packets obviously).
Make get_payload_from_link on a duck packet return "NULL" (no payload)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/protocols.c

    r63f4967 r02b7297  
    208208                case TRACE_TYPE_ATM:
    209209                        return trace_get_payload_from_atm(link,type,remaining);
     210                case TRACE_TYPE_DUCK:
     211                        return NULL; /* duck packets have no payload! */
    210212        }
    211213        fprintf(stderr,"Don't understand link layer type %i in trace_get_payload_from_link()\n",
Note: See TracChangeset for help on using the changeset viewer.