Changeset 871281c for lib/protocols_l2.c
- Timestamp:
- 11/14/08 15:47:59 (14 years ago)
- 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:
- 9b25f5f
- Parents:
- 896ad39
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/protocols_l2.c
r29c8666 r871281c 4 4 #include "libtrace_int.h" 5 5 #include <assert.h> 6 #include <stdlib.h> 6 7 7 8 /* Returns the payload from 802.3 ethernet. Type optionally returned in … … 314 315 { 315 316 void *l; 316 assert(linktype != -1);317 assert(linktype != ~0U); 317 318 switch(linktype) { 318 319 /* Packet Metadata headers, not layer2 headers */
Note: See TracChangeset
for help on using the changeset viewer.