Changeset 52c7cda for lib/libtrace_int.h


Ignore:
Timestamp:
09/21/06 21:10:43 (16 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/libtrace_int.h

    r1c1e4a2 r52c7cda  
    363363libtrace_linktype_t erf_type_to_libtrace(char erf);
    364364char libtrace_to_erf_type(libtrace_linktype_t linktype);
     365libtrace_linktype_t arphrd_type_to_libtrace(unsigned int);
     366unsigned int libtrace_to_arphrd_type(libtrace_linktype_t);
    365367
    366368void promote_packet(libtrace_packet_t *packet);
    367369bool demote_packet(libtrace_packet_t *packet);
    368370
     371void *trace_get_payload_from_linux_sll(void *, uint16_t *, uint32_t *);
    369372
    370373uint64_t byteswap64(uint64_t num);
Note: See TracChangeset for help on using the changeset viewer.