aboutsummaryrefslogtreecommitdiffstats
path: root/packet-mtp2.c
AgeCommit message (Collapse)AuthorFilesLines
2003-12-21warning: ISO C does not allow extra ; outside of a functionjmayer1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9387 f5534014-38df-0310-8fa8-9805f1628bb7
2003-12-03From Jeff Morriss: add support for WTAP_ENCAP_MTP2 and WTAP_ENCAP_MTP3.guy1-1/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9158 f5534014-38df-0310-8fa8-9805f1628bb7
2003-04-22- get rid of col_set_fence: it will be called in packet-sctp.c only.tuexen1-7/+3
- replace DATA1 by DATA in packet-m3ua.c (typo) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7529 f5534014-38df-0310-8fa8-9805f1628bb7
2003-04-20 change LITTLE_ENDIAN to LITTLE_ENDIAN_BYTE_ORDERtuexen1-9/+11
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7512 f5534014-38df-0310-8fa8-9805f1628bb7
2003-04-20Pull much of the processing done after a call to "fragment_add_check()"guy1-9/+9
into a subroutine, for use in other dissectors. Use it in the IPv6 and CLNP dissectors. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7510 f5534014-38df-0310-8fa8-9805f1628bb7
2003-04-19- add better INFO column handling using col_set_fence.tuexen1-91/+46
- change my e-mail. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7502 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-28Removed trailing whitespaces from .h and .c files using thejmayer1-22/+22
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-01-21Include files from the "epan" directory and subdirectories thereof withguy1-2/+2
"epan/..." pathnames, so as to avoid collisions with header files in any of the directories in which we look (e.g., "proto.h", as some other package has its own "proto.h" file which it installs in the top-level include directory). Don't add "-I" flags to search "epan", as that's no longer necessary (and we want includes of "epan" headers to fail if the "epan/" is left out, so that we don't re-introduce includes lacking "epan/"). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4586 f5534014-38df-0310-8fa8-9805f1628bb7
2002-01-20Allow a length of -1 to be specified when adding FT_NONE and FT_PROTOCOLguy1-3/+3
items to the protocol tree; it's interpreted as "the rest of the data in the tvbuff". This can be used if 1) the item covers the entire packet or the remaining payload in the packet or 2) the item's length won't be known until it's dissected, and will be then set with "proto_item_set_len()" - if an exception is thrown in the dissection, it means the item ran *past* the end of the tvbuff, so saying it runs to the end of the tvbuff is reasonable. Convert a number of "proto_tree_add_XXX()" calls using "tvb_length_remaining()", values derived from the result of "tvb_length()", or 0 (in the case of items whose length is unknown) to use -1 instead (using 0 means that if an exception is thrown, selecting the item highlights nothing; using -1 means it highlights all the data for that item that's available). In some places where "tvb_length()" or "tvb_length_remaining()" was used to determine how large a packet is, use "tvb_reported_length()" or "tvb_reported_length_remaining()", instead - the first two calls indicate how much captured data was in the packet, the latter two calls indicate how large the packet actually was (and the fact that using the latter could cause BoundsError exceptions to be thrown is a feature - if such an exception is thrown, the frame really *was* short, and it should be tagged as such). Replace some "proto_tree_add_XXX()" calls with equivalent "proto_tree_add_item()" calls. Fix some indentation. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4578 f5534014-38df-0310-8fa8-9805f1628bb7
2001-12-11Update mtp3 dissector. Add mtp2 dissector.gram1-0/+260
From ichael Tuexen <Michael.Tuexen@micmac.franken.de> git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4382 f5534014-38df-0310-8fa8-9805f1628bb7