summaryrefslogtreecommitdiff
path: root/epan/address.h
AgeCommit message (Collapse)AuthorFilesLines
2012-12-18When copying addresses, also copy the (new) hf field.Jeff Morriss1-0/+11
Use SET_ADDRESS in some dissectors that weren't using it (so that the hf field is correctly initialized). Introduce a COPY_ADDRESS_SHALLOW (which copies an address without copying the contents of the data field). svn path=/trunk/; revision=46602
2012-12-02Introduce, and start using, TVB_SET_ADDRESS() and TVB_SET_ADDRESS_HF(). TheyJeff Morriss1-2/+30
are like the non-TVB versions except that they take a TVB and an offset instead of (frequently) a pointer into the TVB. Calling tvb_get_ptr() before modifying the rest of the fields should help fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7960 (though I can't reproduce that problem). Replace a bunch of calls like: SET_ADDRESS(..., AT_XXX, length, tvb_get_ptr(tvb, offset, length)); with: TVB_SET_ADDRESS(..., AT_XXX, tvb, offset, length); svn path=/trunk/; revision=46324
2012-10-26Create SET_ADDRESS_HF that takes an additional hf_ value that can beEvan Huus1-1/+10
used to override the filter generated from the address column. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7728 (again). svn path=/trunk/; revision=45792
2012-10-26Revert revision 44921.Evan Huus1-14/+0
See discussion on https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7728 svn path=/trunk/; revision=45791
2012-10-23Note why there's no AT_IEEE_802_15_4_LONG (that's AT_EUI64).Guy Harris1-0/+1
svn path=/trunk/; revision=45744
2012-10-23Add an AT_ value for 802.15.4 short addresses.Guy Harris1-20/+21
Note that, if you want EUI-64's to resolve the OUI in the display, hacking individual dissectors to do it themselves and use AT_STRINGZ is *not* the right way to do it. svn path=/trunk/; revision=45743
2012-09-24Get rid of ../../epan/address.h:65:19: warning: comma at end of enumerator ↵Anders Broman1-1/+1
list [-pedantic] svn path=/trunk/; revision=45102
2012-09-15From Pontus Fuchs via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7728Evan Huus1-0/+14
Make right-click + apply-as-filter work in the packet list for non-ethernet frames (such as ieee 802.11 frames). svn path=/trunk/; revision=44921
2012-08-02From Richard Stearn: support for AX.25, including support forGuy Harris1-1/+2
LINKTYPE_AX25. svn path=/trunk/; revision=44211
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-03-01From Martin Kaiser via ↵Jeff Morriss1-1/+2
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6890 : The attached patch for the DVB-CI dissector creates a circuit for each DVB-CI session, using the session number as circuit id. The DVB-CI session commands are: - open_session_request(resource_id) - session_opened(resource_id, newly assigned session number) - payload transfer(session_number, payload data) - close session(session_number) For now, the circuit will store the resource id and make it available (as a generated item) to subsequent packets that contain only the session number. Doing this, the resource id (which is like a tcp/udp port) can be used for filtering. svn path=/trunk/; revision=41253
2010-11-17From Slava via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5335 :Jeff Morriss1-5/+8
This patch adds to Wireshark the ability to dissect Infiniband SDP (Socket Direct Protocol) and CM MADs traffic. It also contains various other bug-fixes and enhancements. SDP traffic can be identified automatically (analyzing SDP CM MADs) or manually. SDP, or Sockets Direct Protocol, is a protocol developed by the Infiniband Trade Association which enables existing socket-based applications to transparently utilize the Infiniband capabilities. This patch is submitted on behalf of Mellanox Technologies Ltd. svn path=/trunk/; revision=34918
2010-05-13Fix up some indentationJeff Morriss1-3/+3
svn path=/trunk/; revision=32795
2008-08-12From Alexey Neyman:Anders Broman1-1/+2
Implement dissector for IPMB (DLT_IPMB_LINUX, 209). svn path=/trunk/; revision=25986
2007-04-26Make ADD_ADDRESS_TO_HASH() take a pointer to an address as an argument,Guy Harris1-2/+2
as the other address macros do. svn path=/trunk/; revision=21588
2007-04-26Use the right local variable.Guy Harris1-1/+1
svn path=/trunk/; revision=21581
2007-04-26Add missing backslash.Guy Harris1-1/+1
svn path=/trunk/; revision=21579
2007-04-26Rename HASH_ADDRESS to ADD_ADDRESS_TO_HASH, to make it clearer what itGuy Harris1-9/+9
does (i.e., it will add the address bytes to the value that's already there - it will not initialize the value, so you have to clear it before doing any hashing). svn path=/trunk/; revision=21578
2007-04-26Add a macro for hashing the bytes of an address into a hash value.Guy Harris1-0/+13
Use it in the IAX2 dissector and in the conversation code. svn path=/trunk/; revision=21577
2007-04-25Some types of addresses are data structures; make the address dataGuy Harris1-2/+2
pointer in an address structure a "void *", to indicate that it can point to some arbitrary type of object, rather than a "guint8 *", which indicates that it points to an array of bytes. For any address type where the address is a structure, this removes some alignment warnings; the author of the code to handle a particular address type has the responsibility of making sure you don't set up the address structure with misaligned data. (Yes, it matters, at least on SPARC.) svn path=/trunk/; revision=21563
2007-04-23Add some GCC warnings to the standard set, and add some others to theGuy Harris1-1/+1
--enable-extra-gcc-checks set. If we turn on -pedantic, try turning on -Wno-long-long as well, so that it's not *so* pedantic that it rejects the 64-bit integral data types that we explicitly require. Constify a bunch of stuff, and make some other changes, to get rid of warnings. Clean up some indentation. svn path=/trunk/; revision=21526
2007-04-10new SE_COPY_ADDRESS macroTomas Kukosa1-0/+11
svn path=/trunk/; revision=21364
2007-01-18PutGuy Harris1-1/+8
#ifdef __cplusplus extern "C" { #endif /* __cplusplus */ ... #ifdef __cplusplus } #endif /* __cplusplus */ wrappers into some header files, for the benefit of C++ plugins. Also, add multiple-include protections. svn path=/trunk/; revision=20485
2006-10-15add a new port type for usb endpointsRonnie Sahlberg1-1/+2
start introducing conversations to the usb dissector so that we can start tracking requests/responses which we need to in order to dissect for example the data returned by a device to a GET DESCRIPTORS call svn path=/trunk/; revision=19539
2006-10-14create a new address type AT_USB and start populating the packet list Ronnie Sahlberg1-1/+3
with nice data svn path=/trunk/; revision=19524
2006-05-28Ethereal->WiresharkAnders Broman1-3/+3
svn path=/trunk/; revision=18234
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2005-12-01Add TIPC address as address type and use it in TIPC.Anders Broman1-2/+4
svn path=/trunk/; revision=16641
2005-11-30Add circuit ID BICC_CICAnders Broman1-3/+4
svn path=/trunk/; revision=16628
2005-10-04Preparations for h223Anders Broman1-1/+2
svn path=/trunk/; revision=16105
2005-09-20Francesco Fondelli; Add dcp supportJörg Mayer1-0/+1
svn path=/trunk/; revision=15897
2005-07-07Add a cast to SET_ADDRESS() to squelch GCC4 "differ in signedness"Guy Harris1-1/+1
warnings. Use SET_ADDRESS in the VOIP calls code, rather than explicitly filling in "pstn_add". svn path=/trunk/; revision=14867
2005-06-20From Mike Duigou:Anders Broman1-1/+2
In order to get filtering of conversations and > endpoints to work from the endpoints and conversations windows I found > it necessary to add a new AT_URI address type and a SAT_JXTA. This also > necessitated a change to to_str.c to avoid a buffer overflow problem. > Please review these changes carefully. > > Also includes some changes to the jxta dissector to fix filtering on > generated fields and some changes to the types used for ints/unsigned ints. > > Fixes a bug with the processing of messages containing namespaces. svn path=/trunk/; revision=14715
2005-06-03From Mike Duigou:Anders Broman1-1/+1
A few doxygen updates and an improved section on writing dissectors that don't use tcp_dissect_pdus(). svn path=/trunk/; revision=14537
2005-03-06Handle XNS IDP socket numbers.Guy Harris1-1/+2
Handle SMB-over-SPP. svn path=/trunk/; revision=13635
2005-02-22From Francisco Alcoba:Luis Ontanon1-0/+3
changed the behaviour of get_addr_name: - resolve to a name if the address supports it - call address_to_str if it does not, but the address is valid - return "NONE" if it is AT_NONE svn path=/trunk/; revision=13463
2004-07-19Pull the address (and port and circuit type) stuff out ofGuy Harris1-0/+128
"epan/packet_info.h" and put it in "epan/address.h". Use the AT_ values from "epan/address.h" for address types in the interface lists rather than having our own FAM_ enums. svn path=/trunk/; revision=11427