Ethereal-dev: [Ethereal-dev] README.developer problem

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "bunty " <bunty123_4@xxxxxxxxxxxxxx>
Date: 4 Apr 2005 16:11:42 -0000

 
Hello,
              I am unable to find following function given in README.developer in ethereal sourcecode.
            I want to call IP dissector from my new header. for that i am checking which functions to be called and found this one which is not used in source code.
/* call the next dissector */
     dissector_next( next_tvb, pinfo, tree);

Also there's no explanation is given about dissector_try_port. But i found its written in packet.c as

/* Look for a given value in a given uint dissector table and, if found,call the dissector with the arguments supplied, and return TRUE,
  otherwise return FALSE. */
gboolean dissector_try_port(dissector_table_t sub_dissectors, guint32 port,tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
              So is this the right function to call next dissector in packet?
Please correct me if i am wrong.
regards,
bunty