Commit Graph

18 Commits

Author SHA1 Message Date
Bill Meier 09d097e7a7 #include <conversation.h> not req'd ....
svn path=/trunk/; revision=27389
2009-02-06 20:33:53 +00:00
Bill Meier ffa7320de2 Minor cleanup related to proto_register & proto_reg_handoff
svn path=/trunk/; revision=26280
2008-09-26 20:06:40 +00:00
Bill Meier b52d95d591 #include <emem.h> not req'd
svn path=/trunk/; revision=26091
2008-08-26 01:28:50 +00:00
Anders Broman 1950ffc214 Apply the small performance enhancment patches for:
- if offset is 0, tvb_length is the same as tvb_length_remaining, just faster.
Replace 
- col_append_fstr() with faster  col_append_str() 
- col_add_str() with col_set_str()
when it's safe

svn path=/trunk/; revision=23252
2007-10-23 05:50:00 +00:00
Anders Broman d61e373bb4 As ponted out by Stig Bjørlykke change a whole bunch of dissector_handle_t to static.
svn path=/trunk/; revision=20062
2006-12-07 20:34:08 +00:00
Ronnie Sahlberg 2d1bb39121 change the signature for the get_pdu_len() function pointer passed to tcp_dissect_pdus() to also include a packet_info pointer.
there are many reasons why some protocols actually need to be able to access the pinfo structure while determining the pdu size



svn path=/trunk/; revision=19751
2006-10-31 09:29:07 +00:00
Gerald Combs 133539b55e More from Ilja van Sprundel. When we call tvb_new_subset() with a
length fetched using tvb_get_netohl(), make sure the length ends up
being positive.

svn path=/trunk/; revision=18714
2006-07-11 17:53:15 +00:00
Ronnie Sahlberg feab79e328 change a whole bunch of ethereal into wireshark
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00
Jörg Mayer a052b3a98b packet-bgp.c: Fix incorrect use of g_snprintf return value
mp_addr_to_str was unnecessary 'complex' - simplified it
packet-dns.c: Fix incorrect use of g_snprintf return value
packet-dcm.c: Fix incorrect use of g_snprintf return value
        Someone who understands the protocol should look at the
        "vr, tr might be used uninitialized..." warning.
packet-x11.c: Fix incorrect use of g_snprintf return value
packet-kerberos.c: Fix incorrect use of g_snprintf return value
        Someone should take a look at the
        "longjump might clobber ..." messages
packet-diameter.c: Fix incorrect use of g_snprintf return value
        Get rid of unsigned < 0 check
packet-pgm.c: Fix incorrect use of g_snprintf return value
packet-nbns.c: Fix incorrect use of g_snprintf return value
packet-winsrepl.c: Collateral damage to packet-nbns.c fix
packet-netbios.c: Collateral damage to packet-nbns.c fix
packet-netbios.h: Collateral damage to packet-nbns.c fix
packet-kerberos.c: Collateral damage to packet-nbns.c fix
packet-nbipx.c: Collateral damage to packet-nbns.c fix


svn path=/trunk/; revision=17065
2006-01-20 21:18:18 +00:00
Ronnie Sahlberg e07f132280 from Metze
some winsrepl updates


svn path=/trunk/; revision=16391
2005-11-04 21:22:21 +00:00
Guy Harris 6c0328f7f3 Don't fill in a data structure for the packet while dissecting; we use
almost none of the data - fill in only variables for what we need, and
use proto_tree_add_item() in most cases.

Move what's left of the packet-winsrepl.h header into packet-winsrepl.c,
and get rid of the header.

Dissect the name flags field in detail, as per the Samba code.

We don't do any checks for whether the packet is a valid WINS
replication packet, so don't make the dissector a new-style dissector.

svn path=/trunk/; revision=15935
2005-09-21 17:32:21 +00:00
Guy Harris 81a1fbfcd7 Put in some comments based on stuff seen in the Samba code
(include/nameserv.h, code in wrepld).

svn path=/trunk/; revision=15914
2005-09-21 00:00:43 +00:00
Guy Harris 7a7f0be69b Fix a typo.
svn path=/trunk/; revision=15863
2005-09-19 08:09:41 +00:00
Anders Broman 3048e7b7d4 From Stefan Metzmacher
Some updates to the winsrepl-dssector to add COL_INFO strings...

svn path=/trunk/; revision=15779
2005-09-13 05:00:17 +00:00
Guy Harris 266e1a3491 Add "tvb_get_ipv4()" and "tvb_get_ipv6()" addresses, to fetch IPv4 and
IPv6 addresses.  Use "tvb_get_ipv4()" in the WINS Replication dissector,
so that it gets the right answer on little-endian *AND* big-endian
machines.

svn path=/trunk/; revision=15753
2005-09-10 19:43:41 +00:00
Ronnie Sahlberg d9c63f0fdd start making winsrepl into a new style dissector and use tcp_dissect_pdus()
also fix bugs 417 / 418


this dissector still needs to have heuristics to be added to it.


svn path=/trunk/; revision=15724
2005-09-08 12:39:02 +00:00
Ronnie Sahlberg d970ca81a6 from M&Y Kaul
rename Wins to WINS

add some new decodes



svn path=/trunk/; revision=15723
2005-09-08 10:12:12 +00:00
Ronnie Sahlberg a33ff649df From Metze with minor changes.
New protocol
NBNS Replication support



svn path=/trunk/; revision=15711
2005-09-07 13:29:44 +00:00