aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ppi.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵wmeier1-5/+5
non-autogenerated epan/dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39288 f5534014-38df-0310-8fa8-9805f1628bb7
2011-09-21Fix ex "modeline" so it works;wmeier1-1/+1
See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39081 f5534014-38df-0310-8fa8-9805f1628bb7
2011-07-29Remove unneeded #includes and do other minor cleanup.wmeier1-8/+8
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38259 f5534014-38df-0310-8fa8-9805f1628bb7
2011-07-28Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warning.wmeier1-1/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38245 f5534014-38df-0310-8fa8-9805f1628bb7
2011-06-20From Jon Ellch via bug 5175:gerald1-8/+8
Please see the attached patch which updates the ppi-geolocation support to v2.0 of the specification. This iteration adds a new tag (sensor) and removes support for velocity/acceleration from the vector tag. Most of the changes center on the Vector tag. Everything that takes place elsewhere is cosmetic. I ran this iteration through fuzz-test and check-APIs just like last time. From me: Replace tvb_get_ephemeral_string with tvb_format_text. Move dissector registration to the bottom of each file. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37733 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-12Don't assign to a variable if the value won't be used: Coverity 1002 & 1003.wmeier1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36604 f5534014-38df-0310-8fa8-9805f1628bb7
2010-12-20Rename the routines that handle dissector tables with unsigned integerguy1-2/+2
keys to have _uint in their names, to match the routines that handle dissector tables with string keys. (Using _port can confuse people into thinking they're intended solely for use with TCP/UDP/etc. ports when, in fact, they work better for things such as Ethernet types, where the binding of particular values to particular protocols are a lot stronger.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35224 f5534014-38df-0310-8fa8-9805f1628bb7
2010-11-19Remove a check_col();wmeier1-73/+70
Fix a typo; Minor whitespace cleanup. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34971 f5534014-38df-0310-8fa8-9805f1628bb7
2010-11-18From Jon Ellch via bug #5175: Add PPI-GPS protocol dissector patchsfisher1-5/+80
Minor changes by me as detailed in the bug's comment #8. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34956 f5534014-38df-0310-8fa8-9805f1628bb7
2010-07-29Use ep-allocated strings for our data source names.gerald1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33676 f5534014-38df-0310-8fa8-9805f1628bb7
2010-06-22Fix for bug 4852:jake1-16/+2
Don't short circuit dissection if tree==NULL when column values are to be set. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33282 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-06#include <string.h> not needed.wmeier1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32410 f5534014-38df-0310-8fa8-9805f1628bb7
2010-02-23Move the declarations of wtap_pcap_encap_to_wtap_encap() andguy1-1/+1
wtap_wtap_encap_to_pcap_encap() to wiretap/pcap-encap.h. Include it where it's needed; don't include other Wiretap headers where they're not needed. Include pcapng.h in pcapng.c, to declare the functions defined in pcapng.c. Add some casts to squelch some warnings, and add to a comment to indicate one of the problems. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31960 f5534014-38df-0310-8fa8-9805f1628bb7
2009-11-17Remove the address operator from value_string arrays fed to VALS()dimeg1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30995 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()krj1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29446 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_clear with col_checkkrj1-2/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29344 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_set_str (COL_INFO) with col_checkkrj1-2/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29342 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkkrj1-4/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29340 f5534014-38df-0310-8fa8-9805f1628bb7
2009-07-23Set editor modelines to be consistent between emacs and vi/ex;wmeier1-163/+163
Indentation and whitespace cleanup; git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29180 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-18From Kovarththanan Rajaratnam via bug 3548:stig1-3/+3
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28770 f5534014-38df-0310-8fa8-9805f1628bb7
2009-05-13Apply some of the patches from:etxrab1-2/+1
http://wiki.wireshark.org/Development/Optimization git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28356 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-22Move wtap_pcap_encap_to_wtap_encap() and wtap_wtap_encap_to_pcap_encap()guy1-1/+2
back to libwiretap for now, as it's inherently tied to reading libpcap files; at some point we might want to have pcap-reading (and pcap-ng-reading?) code in a separate library, for use by, for example, dumpcap (and rawshark?). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27076 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-08Updates for PPI 1.0.8.gerald1-28/+32
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26934 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-31Fix some "format not a string literal and no format arguments" warnings.stig1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26648 f5534014-38df-0310-8fa8-9805f1628bb7
2008-09-26Change emv -> evm, as noted in bug 2903.stig1-4/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26275 f5534014-38df-0310-8fa8-9805f1628bb7
2008-09-19Move wtap_pcap_encap_to_wtap_encap and wtap_wtap_encap_to_pcap_encap togerald1-9/+7
libwsutil. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26233 f5534014-38df-0310-8fa8-9805f1628bb7
2008-06-24Add TurboCap-related changes from /trunk-1.0:gerald1-17/+146
From Dustin Johnson: Add support for TurboCap. - packet-ppi.c: Add aggregation and 802.3 extended information. - capture-wpcap.c: Add support for pcap_list_datalinks and pcap_set_datalink. Make pcap_list_datalinks and pcap_set_datalink mandatory on Windows. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25593 f5534014-38df-0310-8fa8-9805f1628bb7
2008-03-10Change the BSD-licensed written by CACE to BSD+GPL.gerald1-0/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24599 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-07Removed even more "statement not reached" warnings.stig1-2/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24286 f5534014-38df-0310-8fa8-9805f1628bb7
2008-01-24Fix various small memory leaks & 1 invalid g_free (airpcap_gui_utils.c)wmeier1-1/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24185 f5534014-38df-0310-8fa8-9805f1628bb7
2007-08-22Move wtap_pcap_encap_to_wtap_encap()'s definition to libpcap.h so ↵morriss1-4/+1
packet-ppi.c can get access to it even when we don't HAVE_LIBPCAP (besides, it doesn't seem to be specific to capturing...) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22591 f5534014-38df-0310-8fa8-9805f1628bb7
2007-08-17Instead of converting between 802.11 frequencies and channels umpteengerald1-45/+15
different ways, add a set of common conversion routines. Add a "Frequency/Channel" column and fill it in where we can. Fix RSSI column printing in PPI. Fix up whitespace along the way. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22538 f5534014-38df-0310-8fa8-9805f1628bb7
2007-06-26Add capture counts for PPI.gerald1-4/+43
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22195 f5534014-38df-0310-8fa8-9805f1628bb7
2007-06-14Fix a bunch of errors found by gcc.gerald1-10/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22096 f5534014-38df-0310-8fa8-9805f1628bb7
2007-06-13Add support for PPI (the Per-Packet Information header), described atgerald1-0/+1189
http://www.cacetech.com/documents/PPI_Header_format_1.0.pdf . git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22094 f5534014-38df-0310-8fa8-9805f1628bb7