aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-juniper.c
AgeCommit message (Collapse)AuthorFilesLines
2013-03-23From Prafulla Harpanhalli via ↵Evan Huus1-0/+34
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8513 Add support for encapsulation 136, Juniper service PIC cookie. svn path=/trunk/; revision=48494
2013-01-31Use '#if 0 ... #endif' rather than /** ... **/ to comment outBill Meier1-2/+2
unused hf[] entries (which I should have done in the first place). svn path=/trunk/; revision=47391
2013-01-26Fix various instances of unused hf[] entries foundBill Meier1-1/+3
by checkhf. svn path=/trunk/; revision=47312
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-08-10Use val_to_str_const() where appropriate;Bill Meier1-4/+4
Also (for a few files): - create/use some extended value strings; - remove unneeded #include files; - remove unneeded variable initialization; - re-order fcns slightly so prefs_reg_handoff...() at end, etc svn path=/trunk/; revision=44438
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-05-10PPP_OSICP -> PPP_OSINLCPChris Maynard1-1/+1
svn path=/trunk/; revision=42534
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-1/+1
non-autogenerated epan/dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE svn path=/trunk/; revision=39288
2011-06-23Add a protocol decode.Anders Broman1-0/+5
svn path=/trunk/; revision=37764
2011-05-10Fix two cases of dead code reported by Coverity as CID 376.Chris Maynard1-20/+6
svn path=/trunk/; revision=37043
2011-03-24Fix a compile warning: unused variableBill Meier1-1/+1
svn path=/trunk/; revision=36320
2011-03-24Don't assign to a proto_item* if the value won't be used: Coverity 942-951Bill Meier1-107/+106
Also: minor Code & Whitespace cleanup. svn path=/trunk/; revision=36317
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-13/+13
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
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()Kovarththanan Rajaratnam1-4/+4
svn path=/trunk/; revision=29446
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-20/+10
svn path=/trunk/; revision=29344
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-24/+12
svn path=/trunk/; revision=29340
2009-05-26Misc dissector cleanup:Bill Meier1-621/+621
- Make some fcns & vars static - hf[] blurbs: "" and repeated text --> NULL - Move proto_register & proto_reg_handoff to end of source - packet-catapult-dct2000: simplify proto_reg_handoff - Use consistent indentation svn path=/trunk/; revision=28488
2008-02-07Removed even more "statement not reached" warnings.Stig Bjørlykke1-4/+0
svn path=/trunk/; revision=24286
2007-04-19From Hannes Gredler:Richard van der Hoff1-1/+1
attached a small bugfix that uses the correct bits for determining if the ATM payload is a OAM cell. svn path=/trunk/; revision=21477
2006-08-17From Hannes Gredler:Anders Broman1-0/+34
A patch that adds support for dissection of libpcap DLT_JUNIPER_VP frames. In addition i have fixed also the indent for DLT_JUNIPER_GGSN. svn path=/trunk/; revision=18940
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2006-02-09Hannes Gredler:Jörg Mayer1-21/+66
attached a patch that supports filtering for Juniper's meta information prepended before packets (logical encapsulation, ifd index etc.) Me: declare juniper_ext_get_tlv_value static svn path=/trunk/; revision=17226
2006-01-12FromHannes GredlerAnders Broman1-40/+48
-rework the GGSN dissector to proper parse meta extensions -more graceful magic-number detection - for better (JUNOS 6.4) downwards compatability -correct calculate the offset to ATM cookies when there are meta-extensions present svn path=/trunk/; revision=17016
2005-12-19Add support for Juniper GGSN generated pcap files.Luis Ontanon1-4/+43
svn path=/trunk/; revision=16857
2005-12-12Use "guint" instead of "u_int".Gerald Combs1-1/+1
svn path=/trunk/; revision=16766
2005-12-12From Hannes GredlerAnders Broman1-12/+312
-add codepoint to name resolution for Juniper IFMT, IFLE extension TLVs -bugfix: DLT_JUNIPER_PPP, correct the calculate offset for PPP payload -bugfix: DLT_JUNIPER_CHDLC, add CHDLC handler -bugfix: add a more flexible TLV value extraction function which does not bail if the assumed TLV length does not match svn path=/trunk/; revision=16764
2005-09-20From Hannes Gredler:Anders Broman1-11/+211
patch to support 4 additional juniper DLTs. all those are wrappers for exisiting media types augmented with meta-information which gets also displayed using this patch; svn path=/trunk/; revision=15908
2005-09-17Move a pile of protocol-related headers from the top-level sourceGuy Harris1-3/+3
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-08-12From Hannes GredlerAnders Broman1-46/+236
- add support for Multi-Link Frame-Relay (FRF.15) captures taken on Juniper ML-, LS-, AS- PICs. - rework of the common juniper header dissector: test the extension flag (0x80) which indicates that there are meta-information like interface-index, interface-name etc. present - minor bugfix (LSQ L3-proto masks, direction masks were broken) svn path=/trunk/; revision=15316
2005-07-28Warning fixesJörg Mayer1-1/+1
svn path=/trunk/; revision=15125
2005-07-26From Hannes Gredler:Anders Broman1-65/+286
a patch that adds support for dissecting packets captured on ML-, LS- and AS PICs using Multi-link PPP encapsulation, running JUNOS 7.3 or higher; additional there i did some clean-up in the juniper dissector that makes future addition of JUNIPER_DLTs easier; svn path=/trunk/; revision=15081
2005-05-11From Hannes GredlerRonnie Sahlberg1-67/+118
support for Juniper PPPOE encapsulation svn path=/trunk/; revision=14346
2005-02-01removed MSVC warnings:Ulf Lamping1-2/+2
packet-juniper.c(262) : warning C4761: integral size mismatch in argument; conversion supplied packet-juniper.c(289) : warning C4761: integral size mismatch in argument; conversion supplied svn path=/trunk/; revision=13220
2005-01-29Put the dissection of the payload at the top level.Guy Harris1-32/+46
If the information that we used to guess the payload type is part of the payload, don't make it correspond to the "Payload Type" protocol tree item - it's covered by the dissected payload. If we don't succeed in guessing the protocol type, just dissect the payload as data. svn path=/trunk/; revision=13200
2005-01-20Make some routines static that aren't used outside this module.Guy Harris1-9/+9
Use "guint16" instead of "u_int16_t", "guint8" instead of "u_int8_t", and "guint" instead of "u_int", to handle platforms lacking the latter types. Make "ppp_heuristic_guess()" reeturn a Boolean, as it just returns a "yes or no" answer. svn path=/trunk/; revision=13132
2005-01-20From Hannes Gredler: support for Juniper's DLT_JUNIPER_ATM{1,2} values.Guy Harris1-0/+422
svn path=/trunk/; revision=13130