Changeset 52c7cda for lib/protocols.c


Ignore:
Timestamp:
09/21/06 21:10:43 (15 years ago)
Author:
Scott Raynel <smr26@…>
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:
01818c6
Parents:
8889370
Message:

Added support for skipping Linux SLL headers to the trace_get_wireless functions, which means we can now use them on tcpdump captured traces.
Also reformatted link_wireless.c and cleaned up all of the compile warnings :)
Made trace_get_payload_from_linux_sll not static and added function prototypes for it and the new arphrd functions to libtrace_int.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/protocols.c

    r8889370 r52c7cda  
    111111
    112112/* NB: type is returned as an ARPHRD_ type for SLL*/
    113 static void *trace_get_payload_from_linux_sll(void *link,
     113void *trace_get_payload_from_linux_sll(void *link,
    114114                uint16_t *type, uint32_t *remaining)
    115115{
Note: See TracChangeset for help on using the changeset viewer.