aboutsummaryrefslogtreecommitdiffstats
path: root/make-reg-dotc
AgeCommit message (Collapse)AuthorFilesLines
2000-04-04Make "make-reg-dotc" generate a "register_all_protocol_handoffs()"Guy Harris1-0/+18
routine, which calls all routines found in the dissector source files with names that match " proto_reg_handoff_[a-z_0-9A-Z]*". Call "register_all_protocol_handoffs()" after calling "register_all_protocols()" - "register_all_protocols()" needs to be called first, so that all protocols can register their fields, because registering a dissector as being called if field "proto.port" is equal to N requires that "proto.port" be a registered field. Give DNS a handoff registration routine, and register its dissector to be called if "udp.port" is UDP_PORT_DNS; remove the registration of DNS from "packet-udp.c", and make "dissect_dns()" static (as nobody else need know that it exists). svn path=/trunk/; revision=1788
1999-10-27For some unknown reason, having a big "for" loop in the Makefile to scanGuy Harris1-0/+26
all the "packet-XXX.c" files doesn't work with some "make"s; they seem to pass only the first few names in the list to the shell, for some reason. Therefore, we use a script to generate the "register.c" file, and run that script from the Makefile. svn path=/trunk/; revision=930