Ignore:
Timestamp:
09/17/06 18:36:13 (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:
1dc7df3
Parents:
3af7b80
Message:

Fix get_payload_from_link for prism and radiotap.
Make sure to use bswap when looking at radiotap length.
Tidy up exported API, don't export get_payload_from_prism or _from_radiotap.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/link_wireless.c

    rcfd5ebd r6df012d  
    4848 * @note Radiotap fields are always little-endian
    4949 */
    50 DLLEXPORT void *trace_get_radiotap_field(void *link, libtrace_radiotap_field_t field)
     50static void *trace_get_radiotap_field(void *link, libtrace_radiotap_field_t field)
    5151{
    5252    struct libtrace_radiotap_t *rtap = (struct libtrace_radiotap_t *)link;
Note: See TracChangeset for help on using the changeset viewer.