aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-winsrepl.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-23Apply the small performance enhancment patches for:Anders Broman1-11/+11
- 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
2006-12-07As ponted out by Stig Bjørlykke change a whole bunch of dissector_handle_t ↵Anders Broman1-1/+1
to static. svn path=/trunk/; revision=20062
2006-10-31change the signature for the get_pdu_len() function pointer passed to ↵Ronnie Sahlberg1-1/+1
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-07-11More from Ilja van Sprundel. When we call tvb_new_subset() with aGerald Combs1-3/+8
length fetched using tvb_get_netohl(), make sure the length ends up being positive. svn path=/trunk/; revision=18714
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2006-01-20packet-bgp.c: Fix incorrect use of g_snprintf return valueJörg Mayer1-1/+1
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
2005-11-04from MetzeRonnie Sahlberg1-32/+43
some winsrepl updates svn path=/trunk/; revision=16391
2005-09-21Don't fill in a data structure for the packet while dissecting; we useGuy Harris1-219/+204
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-21Put in some comments based on stuff seen in the Samba codeGuy Harris1-0/+41
(include/nameserv.h, code in wrepld). svn path=/trunk/; revision=15914
2005-09-19Fix a typo.Guy Harris1-1/+1
svn path=/trunk/; revision=15863
2005-09-13From Stefan MetzmacherAnders Broman1-18/+79
Some updates to the winsrepl-dssector to add COL_INFO strings... svn path=/trunk/; revision=15779
2005-09-10Add "tvb_get_ipv4()" and "tvb_get_ipv6()" addresses, to fetch IPv4 andGuy Harris1-6/+6
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-08start making winsrepl into a new style dissector and use tcp_dissect_pdus()Ronnie Sahlberg1-68/+43
also fix bugs 417 / 418 this dissector still needs to have heuristics to be added to it. svn path=/trunk/; revision=15724
2005-09-08from M&Y KaulRonnie Sahlberg1-7/+24
rename Wins to WINS add some new decodes svn path=/trunk/; revision=15723
2005-09-07From Metze with minor changes.Ronnie Sahlberg1-0/+827
New protocol NBNS Replication support svn path=/trunk/; revision=15711