aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dvb-nit.c
AgeCommit message (Collapse)AuthorFilesLines
2016-12-31Dissectors don't need a journey of self discovery.Michael Mann1-5/+2
They already know who they are when they register themselves. Saving the handle then to avoid finding it later. Not sure if this will increase unnecessary register_dissector functions (instead of using create_dissector_handle in proto_reg_handoff function) when other dissectors copy/paste, but it should make startup time a few microseconds better. Change-Id: I3839be791b32b84887ac51a6a65fb5733e9f1f43 Reviewed-on: https://code.wireshark.org/review/19481 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-12-09new_register_dissector -> register_dissector for dissector directory.Michael Mann1-1/+1
Change-Id: Ie39ef054a4a942687bd079f3a4d8c2cc55d5f22c Reviewed-on: https://code.wireshark.org/review/12485 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-12-21Cleanup use of #includes in non-generated epan/dissector/*.cBill Meier1-4/+1
Specifically: - Set packet.h to be the first wireshark #include after config.h and "system" #includes. packet.h added as an #include in some cases when missing. - Remove some #includes included (directly/indirectly) in packet.h. E.g., glib.h. (Done only for those files including packet.h). - As needed, move "system" #includes to be after config.h and before wireshark #includes. - Rework various #include file specifications for consistency. - Misc. Change-Id: Ifaa1a14b50b69fbad38ea4838a49dfe595c54c95 Reviewed-on: https://code.wireshark.org/review/5923 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-06-25convert to proto_tree_add_subtree[_format]Michael Mann1-3/+2
Change-Id: I2ea1892b5963cc5578cbdd2b03029ca8424f2267 Reviewed-on: https://code.wireshark.org/review/2640 Tested-by: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-11-28Move MPEG section table id defines to packet-mpeg-sect.hJakub Zawadzki1-3/+0
svn path=/trunk/; revision=53632
2013-03-17[-Wmissing-prototypes]Anders Broman1-2/+2
Use explicit casts. svn path=/trunk/; revision=48347
2013-03-16[-Wmissing-prototypes]Anders Broman1-0/+3
Use explicit casts. svn path=/trunk/; revision=48341
2013-03-14Change "4 space tabs" indentation to use "4 spaces" indentation.Bill Meier1-156/+157
Also: - remove some unneeded initializers; - remove several unneeded 'col_clear()' calls; - guint8 --> guint to prevent a possible overflow; - reformat for style in some cases. svn path=/trunk/; revision=48297
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-09-10Initial commit to support yet another method of passing data between dissectors.Jakub Zawadzki1-1/+1
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL svn path=/trunk/; revision=44860
2012-09-10use proto_mpeg_descriptor_loop_dissect() in the NITMartin Kaiser1-8/+5
svn path=/trunk/; revision=44857
2012-09-03unify the handling for all DVB/MPEG sectionsMartin Kaiser1-6/+4
don't initialize pointer where it's not required remove unnecessary 'if (tree)' checks svn path=/trunk/; revision=44762
2012-09-03add modelines for dvb sectionsMartin Kaiser1-0/+13
svn path=/trunk/; revision=44756
2012-08-03make dvb_nit a new-style dissectorMartin Kaiser1-10/+13
register it by name so that other protocols can call it more easily highlight only the bytes that belong to the nit svn path=/trunk/; revision=44248
2012-07-25Minor cleanup:Bill Meier1-19/+19
col_clear() not required; unneeded initializers; whitespace. svn path=/trunk/; revision=43992
2012-03-25From Guy Martin via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6992 :Jeff Morriss1-0/+257
This patch adds support for DVB Network Information Table as documented in ETSI EN 300 468. The patch also contains additional mpeg descriptors usually found in NIT plus a few minor bugfix for other descriptors. svn path=/trunk/; revision=41754