aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2002-05-04Check whether "fflush()" succeeds, and clean up and return an error ifGuy Harris1-7/+37
it fails. "wtap_dump_close()" allows you to pass a null pointer as the second argument, so an error value isn't returned; use that in the cleanup routine, as we don't care whether the closes fail. svn path=/trunk/; revision=5386
2002-05-04Fix capture-file-specific "close output" routines to check whether theGuy Harris4-100/+124
"err" argument is null and return an error code through that argument only if it isn't, to match what "wtap_dump_close()", which calls those routines, does. Put the NetXRay dump routines in order by version number. svn path=/trunk/; revision=5385
2002-05-04Mark unused arguments as such.Guy Harris1-3/+4
svn path=/trunk/; revision=5384
2002-05-04From Joerg Mayer: mark unused arguments as such.Guy Harris1-3/+3
svn path=/trunk/; revision=5383
2002-05-04From Joerg Mayer: mark an unused argument as such.Guy Harris1-2/+2
svn path=/trunk/; revision=5382
2002-05-04From Joerg Mayer: get rid of some unused arguments, and mark others asGuy Harris1-9/+16
unused. Put in a comment to note that if we fail to open the interface either as a device or as a pipe, we report the error from the failed "pcap_open_live()" (which explains why "pipe_open_live()" doesn't return an error string). svn path=/trunk/; revision=5381
2002-05-04From Joerg Mayer: mark unused arguments as such.Guy Harris3-62/+62
svn path=/trunk/; revision=5380
2002-05-04Add the packet len to the protocol tree as well, since it is often not ↵Richard Sharpe1-2/+2
visible in the summary display. svn path=/trunk/; revision=5379
2002-05-03From Didieer Gautheron:Guy Harris6-11/+71
Don't show progress bar for quick "Find Frame" searches Add "Find Next" and "Find Previous" to repeat searches Add documentation for "Find Next" and "Find Previous". svn path=/trunk/; revision=5378
2002-05-03From Didier Gautheron: add a "frame.marked" hidden field, set if theGuy Harris3-2/+13
frame is marked, so that you can use Find Frame to find the next marked frame, and can filter the display to show only marked frames. Update the documentation to note that "frame.marked" is set on marked frames. svn path=/trunk/; revision=5377
2002-05-03From Didier Gautheron:Guy Harris4-75/+642
afp : more calls. asp : move release transaction to atp. dissect asp call. fix a bug with transaction handling (conversation +tid are not enough as key ). atp : deal with one packet transaction without ATP_EOM. dsi: safeguard against overflow for unreassembled packet. more flags decoded. Update the "packet-atalk.c" comment to reflect all the protocols in it. svn path=/trunk/; revision=5376
2002-05-03fix field names, break down flood and trace control packets, other cosmeticsNathan Neulinger1-37/+126
svn path=/trunk/; revision=5375
2002-05-03split opnums out onto separate treeNathan Neulinger1-14/+19
svn path=/trunk/; revision=5374
2002-05-03added dissection of various query, report, admin operationsNathan Neulinger1-3/+263
svn path=/trunk/; revision=5373
2002-05-03added full copy of protocol header, small updatesNathan Neulinger3-41/+426
svn path=/trunk/; revision=5372
2002-05-03Add initial support for udp packets of the Distributed Checksum Clearhouse ↵Nathan Neulinger3-2/+252
protocol svn path=/trunk/; revision=5371
2002-05-03Added some new discovered names for some NETLOGON functionsRonnie Sahlberg2-50/+50
svn path=/trunk/; revision=5370
2002-05-03Make the filter list combo box case-sensitive, as filter expressions areGuy Harris1-1/+3
case-sensitive. Squelch a compiler complaint. svn path=/trunk/; revision=5369
2002-05-03Clean up the handling of filter strings:Guy Harris4-43/+53
have "filter_packets()" make a copy of the filter string handed to it, as it may save the filter string in the "capture_file" structure, and the caller of "filter_packets()" shouldn't have to worry about the string it passed to "filter_packets()" being stashed away somewhere so that it can't just free that string or change it; have callers of "filter_packets()" free up the string they handed to it, if the string was allocated and they're done with it; plug some memory leaks in "match_selected_cb_do()". Check for an illegal "action" argument being passed to "match_selected_cb_do()". Move some keys out of "keys.h" into "gtk/main.c", as they're only used in "gtk/main.c". Make the pointer to the filter list a data item for the combo box, as it's a copy of the list of strings for the combo box, rather than attaching it to the widgets that activate the filter (a pointer to the combo box *itself* is a data item for those widgets). In "filter_activate_cb()", make a copy of the text from the text entry field as soon as we fetch it, and use that copy. Free that copy if we didn't add the filter to the filter list. Don't make a copy of the entire filter list and use that to set the combo box's list of items - just use the list itself. Also, when the list is changed, make the new value the data for the combo box (the list pointer will actually not be changed, because we happen to be using "g_list_append()", but let's not rely on that). svn path=/trunk/; revision=5368
2002-05-02Remove some no-longer-applicable XXX comments.Guy Harris1-33/+42
When you click "OK" on the dialog box, destroy the dialog box *before* activating any text widget into which we've stuffed the filter expression, so we don't get the dialog box destroyed out from under us before we try to destroy it ourselves. svn path=/trunk/; revision=5367
2002-05-02From Joerg Mayer: get rid of some unused variables and arguments, andGuy Harris2-12/+10
mark other unused arguments as such. svn path=/trunk/; revision=5366
2002-05-02From Joerg Mayer: get rid of unused arguments, and "#if" out an unusedGuy Harris1-45/+38
stub routine. svn path=/trunk/; revision=5365
2002-05-02From Joerg Mayer: get rid of unused arguments.Guy Harris1-12/+12
svn path=/trunk/; revision=5364
2002-05-02Only say "IPv6" once in the Info column for "no next header" packets.Guy Harris1-6/+7
svn path=/trunk/; revision=5363
2002-05-02From Joerg Mayer:Guy Harris1-16/+18
Prefer IEEE entries over CaveBear entries, as the former list seems to be the better maintained one. svn path=/trunk/; revision=5362
2002-05-02From Joerg Mayer: flag unused arguments as such.Guy Harris1-53/+53
svn path=/trunk/; revision=5361
2002-05-02From Joerg Mayer: flag unused arguments as such.Guy Harris1-11/+11
svn path=/trunk/; revision=5360
2002-05-02Put the protocol version into the ICQ v2/v3/v4 tree.Guy Harris1-4/+34
svn path=/trunk/; revision=5359
2002-05-02From Joerg Mayer: get rid of some unused arguments.Guy Harris1-23/+83
Put a minimal protocol tree in for ICQ v2, v3, and v4. Add some length checks. Properly handle the captured and the actual size of the ICQ packet. svn path=/trunk/; revision=5358
2002-05-02From Joerg Mayer: mark unused arguments as such.Guy Harris3-51/+53
Add a check in "dissect_hello_restart_clv()" that the length of the TLV is correct. Use "val_to_str()" to get the name of the adjacency state in "dissect_hello_ptp_adj_clv()". svn path=/trunk/; revision=5357
2002-05-02Make all routines not used outside this module static.Guy Harris1-159/+164
Get rid of some unused arguments. Pass the tree argument, not the item argument, to "proto_tree_add" routines. svn path=/trunk/; revision=5356
2002-05-02From Joerg Mayer: get rid of an unused argument.Guy Harris1-3/+3
svn path=/trunk/; revision=5355
2002-05-02From Joerg Mayer: get rid of unused arguments.Guy Harris1-29/+40
Fix the spelling of "Reserved". Use "proto_item_append_text()" when dissecting EIGRP TLVs, so they don't have to put in name of the TLV into the top-level item for the TLV, they can just append to the name that's already there. svn path=/trunk/; revision=5354
2002-05-02Handle the "no next header" next header value specially - put into theGuy Harris1-24/+44
Info column information about the non-final headers seen in the packet (or leave the information put in there by the AH dissector alone, if there were AH's), or, if none were seen, just mark it as a "no next header" packet, and do that in the code used if there's no match for the next header value in the protocol table, rather than registering a dissector for "no next header", which also means we'll dissect the payload as data if there is any. Use -1, not "tvb_reported_length_remaining()", when making a subset tvbuff that runs to the end of the parent tvbuff. svn path=/trunk/; revision=5353
2002-05-02Fix a comment.Guy Harris1-2/+2
svn path=/trunk/; revision=5352
2002-05-02Added LSA functions 0x38 and 0x3b. These were the two last LSA functions and nowRonnie Sahlberg1-7/+72
all functions described in lsarpc.idl had been implemented. svn path=/trunk/; revision=5351
2002-05-02Added LSAEnumerateTrustedDomainsEX and LSACreateTrustedDomainEXRonnie Sahlberg1-7/+112
svn path=/trunk/; revision=5350
2002-05-02Added LSAGetUserNameRonnie Sahlberg1-4/+65
svn path=/trunk/; revision=5349
2002-05-02From Joerg Mayer: get rid of unused arguments.Guy Harris1-7/+7
svn path=/trunk/; revision=5348
2002-05-02From Joerg Mayer: get rid of an unused argument.Guy Harris1-3/+3
svn path=/trunk/; revision=5347
2002-05-02Added LSALookupSIDs2Ronnie Sahlberg1-4/+112
svn path=/trunk/; revision=5346
2002-05-02Added LSACloseTrustedDomainEXRonnie Sahlberg1-4/+31
svn path=/trunk/; revision=5345
2002-05-02Added LSAStorePrivateData and LSARetrievePrivateDataRonnie Sahlberg1-7/+86
svn path=/trunk/; revision=5344
2002-05-02Added LSALookupPrivilegedDisplayNameRonnie Sahlberg1-4/+55
svn path=/trunk/; revision=5343
2002-05-02Add registered fields for more DATA1 and DATA2 values.Guy Harris1-95/+103
Add an "nb_data1()" routine to add DATA1 values to the protocol tree. Have "nb_data2()" take an hf_ value as an argument and add the field with "proto_tree_add_item()". Decode the values for "largest frame". svn path=/trunk/; revision=5342
2002-05-01Add a "remove an argument" change, from Joerg Mayer, that I'd missed.Guy Harris1-2/+9
Put in a comment noting a problem in the code. svn path=/trunk/; revision=5341
2002-05-01Mark unused arguments as such.Guy Harris1-14/+14
svn path=/trunk/; revision=5340
2002-05-01Mark some unused arguments as such.Guy Harris1-36/+36
Fix white space. svn path=/trunk/; revision=5339
2002-05-01Use a value_string for NBF command names and for caller name types.Guy Harris1-93/+128
Make the transmit and receive correlators unsigned quantities - they're just opaque hex packet IDs. "nb_data2()" always processes 16-bit quantities; get rid of the "len" argument to it. Make it use its "label" argument as a format. Show the data in an unknown command as "Unknown NetBIOS command data". Add routines to dissect TERMINATE TRACE and SESSION ALIVE commands. Note where we'd do reassembly were we to do that. Don't dissect the payload of the packet as NetBIOS payload unless the command was DATAGRAM, BROADCAST DATAGRAM, DATA FIRST MIDDLE, or DATA ONLY LAST. Fix up the lengths and names of some fields. svn path=/trunk/; revision=5338
2002-05-01Add a check for a zero-length IE to "dissect_q2931_shift_ie()".Guy Harris1-1/+3
svn path=/trunk/; revision=5337