aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tpkt.h
AgeCommit message (Collapse)AuthorFilesLines
2002-08-28Removed trailing whitespaces from .h and .c files using thejmayer1-4/+4
winapi_cleanup tool written by Patrik Stridvall for the wine project. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6117 f5534014-38df-0310-8fa8-9805f1628bb7
2002-05-13Have "is_tpkt()" take a minimum-payload-length argument and checkguy1-2/+6
whether the length value in the TPKT header is large enough to include that much payload - if not, report the packet as not being a TPKT packet. Have the heuristic Q.931 dissector supply the appropriate value. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5457 f5534014-38df-0310-8fa8-9805f1628bb7
2002-02-23"is_tpkt()" is always used to check a TCP segment to see if it mightguy1-5/+4
have a TPKT header at the beginning, so there's not need for it to have an offset as an argument; its callers don't have to know how big the TPKT header is (or we can put a #define in "packet-tpkt.h" for it). Get rid of the second argument. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4791 f5534014-38df-0310-8fa8-9805f1628bb7
2002-02-22Handle TPKT packets split across segment boundaries, and multiple TPKTguy1-10/+6
packets per segment. Instead of having a routine for dissectors such as the Q.931 dissector to call to dissect the TPKT header, have a routine that does all the reassembly and multiple-packets-per-segment work, and have the Q.931 dissector call it. Export "is_tpkt()", and the new routine, to plugins. Add preferences for TPKT and Q.931 reassembly. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4778 f5534014-38df-0310-8fa8-9805f1628bb7
2002-02-02Clean up the heuristic code in the Q.931 dissector. If it's a heuristicguy1-6/+7
dissector, it's looking for Q.931 encapsulated inside TPKT, so it shouldn't check whether the first byte is NLPID_Q_931 or not, as it *won't* be NLPID_Q_931, it'll be 3, for the TPKT version. It should first check whether "is_tpkt()" thinks it's a TPKT packet, and then check that the packet has at least 3 bytes past the TPKT header, then check the first byte in the payload to see whether it's NLPID_Q_931. If that all succeeds, treat it as Q.931 inside TPKT. Make "is_tpkt()" return the length from the TPKT header on success, and -1 on failure, and return the offset past the TPKT header via a pointer (so clients don't have to know that the TPKT header is 4 bytes long). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4669 f5534014-38df-0310-8fa8-9805f1628bb7
2001-06-12Give a number of files RCS IDs.guy1-2/+3
Give "proto_hier_stats.h" a standard header. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3540 f5534014-38df-0310-8fa8-9805f1628bb7
2001-03-28Handle, in the Q.931 heuristic dissector, the case where TPKT isn'tguy1-2/+2
enabled. Fix comments to explain that a return of -1 from "dissect_tpkt_header()" means "TPKT wasn't enabled". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3200 f5534014-38df-0310-8fa8-9805f1628bb7
2001-03-28Support for TPKT being used for its original purpose (TCP port > 102,guy1-3/+17
containing OSI transport layer PDUs). Enable the Q.931-inside-TPKT code (but not the H.225 stuff, as that requires Andreas Sikkema's H.225 dissector). Update it to match his current modified Q.931 dissector. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3199 f5534014-38df-0310-8fa8-9805f1628bb7
2000-10-19Andreas Sikkema's new H.261 and TPKT dissectors, replacement RTCP andguy1-0/+30
RTP dissectors, and changes to the Q.931 dissector for use with H.323. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2511 f5534014-38df-0310-8fa8-9805f1628bb7