aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-eth.c
AgeCommit message (Collapse)AuthorFilesLines
2006-02-23add an expansion to ethernet source and destination addressesRonnie Sahlberg1-11/+55
inside this expansion show 1, eth.addr so people can see that this field exists (i think it is futile to use "hidden" fields and expect people to search through the infinitely long list of fields, better show everything and they will see themself what fuields they can filter on) 2, bit 0x01 of the first byte to show if it is Multi or Uni-cast 3, bit 0x02 of the first byte to show if it is a locally administrated address or not. I do use the (to laymen) more descriptive names "factory default" instead of LocallyAdminAddr in the true_false string though. svn path=/trunk/; revision=17378
2005-09-17Move a pile of protocol-related headers from the top-level sourceGuy Harris1-1/+1
directory to the epan directory. Some of them should perhaps ultimately be moved to epan/dissectors, if they pertain only to stuff exported by a particular dissector. Fix Gerald's e-mail address in files we're moving. svn path=/trunk/; revision=15844
2005-07-09Squelch various signed vs. unsigned warnings by:Guy Harris1-1/+1
making pointers to byte data be "guint8 *" rather than "char *", and making buffers holding byte data arrays of "guint8" rather than arrays of "char"; making pointers to text strings "char *" rather than "guchar *"; appropriately casting pointers (cast to "guint8 *" when passing to routines expecting "guint8 *" or when assigning to "guint8 *"); making port-number preferences "guint"; making enum preferences "gint"; making hf_ variables "int". Clean up white space. svn path=/trunk/; revision=14884
2005-07-08checksum messages: use "[correct]" instead of "(correct)" and other "alike" ↵Ulf Lamping1-2/+2
messages svn path=/trunk/; revision=14880
2005-06-02add the resolved Ethernet addresses to the "Ethernet II" summary lineUlf Lamping1-2/+2
svn path=/trunk/; revision=14520
2005-05-05Squelch a compiler warning.Guy Harris1-1/+1
svn path=/trunk/; revision=14313
2005-04-17Add a tvb_ensure_bytes_exist(). Fixes bug 62.Gerald Combs1-0/+1
svn path=/trunk/; revision=14112
2005-04-11Major speed improvement for filtering and dissection.Ronnie Sahlberg1-8/+19
It should not dump core as far as all my tests are concerned and Menu_Statistics/ProtocolHierStats work It needs more testing and there might still be cases where it will crash that will need to be fixed but I feel it will be worth it since it will decrease the time to filter very large capture files dramatically. Real significant performance boost for very large captures. (If we cant fix all the problems we can just revert this patch) svn path=/trunk/; revision=14051
2005-01-01Get rid of some warnings about variables whose values might be lost in aGuy Harris1-1/+1
longjmp, by properly qualifying those variables as volatile. svn path=/trunk/; revision=12914
2004-11-24Export two versions of the Ethereal dissector, for use with encapsulatedGuy Harris1-13/+19
Ethernet frames, one for encapsulated frames that include an FCS and one for encapsulated frames that don't include an FCS. Use the appropriate versions. In the ISL dissector, do the same sort of processing we do in the Ethernet dissector to figure out whether the frame has a trailer or not and whether it has an FCS or not. svn path=/trunk/; revision=12593
2004-11-24Only interpret a frame as an FW1 header if it looks like one, as per aGuy Harris1-5/+8
patch from Yaniv Kaul. svn path=/trunk/; revision=12590
2004-11-03Check for ISL frames before checking for ETHERTYPE_UNK, as ISL fieldsGuy Harris1-23/+29
might have 0 in what would be the Ethernet type field. Also, handle the first 5 octets of the destination address of an ISL frame being 0C-00-0C-00-00. svn path=/trunk/; revision=12484
2004-09-29Move the tap infrastructure to the epan directory.Guy Harris1-1/+1
svn path=/trunk/; revision=12128
2004-09-28Move various checksum routines and headers to epan.Guy Harris1-1/+1
svn path=/trunk/; revision=12117
2004-09-27Move prefs.c and prefs.h into the epan subdirectory.Guy Harris1-1/+1
svn path=/trunk/; revision=12115
2004-08-06From Albert Chin: rename resolv.{ch} to addr_resolv.{ch}, so that anGuy Harris1-1/+1
include of <resolv.h> in any system header file gets the system <resolv.h> (needed for builds on Tru64 with GTK+ 1.2[.x]). svn path=/trunk/; revision=11615
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+471
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