aboutsummaryrefslogtreecommitdiffstats
path: root/capture_info.c
AgeCommit message (Collapse)AuthorFilesLines
2006-11-05change all file offsets from long to gint64 so we can - theoretically - ↵Ulf Lamping1-1/+1
handle files > 2GB correct. Please distclean Win32 builds! svn path=/trunk/; revision=19814
2006-05-31Tethereal/tethereal -> TShark/tshark.Gerald Combs1-7/+7
svn path=/trunk/; revision=18268
2006-05-28Ethereal->WiresharkAnders Broman1-7/+7
svn path=/trunk/; revision=18235
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2006-03-01Clean up indentation a bit.Guy Harris1-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. svn path=/trunk/; revision=17437
2006-01-23Call capture_radiotap() when capturing on a device supplying RadiotapGuy Harris1-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. svn path=/trunk/; revision=17083
2005-12-13don't try to close wtap, if we couldn't load the wiretap fileUlf Lamping1-1/+2
svn path=/trunk/; revision=16771
2005-12-06Clean up capture_enc(), export it, and use it in the capture window.Guy Harris1-2/+4
svn path=/trunk/; revision=16709
2005-12-04Declare "capture_info_packet()"'s as static, to match the definition.Guy Harris1-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. svn path=/trunk/; revision=16671
2005-12-04move the complete functionality of the capture info dialog from ↵Ulf Lamping1-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). svn path=/trunk/; revision=16669
2005-12-03split some parts of the packet counting functions into their own files ↵Ulf Lamping1-0/+146
capture_info(.c/.h), so we can use it from the main program svn path=/trunk/; revision=16668