Commit Graph

14 Commits

Author SHA1 Message Date
Guy Harris a8bc4a0d13 Rename the routines that handle dissector tables with unsigned integer
keys to have _uint in their names, to match the routines that handle
dissector tables with string keys.  (Using _port can confuse people into
thinking they're intended solely for use with TCP/UDP/etc. ports when,
in fact, they work better for things such as Ethernet types, where the
binding of particular values to particular protocols are a lot
stronger.)

svn path=/trunk/; revision=35224
2010-12-20 05:35:29 +00:00
Jeff Morriss 0267a5293d Fix an error in a comment I added last week.
svn path=/trunk/; revision=34480
2010-10-11 20:16:35 +00:00
Jeff Morriss 7321549932 Don't use a TRY/CATCH block just to ignore any exceptions thrown by
tvb_get_ntohs(): check the remaining tvb length instead.

svn path=/trunk/; revision=34435
2010-10-08 17:37:19 +00:00
Anders Broman 97d69446ea From tieuthunhi:
Add new time source for Gigamon header.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5210

svn path=/trunk/; revision=34114
2010-09-14 14:43:56 +00:00
Gerald Combs b4a8226906 Check our field lengths. Should fix the recent randpkt errors.
svn path=/trunk/; revision=33481
2010-07-09 20:27:02 +00:00
Bill Meier c3f91fd021 Strengthen test for Gigamon trailer;
Change some indentation/spacing.

svn path=/trunk/; revision=33293
2010-06-23 00:04:37 +00:00
Bill Meier 875223e53e Ensure no exceptions thrown while checking for Gigamon trailer.
(Builds upon the previous commit by Anders).

svn path=/trunk/; revision=33291
2010-06-22 15:33:27 +00:00
Anders Broman 017e4d0dc0 If the trailer is less than 4 bytes it's not a Gigamon hdr.
svn path=/trunk/; revision=33287
2010-06-22 13:29:33 +00:00
Stig Bjørlykke a0e759ca9b Corrected copyright header.
svn path=/trunk/; revision=33276
2010-06-21 11:28:52 +00:00
Martin Mathieson e530123963 Added volatile to 'offset' (needed by my version of gcc).
svn path=/trunk/; revision=33275
2010-06-21 09:41:57 +00:00
Guy Harris 0b50e9c953 Properly terminate gmhdr_ftype_timestamp[].
svn path=/trunk/; revision=33273
2010-06-20 22:36:32 +00:00
Guy Harris 15f156c680 Mark pinfo as unused.
svn path=/trunk/; revision=33272
2010-06-20 21:43:52 +00:00
Bill Meier b9d5679284 More rework of the code:
- Refactor to use a separate function for common code;
 - Prefs callback not required;
 - Use val_to_str(...);
 - Fix issues relating to incorrect bytes highlighted in the hex view;

svn path=/trunk/; revision=33271
2010-06-20 21:18:48 +00:00
Stig Bjørlykke 41b8508c73 From tieuthunhi via bug 4887:
Add support for Gigamon headers (timestamp, source port, length, etc)
that are inserted by Gigamon network equipments.

From me:
Various cleanup:
- Register to "eth.trailer" heuristics for trailer.
- Use standard dumping of timestamp.
- Rewrote gmhdr_plfm_str handling.
- Dump srcport details in a subtree.
- Removed packte-gmhdr.h.
- Ensure the while-loop will end.

svn path=/trunk/; revision=33256
2010-06-19 01:43:11 +00:00