Wireshark mailing list archives
Routines for registering dissectors with a "port number", and looking up dissectors by "port number", renamed
From: Guy Harris <guy () alum mit edu>
Date: Sun, 19 Dec 2010 22:02:16 -0800
I've checked into the trunk a change to rename: dissector_add() -> dissector_add_uint() dissector_change() -> dissector_change_uint() dissector_delete() -> dissector_delete_uint() dissector_get_port_handle() -> dissector_get_uint_handle() dissector_reset() -> dissector_reset_uint() dissector_try_port() -> dissector_try_uint() dissector_try_port_new() -> dissector_try_uint_new() next_tvb_add_port() -> next_tvb_add_uint() (and a matching change of NTVB_PORT -> NTVB_UINT) with #defines left behind so old code continues to build and work. The intent is to make it a little more obvious that this is for arbitrary unsigned-integer selectors, not just TCP/UDP/etc. ports (selecting on, for example, an Ethernet type actually works better than selecting on a port number...), and to make the names match what's used for string-based dissector tables. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Routines for registering dissectors with a "port number", and looking up dissectors by "port number", renamed Guy Harris (Dec 19)
- Re: Routines for registering dissectors with a "portnumber", and looking up dissectors by "port number", renamed news.gmane.com (Dec 19)
- Re: Routines for registering dissectors with a "portnumber", and looking up dissectors by "port number", renamed Guy Harris (Dec 20)
- Re: Routines for registering dissectors with a"portnumber", and looking up dissectors by "port number", renamed news.gmane.com (Dec 20)
- Re: Routines for registering dissectors with a"portnumber", and looking up dissectors by "port number", renamed Stephen Fisher (Dec 20)
- Re: Routines for registering dissectors with a "portnumber", and looking up dissectors by "port number", renamed Jeff Morriss (Dec 20)
- Re: Routines for registering dissectors with a"portnumber", and looking up dissectors by "port number", renamed Andreas (Dec 20)
- Re: Routines for registering dissectors with a"portnumber", and looking up dissectors by "port number", renamed Guy Harris (Dec 20)
- Re: Routines for registering dissectors with a "portnumber", and looking up dissectors by "port number", renamed Guy Harris (Dec 20)
- Re: Routines for registering dissectors with a "portnumber", and looking up dissectors by "port number", renamed news.gmane.com (Dec 19)