Ignore:
Timestamp:
03/26/07 11:47:31 (14 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:
38f9537
Parents:
be22b51
Message:
  • Remove trace_get_wireless_fcs as it is no longer part of the Radiotap standard.
  • Update trace_get_wire_length to account for the presence (or absence) of FCS bytes at the end of wireless frames. (only pcap and pcapfile for now)
  • Update radiotap libpacketdump decoder to no longer output non-standard FCS field.
  • Update test-wireless to ensure new length functions work correctly.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpacketdump/link_15.c

    r1515e07 rf0c639b  
    149149        }
    150150
    151         if (rtap->it_present & (1 << TRACE_RADIOTAP_FCS)) {
    152                 ALIGN_NATURAL_32(p,s,rtap_real_len);
    153                 printf(" Radiotap: Frame Check Sequence = %#10x\n", bswap_le_to_host32(*((uint32_t *)p)));
    154                 p += sizeof (uint32_t);
    155                 rtap_real_len += sizeof(uint32_t);
    156         }
    157 
    158151        if (rtap_real_len != rtap_len)
    159                 printf(" Radiotap: WARNING: Header length does not match fields present (%u)\n", rtap_real_len);
     152                printf(" Radiotap: WARNING: Header contains un-decoded fields.\n");
    160153
    161154        if (len > rtap_len)
Note: See TracChangeset for help on using the changeset viewer.