aboutsummaryrefslogtreecommitdiffstats
path: root/packet-wtp.c
Commit message (Collapse)AuthorAgeFilesLines
* For each column, have both a buffer into which strings for that columnGuy Harris2000-11-191-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | can be put, and a pointer to the string for the column, which might or might not point to that buffer. Add a routine "col_set_str()", which sets the string for the column to the string passed to it as an argument; it should only be handed a static string (a string constant would be ideal). It doesn't do any copying, so it's faster than "col_add_str()". Make the routines that append to columns check whether the pointer to the string for the column points to the buffer for the column and, if not, copy the string for the column to the buffer for the column so that you can append to it (so you can use "col_set_str()" and then use "col_append_str()" or "col_append_fstr()"). Convert a bunch of "col_add_str()" calls that take a string constant as an argument to "col_set_str()" calls. Convert some "col_add_fstr()" calls that take a string constant as the only argument - i.e., the format string doesn't have any "%" slots into which to put strings for subsequent arguments to "col_set_str()" calls (those calls are just like "col_add_str()" calls). Replace an END_OF_FRAME reference in a tvbuffified dissector with a "tvb_length(tvb)" call. svn path=/trunk/; revision=2670
* Make the RTCP, RTP, WSP, and WTP dissectors check whether theirGuy Harris2000-11-051-11/+4
| | | | | | | | | | | protocols have been disabled. Get rid of the "no tvbuff" dissectors for WSP and WTP - they're not used (and shouldn't ever be used). Make "dissect_wtp()" static, as it's not used outside "packet-wtp.c". svn path=/trunk/; revision=2568
* Microsoft Visual C++, unlike GCC, doesn't like it if you have noGuy Harris2000-11-041-2/+3
| | | | | | | | statements whatsoever in a "case" or "default" clause; add a "break" statement to keep it happy. (Other compilers may also be less forgiving than GCC.) svn path=/trunk/; revision=2560
* WAP support, from Neil Hunter.Guy Harris2000-11-041-0/+634
svn path=/trunk/; revision=2558