aboutsummaryrefslogtreecommitdiffstats
path: root/capture_info.c
AgeCommit message (Collapse)AuthorFilesLines
2006-05-31Tethereal/tethereal -> TShark/tshark.gerald1-7/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18268 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-28Ethereal->Wiresharketxrab1-7/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18235 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21name changesahlberg1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18197 f5534014-38df-0310-8fa8-9805f1628bb7
2006-03-01Clean up indentation a bit.guy1-4/+109
In "capture_input_new_file()", don't call the callbacks unless we succeed in opening the new file. Have "capture_info_new_file()" return a success/failure indication. Improve the message logged when we fail to open the new file if we're only opening it for the quick packet counts. We really should put up an alert box and give up on the capture at that point. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17437 f5534014-38df-0310-8fa8-9805f1628bb7
2006-01-23Call capture_radiotap() when capturing on a device supplying Radiotapguy1-0/+4
headers. Fix capture_radiotap() to check for padding between the 802.11 header and the 802.11 payload and to call different capture routines depending on whether it's present or not, and create capture_ieee80211_datapad() to handle the case where it's present. Fix capture_radiotap() to convert the Radiotap header length from little-endian, and to do some sanity checking of that length. Fix capture_ieee80211_common() to use the offset supplied to it to fetch the frame control field, as that offset isn't necessarily 0. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17083 f5534014-38df-0310-8fa8-9805f1628bb7
2005-12-13don't try to close wtap, if we couldn't load the wiretap fileulfl1-1/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16771 f5534014-38df-0310-8fa8-9805f1628bb7
2005-12-06Clean up capture_enc(), export it, and use it in the capture window.guy1-2/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16709 f5534014-38df-0310-8fa8-9805f1628bb7
2005-12-04Declare "capture_info_packet()"'s as static, to match the definition.guy1-3/+3
Declare the "pd" argument to be "const guchar *", to match the way packet data is declared elsewhere, and so that if the headers "capture_info.c" includes don't define "u_char" it still compiles. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16671 f5534014-38df-0310-8fa8-9805f1628bb7
2005-12-04move the complete functionality of the capture info dialog from ↵ulfl1-17/+97
capture_loop.c to capture_info.c and call it from capture.c (instead of capture_loop.c). This way, the capture child don't need to now any of the packet_counter things (no epan/packet.h and all alike). Currently the capture_info code will always open another wiretap file instance to build it's own counter values. This isn't optimized for now (next step: use data from cf_continue_tail() somehow). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16669 f5534014-38df-0310-8fa8-9805f1628bb7
2005-12-03split some parts of the packet counting functions into their own files ↵ulfl1-0/+146
capture_info(.c/.h), so we can use it from the main program git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16668 f5534014-38df-0310-8fa8-9805f1628bb7