Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | u_intN_t is dead, long live uintN_t. | Guy Harris | 2014-04-23 | 1 | -38/+38 |
| | | | | | | | | | And, as we require at least autoconf 2.61, and as autoconf 2.61 and later have AC_TYPE_UINTn_T and AC_TYPE_INTn_T macros, we use them to define the uintN_t and intN_t macros if the system doesn't define them for us. This lets us get rid of bitypes.h as well. | ||||
* | Netdissectify the to-name resolution routines. | Guy Harris | 2014-04-04 | 1 | -2/+2 |
| | | | | | | | | Have them take a netdissect_options * argument, and get the "no name resolution" flag from it. Move the declaration of dnaddr_string to addrtoname.h, along with the other XXX-to-string routines. | ||||
* | NDOize LLDP, PPP and RSVP decoders | Denis Ovsienko | 2014-04-02 | 1 | -8/+9 |
| | |||||
* | NDOize Juniper DLT decoders | Denis Ovsienko | 2014-03-29 | 1 | -145/+162 |
| | |||||
* | NDOize ISO CLNS decoder | Denis Ovsienko | 2014-03-28 | 1 | -8/+8 |
| | |||||
* | print-juniper: add a missing break | Francois-Xavier Le Bail | 2014-03-27 | 1 | -0/+1 |
| | |||||
* | NDOize ATM, MPTCP, NTP, VTP & Whiteboard decoders | Denis Ovsienko | 2014-03-20 | 1 | -2/+2 |
| | |||||
* | NDOize Frame Relay, LMP and RADIUS decoders | Denis Ovsienko | 2014-03-18 | 1 | -2/+2 |
| | |||||
* | NDOize LLC decoder | Denis Ovsienko | 2014-03-15 | 1 | -2/+2 |
| | |||||
* | NDOize 8 more small decoders | Denis Ovsienko | 2014-03-13 | 1 | -2/+2 |
| | | | | | This change converts ZeroMQ, IPX, MPLS, IPv6 options, PPPoE, RIPng, PFLOG and Sun RPC decoders. | ||||
* | NDOize more small decoders | Denis Ovsienko | 2014-03-12 | 1 | -1/+1 |
| | | | | | This change converts decoders for: DLT_RAW, IPv6 routing header, USB, Symantec firewall and cHDLC. | ||||
* | don't include pcap.h needlessly | Denis Ovsienko | 2014-02-28 | 1 | -1/+0 |
| | | | | | | | | | | Both interface.h and netdissect.h include <pcap.h>, thus most files should not include it regardless if these need it or not. The only exceptions so far remain: * addrtoname.c * missing/datalinks.c * missing/dlnames.c * tcpdump.c | ||||
* | remove tcpdump's own CVS keywords | Denis Ovsienko | 2014-01-03 | 1 | -2/+0 |
| | | | | | | Remove lots of $Header's and a few $Id's that all belong to the former CVS repository of tcpdump itself. These keywords have been frozen since the migration to git in late 2008. | ||||
* | whitespace changes | Michael Richardson | 2014-01-01 | 1 | -32/+32 |
| | |||||
* | make more array declarations static/const | Denis Ovsienko | 2013-12-19 | 1 | -2/+2 |
| | |||||
* | justify declarations of struct tok arrays | Denis Ovsienko | 2013-09-24 | 1 | -7/+7 |
| | | | | | | Make sure all of them are declared const and most of them -- static. Proper declaration of token arrays is a common review point for new code that is based on existing decoders. Thus fix the issue at its root. | ||||
* | Convert the IPv6 printer to use netdissect. | Guy Harris | 2010-11-07 | 1 | -4/+4 |
| | |||||
* | reworked print-ether to use netdissect | Michael Richardson | 2010-10-07 | 1 | -4/+4 |
| | |||||
* | Process VLAN frames and Alteon jumbo frames in the Ethernet printer. | Guy Harris | 2010-02-21 | 1 | -6/+5 |
| | | | | | | | | | | | | | | | | | Instead of having the Ethernet-type handler process the VLAN and Alteon jumbo frame Ethernet type values, process them in the Ethernet (and Linux cooked-mode) dissectors. This makes it easier for the right MAC addresses to be printed for those packets. As part of that, rename ether_encap_print() to ethertype_print() - it doesn't print encapsulated Ethernet frames, it prints payloads whose packet type is indicated by an Ethernet type field value - and remove the no-longer-needed "extracted Ethernet type" argument. That also lets us eliminate it from the SNAP print routine. Make ether_print() take a function, and an argument to pass to that function, as parameters, so that, for example, the ATM LANE printer can use it and put the LEC ID into the link-layer headeer printout. | ||||
* | Patches from NetBSD tree. | mcr | 2007-08-29 | 1 | -3/+7 |
| | |||||
* | bugfix: ggsn: parse against cookies and not the ip header | hannes | 2006-06-14 | 1 | -3/+4 |
| | |||||
* | add GGSN PIC name resolution | hannes | 2006-06-14 | 1 | -1/+5 |
| | |||||
* | add ifle/ifmt name resolution | hannes | 2006-03-10 | 1 | -5/+267 |
| | |||||
* | improve Control Word detection heuristics for OAM cells | hannes | 2006-02-24 | 1 | -11/+16 |
| | |||||
* | squelch warning message for unknown juniper encapulations | hannes | 2006-02-01 | 1 | -1/+18 |
| | |||||
* | -add support (TLV parser) for the juniper .pcap extensions | hannes | 2006-01-30 | 1 | -15/+171 |
| | | | | | in lack of pcap-ng we prepend TLV encoded fields before the payload packet on all Juniper proprietary DLTs | ||||
* | add support for DLT_JUNIPER{PPP,ETHER,FRELAY,CHDLC} printers | hannes | 2005-08-23 | 1 | -1/+69 |
| | |||||
* | add support for detection of the extension bit | hannes | 2005-08-10 | 1 | -8/+16 |
| | |||||
* | #ifdef references to various Juniper DLT_ values, so that we can build | guy | 2005-07-29 | 1 | -1/+13 |
| | | | | | | even on systems with older libpcaps that lack them. (tcpdump isn't supposed to *require* the corresponding version of libpcap, although it works best with that version or later.) | ||||
* | update length,caplen fields when determining the cookie length | hannes | 2005-07-21 | 1 | -1/+3 |
| | |||||
* | add support for Frame-Relay over AS-PIC dissector | hannes | 2005-07-20 | 1 | -13/+76 |
| | |||||
* | bugfix: an empty AS-PIC cookie will be interpreted as IPv4 but could be IS-IS | hannes | 2005-07-20 | 1 | -2/+10 |
| | |||||
* | Juniper routers do not deliver a heading HEC byte for oam cells: make the ↵ | hannes | 2005-06-20 | 1 | -3/+4 |
| | | | | OAM printer to support both HEC and non-HEC OAM cells | ||||
* | check for cell-relay controlword between the cookie and the OAM payload | hannes | 2005-06-09 | 1 | -1/+8 |
| | |||||
* | From Albert Chin: don't call "ip6_print()" if it's not available. | guy | 2005-06-07 | 1 | -1/+3 |
| | |||||
* | Protect code for particular Juniper DLT_ values with #ifdefs, so this | guy | 2005-06-03 | 1 | -1/+46 |
| | | | | can be compiled with older versions of libpcap. | ||||
* | add basic support for DLT_JUNIPER_{GGSN,ES,MONITOR,SERVICES}, better ↵ | hannes | 2005-05-22 | 1 | -2/+215 |
| | | | | boundary checking when parsing the juniper headers | ||||
* | add support for the atm-cell-relay control word | hannes | 2005-05-17 | 1 | -2/+8 |
| | |||||
* | add support for AS-PIC cookies | hannes | 2005-05-12 | 1 | -15/+60 |
| | |||||
* | add support for DLT_JUNIPER_PPPOE_ATM printer | hannes | 2005-05-12 | 1 | -28/+45 |
| | | | | | replace the JUNIPER_ enums with real DLT_JUNIPER types (does this break environments where an old libpcap is present ?) | ||||
* | do not dependend on eflag setting wether to configure cookie data or not - ↵ | hannes | 2005-05-10 | 1 | -3/+4 |
| | | | | e.g. the atm printer needs to access the cookies | ||||
* | add support for DLT_JUNIPER_PPPOE, fix zero-length cookies | hannes | 2005-05-03 | 1 | -8/+29 |
| | |||||
* | From Albert Chin: IBM's C compiler, at least for AIX 4.3.3, doesn't | guy | 2005-04-25 | 1 | -2/+2 |
| | | | | allow a trailing comma on the last member of an enum. | ||||
* | Make the string pointer in "struct juniper_cookie_table" just a "char | guy | 2005-04-21 | 1 | -2/+2 |
| | | | | *", so as to avoid GCC 4.0 warnings when initializing it from a string. | ||||
* | refactor the juniper_parse header printer, add juniper FRF.16 dissector | hannes | 2005-04-20 | 1 | -158/+238 |
| | |||||
* | refactored ip_print() so that chained header parser (ESP/AH) can | mcr | 2005-04-06 | 1 | -3/+11 |
| | | | | more easily call the inner parts. | ||||
* | add support for Juniper ML-PPP DLT for printing captures | hannes | 2005-01-27 | 1 | -1/+54 |
| | | | | taken on the Link-Service (LS) and Multi-Link (ML) PICs | ||||
* | add support for printing Multi-Link Frame Relay | hannes | 2005-01-27 | 1 | -2/+60 |
| | | | | captured on Juniper ML-PIC and LS-PIC cards | ||||
* | fix the ATM1 PIC OAM cell dissecting | hannes | 2005-01-25 | 1 | -4/+2 |
| | |||||
* | If we print something as an OAM cell, we're done with it, so just return. | guy | 2005-01-24 | 1 | -1/+4 |
| | | | | | Note that sometimes we appear to be mis-dissecting something as an OAM cell. |