aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-netrom.c
AgeCommit message (Collapse)AuthorFilesLines
2013-12-14Fix [-Wmissing-prototypes]Jakub Zawadzki1-3/+3
svn path=/trunk/; revision=54095
2013-11-09Include <epan/to_str.h> only when needed.Jakub Zawadzki1-0/+1
svn path=/trunk/; revision=53189
2013-10-27Have X.25 dissector pass boolean q_bit_set value through dissector data ↵Michael Mann1-9/+0
rather than pinfo->private_data. Other "related" dissectors weren't manipulating pinfo->private_data, so it doesn't make sense for them to bother saving/restore it (now that q_bit_set isn't being used) svn path=/trunk/; revision=52894
2013-09-15emem -> wmemPascal Quantin1-2/+2
svn path=/trunk/; revision=52063
2013-04-04Fix encoding arg for proto_tree_add_item() and friends.Chris Maynard1-4/+4
svn path=/trunk/; revision=48732
2013-02-19How can I get a new tvbuff that starts at an offset within a givenGuy Harris1-2/+2
tvbuff and runs to the end of the tvbuff? Let me count the ways.... Replace a bunch of different ways of doing that (some incorrect, in that they're not properly handling tvbuffs where the captured and reported lengths are different) with tvb_new_subset_remaining(). svn path=/trunk/; revision=47751
2012-11-28Fix [-Wshadow] warnings;Bill Meier1-3/+3
Also (for one or more of the files): - create/use one or more extended variable strings; - remove some uneeded variable initializers; - reformat some long lines; - reformat hf[] entries; - convert apparent 4-space tabs to spaces; - do some whitespace and formatting changes to use a consistent style. svn path=/trunk/; revision=46265
2012-10-22Cleanup:Bill Meier1-121/+91
- Ethereal --> Wireshark; - gerald@ethereal.com --> gerald@wireshark.org; - update FSF address; - remove unneeded #includes; - Fix ENC args for proto_tree_add_item() & etc; - simplify/remove proto_reg_handoff...() as appropriate; - remove some boilerplate comments; - move proto_register...() and proto_reg_handoff...() to the end of the file as per convention; - remove some unneeded initializers. - simplify some code; - replace "" in hf[] blurb by NULL. svn path=/trunk/; revision=45728
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-08-03Add in the URL of a protocol specification.Guy Harris1-11/+13
Apparently, it's called "NET/ROM", not "NetROM" or "Net/ROM". Get rid of check_col() calls and a clear-before-set. svn path=/trunk/; revision=44238
2012-08-03Move the list of AX.25 protocol IDs to epan/ax25_pids.h. Use it inGuy Harris1-5/+2
packet-ax25.c and packet-arp.c. Add an "ax25.pid" dissector table for those protocol IDs, use it in the AX.25 dissector, and have dissectors register in that table with their protocol IDs. Get rid of some unneeded includes. Clean up some "AX25"s in user-visible strings - say "AX.25" instead. Clean up some indentation. svn path=/trunk/; revision=44235
2012-08-02Replace blurbs which duplicate the field name with NULL.Jeff Morriss1-12/+12
svn path=/trunk/; revision=44227
2012-08-02Clean up indentation.Guy Harris1-0/+2
Get rid of capture_XXX routines that just bump ld->other. *Do* bump ld->arp for AX.25 ARP packets. Note that, as there's IP-over-NetROM, capture_netrom() should check for it. svn path=/trunk/; revision=44225
2012-08-02Fix:Jörg Mayer1-9/+5
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-netrom.c: In function ‘dissect_netrom_proto’: /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-netrom.c:211:9: error: variable ‘dst_ssid’ set but not used [-Werror=unused-but-set-variable] /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-netrom.c:210:9: error: variable ‘src_ssid’ set but not used [-Werror=unused-but-set-variable] /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-netrom.c: In function ‘capture_netrom’: /home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-netrom.c:684:16: error: variable ‘l_pd’ set but not used [-Werror=unused-but-set-variable] svn path=/trunk/; revision=44224
2012-08-02From Richard Stearn: Flexnet support.Guy Harris1-34/+8
Also, get rid of check_col() calls and unused preferences, and use col_add_fstr() where appropriate. Fix up some indentation. svn path=/trunk/; revision=44222
2012-08-02From Richard Stearn: AX.25 NetROM support.Guy Harris1-0/+719
Also add packet-ax25.c to the CMake list. svn path=/trunk/; revision=44217