aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcerpc-epm.c
AgeCommit message (Collapse)AuthorFilesLines
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2011-11-25Mark drep parameter as unused in the epm_dissect_tower_data functionStephen Fisher1-1/+1
since its use was removed in r40002. svn path=/trunk/; revision=40003
2011-11-25From Wido Kelling: EPM tower UUID must be interpreted always as little endian.Bill Meier1-1/+2
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6368 svn path=/trunk/; revision=40002
2011-10-15Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵Bill Meier1-4/+4
FT_STRINGZ, FT_UINT_STRING as follows: 1. If there's no character encoding (ENC_ASCII, ...) specified then use ENC_ASCII. 2. For all but FT_UINT_STRING, always use ENC_NA (replacing any existing True/1/FALSE/0 /ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN). svn path=/trunk/; revision=39426
2011-10-10 Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-1/+1
non-autogenerated epan/dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_BOOLEAN FT_IPv4 FT_EUI64 FT_GUID FT_UINT_STRING Also: For type FT_ITv6 use ENC_NA. (This was missed in SVN #39260) svn path=/trunk/; revision=39328
2011-10-06From Dirk Jagdmann:Gerald Combs1-4/+20
Below is a small enhancement to the EPM dissector. It adds the "type" of EPM Map request/response to the INFO column. This way I don't have to dig into the proto tree if I want to see what service is requested. From me: Add a modeline blurb. svn path=/trunk/; revision=39303
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-5/+5
non-autogenerated epan/dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE svn path=/trunk/; revision=39288
2011-01-14Replace ip_to_str((tvb_get_ptr(...)) with tvb_ip_to_str().Jeff Morriss1-1/+1
Replace ip6_to_str((tvb_get_ptr(...)) with tvb_ip6_to_str(). There's no need to pass the result of tvb_get_ptr() as the 'value' in proto_tree_add_*(): just use proto_tree_add_item(). Replace some tvb_get_ptr()s with tvb_get_ephemeral_string()s. Replace some memcpy()+tvb_get_ptr() with tvb_memcpy(). svn path=/trunk/; revision=35529
2011-01-12Replace some uses of tvb_get_ptr() with tvb_get_ephemeral_string().Jeff Morriss1-14/+7
svn path=/trunk/; revision=35494
2010-05-10Indentation & whitespace cleanup (including: "4 space tabs" ==> spaces)Bill Meier1-135/+135
svn path=/trunk/; revision=32735
2010-04-06#include <string.h> not needed.Bill Meier1-3/+0
svn path=/trunk/; revision=32410
2009-09-30Move the definition of the uuid, and registration of its name, for the Ronnie Sahlberg1-5/+0
standard ndr transfer syntax from the epm dissector to packet-dcerpc.c Add a new transfer syntax : ndr64. This is a new syntax with different scalar sizes and different alignment rules compared to normal ndr. It is negotiated and used between w2k8 and samba4 boxens and one may assume, future versions of windows as well. We need to associate the transfer syntax with the bind information since the transfer syntax will change the packet encoding rules for the protocol. For example, SAMR, as well as all other interfaces support both syntaxes and are thus encoded differently, wiht different alignments depending on which transfer was negotioated during the bind. This will require additional changes to the dcerpc helpers and also to pidl. svn path=/trunk/; revision=30209
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-14/+14
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero svn path=/trunk/; revision=28770
2008-06-23Renamed some local variables to avoid name collisions.Stig Bjørlykke1-6/+6
svn path=/trunk/; revision=25565
2006-09-07add some probable protocol IDs from the DCOM specsUlf Lamping1-0/+4
svn path=/trunk/; revision=19175
2006-08-28add some more right-hand-side infos of the tower dataUlf Lamping1-1/+6
svn path=/trunk/; revision=19064
2006-08-17some further work on the GUID/UUID resolvingsUlf Lamping1-5/+4
most of the relevant code moved to guid_utils lot of corresponding code cleanup in packet-dcerpc.c still using GHashTable still not using a manuf like file svn path=/trunk/; revision=18939
2006-08-16various UUID/GUID based changes.Ulf Lamping1-14/+45
I think I've changed all corresponding appearances from FT_STRING to FT_GUID, so assert the FT_ type as it should only be a FT_GUID now. Add a generic implementation in guid_utils.h to have a way to store data about GUID to name resolving (something like value_string for e.g. int). It might be better to have a single registry for all GUID's of all dissectors and implement the GUID name resolving into the proto_tree_add... functions. svn path=/trunk/; revision=18935
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2005-07-24Constify to remove a bunch of warnings. Add some casts to squelchGuy Harris1-1/+1
(presumably-)harmless-but-otherwise-unremovable const-to-nonconst warnings. In the TACACS dissector, clean up the variables used in option parsing to avoid some const-to-nonconst warnings. Clean up some white space. svn path=/trunk/; revision=15043
2005-04-23Add a few tvb_ensure_bytes_exist() calls.Gerald Combs1-0/+5
svn path=/trunk/; revision=14174
2004-12-19Merge dissection of EndpointMapper interfaces of version 3 and 4 into one ↵Ulf Lamping1-5/+14
file, as the dissection of both interface versions are (currently) identical. (Jaime, could you please check, if EPM4 dissection is still working well?) svn path=/trunk/; revision=12775
2004-12-15From Yaniv Kaul: DCERPC-over-HTTP(!) support. (But why didn't whoeverGuy Harris1-13/+21
came up with that not go whole hog and implement RFC 3093?) svn path=/trunk/; revision=12756
2004-09-17FALSE, not TRUE, means big-endian in a "proto_tree_add_item()" call.Guy Harris1-1/+1
svn path=/trunk/; revision=12023
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+735
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410