http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=53520
User: mmann
Date: 2013/11/23 02:20 AM
Log:
Create the ability to have packet scoped "proto" data. Bug 9470 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9470)
I'm not sold on the name or module the proto_data functions live in, but I believe the function arguments are solid and gives us the most flexibility for the future. And search/replace of a function name is easy enough to do.
The big driving force for getting this in sooner rather than later is the saved memory on ethernet packets (and IP packets soon), that used to have file_scope() proto data when all it needed was packet_scope() data (technically packet_info->pool scoped), strictly for Decode As.
All dissectors that use p_add_proto_data() only for Decode As functionality have been converted to using packet_scope(). All other dissectors were converted to using file_scope() which was the original scope for "proto" data.
Directory: /trunk/ui/cli/
Changes Path Action
+1 -1 tap-follow.c Modified
Directory: /trunk/epan/dissectors/
Changes Path Action
+3 -3 packet-6lowpan.c Modified
+2 -2 packet-ajp13.c Modified
+6 -6 packet-arp.c Modified
+3 -3 packet-beep.c Modified
+2 -2 packet-brdwlk.c Modified
+4 -4 packet-btavctp.c Modified
+22 -22 packet-btl2cap.c Modified
+8 -8 packet-btrfcomm.c Modified
+11 -11 packet-catapult-dct2000.c Modified
+23 -23 packet-cip.c Modified
(84 files not shown)