You can subscribe to this list here.
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(90) |
Aug
(9) |
Sep
|
Oct
|
Nov
(26) |
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2010 |
Jan
(13) |
Feb
|
Mar
(62) |
Apr
(1) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <moh...@us...> - 2010-07-06 10:36:10
|
Revision: 251
http://w-meter.svn.sourceforge.net/w-meter/?rev=251&view=rev
Author: mohamed_123
Date: 2010-07-06 10:36:00 +0000 (Tue, 06 Jul 2010)
Log Message:
-----------
Initial code check-in for qt4 updates
Added Paths:
-----------
framework/trunk/Makefile
framework/trunk/W-Meter
framework/trunk/W-Meter.pro
framework/trunk/W-Meter.pro.user
framework/trunk/a_mpdu_parameter.cpp
framework/trunk/a_mpdu_parameter.h
framework/trunk/a_mpdu_parameter.ui
framework/trunk/address.cpp
framework/trunk/address.h
framework/trunk/address.ui
framework/trunk/asel_capability.cpp
framework/trunk/asel_capability.h
framework/trunk/asel_capability.ui
framework/trunk/auth_status_code.cpp
framework/trunk/auth_status_code.h
framework/trunk/auth_status_code.ui
framework/trunk/ba_bar_ctrl_field.cpp
framework/trunk/ba_bar_ctrl_field.h
framework/trunk/ba_bar_ctrl_field.ui
framework/trunk/ba_info_field.cpp
framework/trunk/ba_info_field.h
framework/trunk/ba_info_field.ui
framework/trunk/beacon_interval.cpp
framework/trunk/beacon_interval.h
framework/trunk/beacon_interval.ui
framework/trunk/bitmap_control.cpp
framework/trunk/bitmap_control.h
framework/trunk/bitmap_control.ui
framework/trunk/bss_coexistence.cpp
framework/trunk/bss_coexistence.h
framework/trunk/bss_coexistence.ui
framework/trunk/capability_info.cpp
framework/trunk/capability_info.h
framework/trunk/capability_info.ui
framework/trunk/capability_tos.h
framework/trunk/capability_tos.ui
framework/trunk/cts_framecontrol.txt
framework/trunk/dtim.cpp
framework/trunk/dtim.h
framework/trunk/dtim.ui
framework/trunk/eosp.cpp
framework/trunk/eosp.h
framework/trunk/eosp.ui
framework/trunk/erp_info.cpp
framework/trunk/erp_info.h
framework/trunk/erp_info.ui
framework/trunk/extended_rate.cpp
framework/trunk/extended_rate.h
framework/trunk/extended_rate.ui
framework/trunk/framecontrol.cpp
framework/trunk/framecontrol.h
framework/trunk/framecontrol.ui
framework/trunk/ht_capability_info.cpp
framework/trunk/ht_capability_info.h
framework/trunk/ht_capability_info.ui
framework/trunk/ht_control.cpp
framework/trunk/ht_control.h
framework/trunk/ht_control.ui
framework/trunk/ht_extented_capability.cpp
framework/trunk/ht_extented_capability.h
framework/trunk/ht_extented_capability.ui
framework/trunk/ht_information.cpp
framework/trunk/ht_information.h
framework/trunk/ht_information.ui
framework/trunk/inj_control_ack.cpp
framework/trunk/inj_control_ack.h
framework/trunk/inj_control_ack.ui
framework/trunk/inj_control_block_ack.cpp
framework/trunk/inj_control_block_ack.h
framework/trunk/inj_control_block_ack.ui
framework/trunk/inj_control_block_ack_request.cpp
framework/trunk/inj_control_block_ack_request.h
framework/trunk/inj_control_block_ack_request.ui
framework/trunk/inj_control_cf_end.cpp
framework/trunk/inj_control_cf_end.h
framework/trunk/inj_control_cf_end.ui
framework/trunk/inj_control_cf_end_cf_ack.cpp
framework/trunk/inj_control_cf_end_cf_ack.h
framework/trunk/inj_control_cf_end_cf_ack.ui
framework/trunk/inj_control_cts.cpp
framework/trunk/inj_control_cts.h
framework/trunk/inj_control_cts.ui
framework/trunk/inj_control_pspoll.cpp
framework/trunk/inj_control_pspoll.h
framework/trunk/inj_control_pspoll.ui
framework/trunk/inj_control_reserved.cpp
framework/trunk/inj_control_reserved.h
framework/trunk/inj_control_reserved.ui
framework/trunk/inj_control_rts.cpp
framework/trunk/inj_control_rts.h
framework/trunk/inj_control_rts.ui
framework/trunk/inj_data_dataframe.cpp
framework/trunk/inj_data_dataframe.h
framework/trunk/inj_data_dataframe.ui
framework/trunk/inj_data_qos_data.cpp
framework/trunk/inj_data_qos_data.h
framework/trunk/inj_data_qos_data.ui
framework/trunk/inj_data_reserved.cpp
framework/trunk/inj_data_reserved.h
framework/trunk/inj_data_reserved.ui
framework/trunk/inj_mgmt_asso_req.cpp
framework/trunk/inj_mgmt_asso_req.h
framework/trunk/inj_mgmt_asso_req.ui
framework/trunk/inj_mgmt_asso_res.cpp
framework/trunk/inj_mgmt_asso_res.h
framework/trunk/inj_mgmt_asso_res.ui
framework/trunk/inj_mgmt_authen.cpp
framework/trunk/inj_mgmt_authen.h
framework/trunk/inj_mgmt_authen.ui
framework/trunk/inj_mgmt_beacon.cpp
framework/trunk/inj_mgmt_beacon.h
framework/trunk/inj_mgmt_beacon.ui
framework/trunk/inj_mgmt_deauthen.cpp
framework/trunk/inj_mgmt_deauthen.h
framework/trunk/inj_mgmt_deauthen.ui
framework/trunk/inj_mgmt_disasso.cpp
framework/trunk/inj_mgmt_disasso.h
framework/trunk/inj_mgmt_disasso.ui
framework/trunk/inj_mgmt_probe_req.cpp
framework/trunk/inj_mgmt_probe_req.h
framework/trunk/inj_mgmt_probe_req.ui
framework/trunk/inj_mgmt_probe_res.cpp
framework/trunk/inj_mgmt_probe_res.h
framework/trunk/inj_mgmt_probe_res.ui
framework/trunk/inj_mgmt_reasso_req.cpp
framework/trunk/inj_mgmt_reasso_req.h
framework/trunk/inj_mgmt_reasso_req.ui
framework/trunk/inj_mgmt_reasso_res.cpp
framework/trunk/inj_mgmt_reasso_res.h
framework/trunk/inj_mgmt_reasso_res.ui
framework/trunk/inj_mgmt_reserved.cpp
framework/trunk/inj_mgmt_reserved.h
framework/trunk/inj_mgmt_reserved.ui
framework/trunk/ip_address.cpp
framework/trunk/ip_address.h
framework/trunk/ip_address.ui
framework/trunk/ip_header.cpp
framework/trunk/ip_header.h
framework/trunk/ip_header.ui
framework/trunk/listen_interval.cpp
framework/trunk/listen_interval.h
framework/trunk/listen_interval.ui
framework/trunk/main.cpp
framework/trunk/moc_a_mpdu_parameter.cpp
framework/trunk/moc_address.cpp
framework/trunk/moc_asel_capability.cpp
framework/trunk/moc_auth_status_code.cpp
framework/trunk/moc_ba_bar_ctrl_field.cpp
framework/trunk/moc_ba_bitmap.cpp
framework/trunk/moc_ba_info_field.cpp
framework/trunk/moc_beacon_interval.cpp
framework/trunk/moc_bitmap_control.cpp
framework/trunk/moc_bss_coexistence.cpp
framework/trunk/moc_capability_info.cpp
framework/trunk/moc_capability_tos.cpp
framework/trunk/moc_ditm.cpp
framework/trunk/moc_dtim.cpp
framework/trunk/moc_eosp.cpp
framework/trunk/moc_erp_info.cpp
framework/trunk/moc_extended_rate.cpp
framework/trunk/moc_framecontrol.cpp
framework/trunk/moc_ht_capability.cpp
framework/trunk/moc_ht_capability_info.cpp
framework/trunk/moc_ht_control.cpp
framework/trunk/moc_ht_extented_capability.cpp
framework/trunk/moc_ht_information.cpp
framework/trunk/moc_inj_control_ack.cpp
framework/trunk/moc_inj_control_block_ack.cpp
framework/trunk/moc_inj_control_block_ack_request.cpp
framework/trunk/moc_inj_control_cf_end.cpp
framework/trunk/moc_inj_control_cf_end_cf_ack.cpp
framework/trunk/moc_inj_control_cts.cpp
framework/trunk/moc_inj_control_pspoll.cpp
framework/trunk/moc_inj_control_reserved.cpp
framework/trunk/moc_inj_control_rts.cpp
framework/trunk/moc_inj_data_dataframe.cpp
framework/trunk/moc_inj_data_qos_data.cpp
framework/trunk/moc_inj_data_reserved.cpp
framework/trunk/moc_inj_mgmt_asso_req.cpp
framework/trunk/moc_inj_mgmt_asso_res.cpp
framework/trunk/moc_inj_mgmt_authen.cpp
framework/trunk/moc_inj_mgmt_beacon.cpp
framework/trunk/moc_inj_mgmt_deauthen.cpp
framework/trunk/moc_inj_mgmt_disasso.cpp
framework/trunk/moc_inj_mgmt_probe_req.cpp
framework/trunk/moc_inj_mgmt_probe_res.cpp
framework/trunk/moc_inj_mgmt_reasso_req.cpp
framework/trunk/moc_inj_mgmt_reasso_res.cpp
framework/trunk/moc_inj_mgmt_reserved.cpp
framework/trunk/moc_ip_address.cpp
framework/trunk/moc_ip_header.cpp
framework/trunk/moc_listen_interval.cpp
framework/trunk/moc_listen_intervals.cpp
framework/trunk/moc_nav.cpp
framework/trunk/moc_overlapping_bss.cpp
framework/trunk/moc_parameter_set.cpp
framework/trunk/moc_payload.cpp
framework/trunk/moc_qos_capability.cpp
framework/trunk/moc_qos_control.cpp
framework/trunk/moc_reason_code.cpp
framework/trunk/moc_sequence_ctrl.cpp
framework/trunk/moc_ssid.cpp
framework/trunk/moc_status_code.cpp
framework/trunk/moc_supported_mcs_set.cpp
framework/trunk/moc_supported_rate.cpp
framework/trunk/moc_tid.cpp
framework/trunk/moc_tim.cpp
framework/trunk/moc_time_stamp.cpp
framework/trunk/moc_timestamp_beaconinterval_erp.cpp
framework/trunk/moc_transmit_beamforming_cap.cpp
framework/trunk/moc_txop.cpp
framework/trunk/moc_wmeter_main_window.cpp
framework/trunk/muthu1.txt
framework/trunk/nav.cpp
framework/trunk/nav.h
framework/trunk/nav.ui
framework/trunk/overlapping_bss.cpp
framework/trunk/overlapping_bss.h
framework/trunk/overlapping_bss.ui
framework/trunk/parameter_set.cpp
framework/trunk/parameter_set.h
framework/trunk/parameter_set.ui
framework/trunk/payload.cpp
framework/trunk/payload.h
framework/trunk/payload.ui
framework/trunk/qos_capability.cpp
framework/trunk/qos_capability.h
framework/trunk/qos_capability.ui
framework/trunk/qos_control.cpp
framework/trunk/qos_control.h
framework/trunk/qos_control.ui
framework/trunk/reason_code
framework/trunk/reason_code.cpp
framework/trunk/reason_code.h
framework/trunk/reason_code.ui
framework/trunk/rts_framecontrol.txt
framework/trunk/sequence_ctrl.cpp
framework/trunk/sequence_ctrl.h
framework/trunk/sequence_ctrl.ui
framework/trunk/ssid.cpp
framework/trunk/ssid.h
framework/trunk/ssid.ui
framework/trunk/status_code
framework/trunk/status_code.cpp
framework/trunk/status_code.h
framework/trunk/status_code.ui
framework/trunk/supported_mcs_set.cpp
framework/trunk/supported_mcs_set.h
framework/trunk/supported_mcs_set.ui
framework/trunk/supported_rate.cpp
framework/trunk/supported_rate.h
framework/trunk/supported_rate.ui
framework/trunk/tid.cpp
framework/trunk/tid.h
framework/trunk/tid.ui
framework/trunk/tim.cpp
framework/trunk/tim.h
framework/trunk/tim.ui
framework/trunk/time_stamp.cpp
framework/trunk/time_stamp.h
framework/trunk/time_stamp.ui
framework/trunk/transmit_beamforming_cap.cpp
framework/trunk/transmit_beamforming_cap.h
framework/trunk/transmit_beamforming_cap.ui
framework/trunk/txop.cpp
framework/trunk/txop.h
framework/trunk/txop.ui
framework/trunk/ui_a_mpdu_parameter.h
framework/trunk/ui_address.h
framework/trunk/ui_asel_capability.h
framework/trunk/ui_auth_status_code.h
framework/trunk/ui_ba_bar_ctrl_field.h
framework/trunk/ui_ba_bitmap.h
framework/trunk/ui_ba_info_field.h
framework/trunk/ui_beacon_interval.h
framework/trunk/ui_bitmap_control.h
framework/trunk/ui_bss_coexistence.h
framework/trunk/ui_capability_info.h
framework/trunk/ui_capability_tos.h
framework/trunk/ui_ditm.h
framework/trunk/ui_dtim.h
framework/trunk/ui_eosp.h
framework/trunk/ui_erp_info.h
framework/trunk/ui_extended_rate.h
framework/trunk/ui_framecontrol.h
framework/trunk/ui_ht_capability.h
framework/trunk/ui_ht_capability_info.h
framework/trunk/ui_ht_control.h
framework/trunk/ui_ht_extented_capability.h
framework/trunk/ui_ht_information.h
framework/trunk/ui_inj_control_ack.h
framework/trunk/ui_inj_control_block_ack.h
framework/trunk/ui_inj_control_block_ack_request.h
framework/trunk/ui_inj_control_cf_end.h
framework/trunk/ui_inj_control_cf_end_cf_ack.h
framework/trunk/ui_inj_control_cts.h
framework/trunk/ui_inj_control_pspoll.h
framework/trunk/ui_inj_control_reserved.h
framework/trunk/ui_inj_control_rts.h
framework/trunk/ui_inj_data_dataframe.h
framework/trunk/ui_inj_data_qos_data.h
framework/trunk/ui_inj_data_reserved.h
framework/trunk/ui_inj_mgmt_asso_req.h
framework/trunk/ui_inj_mgmt_asso_res.h
framework/trunk/ui_inj_mgmt_authen.h
framework/trunk/ui_inj_mgmt_beacon.h
framework/trunk/ui_inj_mgmt_deauthen.h
framework/trunk/ui_inj_mgmt_disasso.h
framework/trunk/ui_inj_mgmt_probe_req.h
framework/trunk/ui_inj_mgmt_probe_res.h
framework/trunk/ui_inj_mgmt_reasso_req.h
framework/trunk/ui_inj_mgmt_reasso_res.h
framework/trunk/ui_inj_mgmt_reserved.h
framework/trunk/ui_ip_address.h
framework/trunk/ui_ip_header.h
framework/trunk/ui_listen_interval.h
framework/trunk/ui_listen_intervals.h
framework/trunk/ui_nav.h
framework/trunk/ui_overlapping_bss.h
framework/trunk/ui_parameter_set.h
framework/trunk/ui_payload.h
framework/trunk/ui_qos_capability.h
framework/trunk/ui_qos_control.h
framework/trunk/ui_reason_code.h
framework/trunk/ui_sequence_ctrl.h
framework/trunk/ui_ssid.h
framework/trunk/ui_status_code.h
framework/trunk/ui_supported_mcs_set.h
framework/trunk/ui_supported_rate.h
framework/trunk/ui_tid.h
framework/trunk/ui_tim.h
framework/trunk/ui_time_stamp.h
framework/trunk/ui_timestamp_beaconinterval_erp.h
framework/trunk/ui_transmit_beamforming_cap.h
framework/trunk/ui_txop.h
framework/trunk/ui_wmeter_main_window.h
framework/trunk/wmeter_main_window.cpp
framework/trunk/wmeter_main_window.h
framework/trunk/wmeter_main_window.ui
Added: framework/trunk/Makefile
===================================================================
--- framework/trunk/Makefile (rev 0)
+++ framework/trunk/Makefile 2010-07-06 10:36:00 UTC (rev 251)
@@ -0,0 +1,1542 @@
+#############################################################################
+# Makefile for building: W-Meter
+# Generated by qmake (2.01a) (Qt 4.5.0) on: Mon May 24 15:08:13 2010
+# Project: W-Meter.pro
+# Template: app
+# Command: /usr/bin/qmake-qt4 -spec /usr/lib/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile W-Meter.pro
+#############################################################################
+
+####### Compiler, tools and options
+
+CC = gcc
+CXX = g++
+DEFINES = -DQT_GUI_LIB -DQT_CORE_LIB
+CFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
+CXXFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
+INCPATH = -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I.
+LINK = g++
+LFLAGS =
+LIBS = $(SUBLIBS) -lQtGui -lQtCore -lpthread
+AR = ar cqs
+RANLIB =
+QMAKE = /usr/bin/qmake-qt4
+TAR = tar -cf
+COMPRESS = gzip -9f
+COPY = cp -f
+SED = sed
+COPY_FILE = $(COPY)
+COPY_DIR = $(COPY) -r
+INSTALL_FILE = install -m 644 -p
+INSTALL_DIR = $(COPY_DIR)
+INSTALL_PROGRAM = install -m 755 -p
+DEL_FILE = rm -f
+SYMLINK = ln -sf
+DEL_DIR = rmdir
+MOVE = mv -f
+CHK_DIR_EXISTS= test -d
+MKDIR = mkdir -p
+
+####### Output directory
+
+OBJECTS_DIR = ./
+
+####### Files
+
+SOURCES = main.cpp \
+ wmeter_main_window.cpp \
+ inj_control_rts.cpp \
+ inj_control_cts.cpp \
+ inj_control_ack.cpp \
+ framecontrol.cpp \
+ nav.cpp \
+ address.cpp \
+ inj_data_dataframe.cpp \
+ inj_data_qos_data.cpp \
+ inj_mgmt_asso_req.cpp \
+ inj_mgmt_asso_res.cpp \
+ inj_mgmt_reasso_req.cpp \
+ inj_mgmt_reasso_res.cpp \
+ inj_mgmt_probe_req.cpp \
+ inj_mgmt_probe_res.cpp \
+ inj_mgmt_beacon.cpp \
+ inj_mgmt_disasso.cpp \
+ inj_mgmt_authen.cpp \
+ inj_mgmt_deauthen.cpp \
+ supported_rate.cpp \
+ ssid.cpp \
+ sequence_ctrl.cpp \
+ ip_header.cpp \
+ listen_interval.cpp \
+ beacon_interval.cpp \
+ capability_info.cpp \
+ erp_info.cpp \
+ extended_rate.cpp \
+ time_stamp.cpp \
+ status_code.cpp \
+ ip_address.cpp \
+ parameter_set.cpp \
+ tim.cpp \
+ bitmap_control.cpp \
+ dtim.cpp \
+ reason_code.cpp \
+ auth_status_code.cpp \
+ payload.cpp \
+ txop.cpp \
+ eosp.cpp \
+ inj_control_pspoll.cpp \
+ inj_control_cf_end.cpp \
+ inj_control_cf_end_cf_ack.cpp \
+ inj_control_block_ack_request.cpp \
+ inj_control_block_ack.cpp \
+ tid.cpp \
+ inj_control_reserved.cpp \
+ ba_bar_ctrl_field.cpp \
+ ba_info_field.cpp \
+ qos_control.cpp \
+ inj_data_reserved.cpp \
+ inj_mgmt_reserved.cpp \
+ ht_control.cpp \
+ a_mpdu_parameter.cpp \
+ bss_coexistence.cpp \
+ ht_capability_info.cpp \
+ supported_mcs_set.cpp \
+ ht_extented_capability.cpp \
+ transmit_beamforming_cap.cpp \
+ asel_capability.cpp \
+ qos_capability.cpp \
+ ht_information.cpp \
+ overlapping_bss.cpp moc_wmeter_main_window.cpp \
+ moc_inj_control_rts.cpp \
+ moc_inj_control_cts.cpp \
+ moc_inj_control_ack.cpp \
+ moc_framecontrol.cpp \
+ moc_nav.cpp \
+ moc_address.cpp \
+ moc_inj_data_dataframe.cpp \
+ moc_inj_data_qos_data.cpp \
+ moc_inj_mgmt_asso_req.cpp \
+ moc_inj_mgmt_asso_res.cpp \
+ moc_inj_mgmt_reasso_req.cpp \
+ moc_inj_mgmt_reasso_res.cpp \
+ moc_inj_mgmt_probe_req.cpp \
+ moc_inj_mgmt_probe_res.cpp \
+ moc_inj_mgmt_beacon.cpp \
+ moc_inj_mgmt_disasso.cpp \
+ moc_inj_mgmt_authen.cpp \
+ moc_inj_mgmt_deauthen.cpp \
+ moc_supported_rate.cpp \
+ moc_ssid.cpp \
+ moc_sequence_ctrl.cpp \
+ moc_ip_header.cpp \
+ moc_listen_interval.cpp \
+ moc_beacon_interval.cpp \
+ moc_capability_info.cpp \
+ moc_erp_info.cpp \
+ moc_extended_rate.cpp \
+ moc_time_stamp.cpp \
+ moc_status_code.cpp \
+ moc_ip_address.cpp \
+ moc_parameter_set.cpp \
+ moc_tim.cpp \
+ moc_bitmap_control.cpp \
+ moc_dtim.cpp \
+ moc_reason_code.cpp \
+ moc_auth_status_code.cpp \
+ moc_payload.cpp \
+ moc_txop.cpp \
+ moc_eosp.cpp \
+ moc_inj_control_pspoll.cpp \
+ moc_inj_control_cf_end.cpp \
+ moc_inj_control_cf_end_cf_ack.cpp \
+ moc_inj_control_block_ack_request.cpp \
+ moc_inj_control_block_ack.cpp \
+ moc_tid.cpp \
+ moc_inj_control_reserved.cpp \
+ moc_ba_bar_ctrl_field.cpp \
+ moc_ba_info_field.cpp \
+ moc_qos_control.cpp \
+ moc_inj_data_reserved.cpp \
+ moc_inj_mgmt_reserved.cpp \
+ moc_ht_control.cpp \
+ moc_a_mpdu_parameter.cpp \
+ moc_bss_coexistence.cpp \
+ moc_ht_capability_info.cpp \
+ moc_supported_mcs_set.cpp \
+ moc_ht_extented_capability.cpp \
+ moc_transmit_beamforming_cap.cpp \
+ moc_asel_capability.cpp \
+ moc_qos_capability.cpp \
+ moc_ht_information.cpp \
+ moc_overlapping_bss.cpp
+OBJECTS = main.o \
+ wmeter_main_window.o \
+ inj_control_rts.o \
+ inj_control_cts.o \
+ inj_control_ack.o \
+ framecontrol.o \
+ nav.o \
+ address.o \
+ inj_data_dataframe.o \
+ inj_data_qos_data.o \
+ inj_mgmt_asso_req.o \
+ inj_mgmt_asso_res.o \
+ inj_mgmt_reasso_req.o \
+ inj_mgmt_reasso_res.o \
+ inj_mgmt_probe_req.o \
+ inj_mgmt_probe_res.o \
+ inj_mgmt_beacon.o \
+ inj_mgmt_disasso.o \
+ inj_mgmt_authen.o \
+ inj_mgmt_deauthen.o \
+ supported_rate.o \
+ ssid.o \
+ sequence_ctrl.o \
+ ip_header.o \
+ listen_interval.o \
+ beacon_interval.o \
+ capability_info.o \
+ erp_info.o \
+ extended_rate.o \
+ time_stamp.o \
+ status_code.o \
+ ip_address.o \
+ parameter_set.o \
+ tim.o \
+ bitmap_control.o \
+ dtim.o \
+ reason_code.o \
+ auth_status_code.o \
+ payload.o \
+ txop.o \
+ eosp.o \
+ inj_control_pspoll.o \
+ inj_control_cf_end.o \
+ inj_control_cf_end_cf_ack.o \
+ inj_control_block_ack_request.o \
+ inj_control_block_ack.o \
+ tid.o \
+ inj_control_reserved.o \
+ ba_bar_ctrl_field.o \
+ ba_info_field.o \
+ qos_control.o \
+ inj_data_reserved.o \
+ inj_mgmt_reserved.o \
+ ht_control.o \
+ a_mpdu_parameter.o \
+ bss_coexistence.o \
+ ht_capability_info.o \
+ supported_mcs_set.o \
+ ht_extented_capability.o \
+ transmit_beamforming_cap.o \
+ asel_capability.o \
+ qos_capability.o \
+ ht_information.o \
+ overlapping_bss.o \
+ moc_wmeter_main_window.o \
+ moc_inj_control_rts.o \
+ moc_inj_control_cts.o \
+ moc_inj_control_ack.o \
+ moc_framecontrol.o \
+ moc_nav.o \
+ moc_address.o \
+ moc_inj_data_dataframe.o \
+ moc_inj_data_qos_data.o \
+ moc_inj_mgmt_asso_req.o \
+ moc_inj_mgmt_asso_res.o \
+ moc_inj_mgmt_reasso_req.o \
+ moc_inj_mgmt_reasso_res.o \
+ moc_inj_mgmt_probe_req.o \
+ moc_inj_mgmt_probe_res.o \
+ moc_inj_mgmt_beacon.o \
+ moc_inj_mgmt_disasso.o \
+ moc_inj_mgmt_authen.o \
+ moc_inj_mgmt_deauthen.o \
+ moc_supported_rate.o \
+ moc_ssid.o \
+ moc_sequence_ctrl.o \
+ moc_ip_header.o \
+ moc_listen_interval.o \
+ moc_beacon_interval.o \
+ moc_capability_info.o \
+ moc_erp_info.o \
+ moc_extended_rate.o \
+ moc_time_stamp.o \
+ moc_status_code.o \
+ moc_ip_address.o \
+ moc_parameter_set.o \
+ moc_tim.o \
+ moc_bitmap_control.o \
+ moc_dtim.o \
+ moc_reason_code.o \
+ moc_auth_status_code.o \
+ moc_payload.o \
+ moc_txop.o \
+ moc_eosp.o \
+ moc_inj_control_pspoll.o \
+ moc_inj_control_cf_end.o \
+ moc_inj_control_cf_end_cf_ack.o \
+ moc_inj_control_block_ack_request.o \
+ moc_inj_control_block_ack.o \
+ moc_tid.o \
+ moc_inj_control_reserved.o \
+ moc_ba_bar_ctrl_field.o \
+ moc_ba_info_field.o \
+ moc_qos_control.o \
+ moc_inj_data_reserved.o \
+ moc_inj_mgmt_reserved.o \
+ moc_ht_control.o \
+ moc_a_mpdu_parameter.o \
+ moc_bss_coexistence.o \
+ moc_ht_capability_info.o \
+ moc_supported_mcs_set.o \
+ moc_ht_extented_capability.o \
+ moc_transmit_beamforming_cap.o \
+ moc_asel_capability.o \
+ moc_qos_capability.o \
+ moc_ht_information.o \
+ moc_overlapping_bss.o
+DIST = /usr/lib/qt4/mkspecs/common/g++-multilib.conf \
+ /usr/lib/qt4/mkspecs/common/unix.conf \
+ /usr/lib/qt4/mkspecs/common/linux.conf \
+ /usr/lib/qt4/mkspecs/qconfig.pri \
+ /usr/lib/qt4/mkspecs/features/qt_functions.prf \
+ /usr/lib/qt4/mkspecs/features/qt_config.prf \
+ /usr/lib/qt4/mkspecs/features/exclusive_builds.prf \
+ /usr/lib/qt4/mkspecs/features/default_pre.prf \
+ /usr/lib/qt4/mkspecs/features/debug.prf \
+ /usr/lib/qt4/mkspecs/features/default_post.prf \
+ /usr/lib/qt4/mkspecs/features/warn_on.prf \
+ /usr/lib/qt4/mkspecs/features/qt.prf \
+ /usr/lib/qt4/mkspecs/features/unix/thread.prf \
+ /usr/lib/qt4/mkspecs/features/moc.prf \
+ /usr/lib/qt4/mkspecs/features/resources.prf \
+ /usr/lib/qt4/mkspecs/features/uic.prf \
+ /usr/lib/qt4/mkspecs/features/yacc.prf \
+ /usr/lib/qt4/mkspecs/features/lex.prf \
+ W-Meter.pro
+QMAKE_TARGET = W-Meter
+DESTDIR =
+TARGET = W-Meter
+
+first: all
+####### Implicit rules
+
+.SUFFIXES: .o .c .cpp .cc .cxx .C
+
+.cpp.o:
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.cc.o:
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.cxx.o:
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.C.o:
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
+
+.c.o:
+ $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
+
+####### Build rules
+
+all: Makefile $(TARGET)
+
+$(TARGET): ui_wmeter_main_window.h ui_inj_control_rts.h ui_inj_control_cts.h ui_inj_control_ack.h ui_framecontrol.h ui_nav.h ui_address.h ui_inj_data_dataframe.h ui_inj_data_qos_data.h ui_inj_mgmt_asso_req.h ui_inj_mgmt_asso_res.h ui_inj_mgmt_reasso_req.h ui_inj_mgmt_reasso_res.h ui_inj_mgmt_probe_req.h ui_inj_mgmt_probe_res.h ui_inj_mgmt_beacon.h ui_inj_mgmt_disasso.h ui_inj_mgmt_authen.h ui_inj_mgmt_deauthen.h ui_supported_rate.h ui_ssid.h ui_sequence_ctrl.h ui_ip_header.h ui_listen_interval.h ui_beacon_interval.h ui_capability_info.h ui_erp_info.h ui_extended_rate.h ui_time_stamp.h ui_status_code.h ui_ip_address.h ui_parameter_set.h ui_tim.h ui_bitmap_control.h ui_dtim.h ui_reason_code.h ui_auth_status_code.h ui_payload.h ui_txop.h ui_eosp.h ui_inj_control_pspoll.h ui_inj_control_cf_end.h ui_inj_control_cf_end_cf_ack.h ui_inj_control_block_ack_request.h ui_inj_control_block_ack.h ui_tid.h ui_inj_control_reserved.h ui_ba_bar_ctrl_field.h ui_ba_info_field.h ui_qos_control.h ui_inj_data_reserved.h ui_inj_mgmt_reserved.h ui_ht_control.h ui_a_mpdu_parameter.h ui_bss_coexistence.h ui_ht_capability_info.h ui_supported_mcs_set.h ui_ht_extented_capability.h ui_transmit_beamforming_cap.h ui_asel_capability.h ui_qos_capability.h ui_ht_information.h ui_overlapping_bss.h $(OBJECTS)
+ $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
+
+Makefile: W-Meter.pro /usr/lib/qt4/mkspecs/linux-g++/qmake.conf /usr/lib/qt4/mkspecs/common/g++-multilib.conf \
+ /usr/lib/qt4/mkspecs/common/unix.conf \
+ /usr/lib/qt4/mkspecs/common/linux.conf \
+ /usr/lib/qt4/mkspecs/qconfig.pri \
+ /usr/lib/qt4/mkspecs/features/qt_functions.prf \
+ /usr/lib/qt4/mkspecs/features/qt_config.prf \
+ /usr/lib/qt4/mkspecs/features/exclusive_builds.prf \
+ /usr/lib/qt4/mkspecs/features/default_pre.prf \
+ /usr/lib/qt4/mkspecs/features/debug.prf \
+ /usr/lib/qt4/mkspecs/features/default_post.prf \
+ /usr/lib/qt4/mkspecs/features/warn_on.prf \
+ /usr/lib/qt4/mkspecs/features/qt.prf \
+ /usr/lib/qt4/mkspecs/features/unix/thread.prf \
+ /usr/lib/qt4/mkspecs/features/moc.prf \
+ /usr/lib/qt4/mkspecs/features/resources.prf \
+ /usr/lib/qt4/mkspecs/features/uic.prf \
+ /usr/lib/qt4/mkspecs/features/yacc.prf \
+ /usr/lib/qt4/mkspecs/features/lex.prf
+ $(QMAKE) -spec /usr/lib/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile W-Meter.pro
+/usr/lib/qt4/mkspecs/common/g++-multilib.conf:
+/usr/lib/qt4/mkspecs/common/unix.conf:
+/usr/lib/qt4/mkspecs/common/linux.conf:
+/usr/lib/qt4/mkspecs/qconfig.pri:
+/usr/lib/qt4/mkspecs/features/qt_functions.prf:
+/usr/lib/qt4/mkspecs/features/qt_config.prf:
+/usr/lib/qt4/mkspecs/features/exclusive_builds.prf:
+/usr/lib/qt4/mkspecs/features/default_pre.prf:
+/usr/lib/qt4/mkspecs/features/debug.prf:
+/usr/lib/qt4/mkspecs/features/default_post.prf:
+/usr/lib/qt4/mkspecs/features/warn_on.prf:
+/usr/lib/qt4/mkspecs/features/qt.prf:
+/usr/lib/qt4/mkspecs/features/unix/thread.prf:
+/usr/lib/qt4/mkspecs/features/moc.prf:
+/usr/lib/qt4/mkspecs/features/resources.prf:
+/usr/lib/qt4/mkspecs/features/uic.prf:
+/usr/lib/qt4/mkspecs/features/yacc.prf:
+/usr/lib/qt4/mkspecs/features/lex.prf:
+qmake: FORCE
+ @$(QMAKE) -spec /usr/lib/qt4/mkspecs/linux-g++ -unix CONFIG+=debug -o Makefile W-Meter.pro
+
+dist:
+ @$(CHK_DIR_EXISTS) .tmp/W-Meter1.0.0 || $(MKDIR) .tmp/W-Meter1.0.0
+ $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/W-Meter1.0.0/ && $(COPY_FILE) --parents wmeter_main_window.h inj_control_rts.h inj_control_cts.h inj_control_ack.h framecontrol.h nav.h address.h inj_data_dataframe.h inj_data_qos_data.h inj_mgmt_asso_req.h inj_mgmt_asso_res.h inj_mgmt_reasso_req.h inj_mgmt_reasso_res.h inj_mgmt_probe_req.h inj_mgmt_probe_res.h inj_mgmt_beacon.h inj_mgmt_disasso.h inj_mgmt_authen.h inj_mgmt_deauthen.h supported_rate.h ssid.h sequence_ctrl.h ip_header.h listen_interval.h beacon_interval.h capability_info.h erp_info.h extended_rate.h time_stamp.h status_code.h ip_address.h parameter_set.h tim.h bitmap_control.h dtim.h reason_code.h auth_status_code.h payload.h txop.h eosp.h inj_control_pspoll.h inj_control_cf_end.h inj_control_cf_end_cf_ack.h inj_control_block_ack_request.h inj_control_block_ack.h tid.h inj_control_reserved.h ba_bar_ctrl_field.h ba_info_field.h qos_control.h inj_data_reserved.h inj_mgmt_reserved.h ht_control.h a_mpdu_parameter.h bss_coexistence.h ht_capability_info.h supported_mcs_set.h ht_extented_capability.h transmit_beamforming_cap.h asel_capability.h qos_capability.h ht_information.h overlapping_bss.h .tmp/W-Meter1.0.0/ && $(COPY_FILE) --parents main.cpp wmeter_main_window.cpp inj_control_rts.cpp inj_control_cts.cpp inj_control_ack.cpp framecontrol.cpp nav.cpp address.cpp inj_data_dataframe.cpp inj_data_qos_data.cpp inj_mgmt_asso_req.cpp inj_mgmt_asso_res.cpp inj_mgmt_reasso_req.cpp inj_mgmt_reasso_res.cpp inj_mgmt_probe_req.cpp inj_mgmt_probe_res.cpp inj_mgmt_beacon.cpp inj_mgmt_disasso.cpp inj_mgmt_authen.cpp inj_mgmt_deauthen.cpp supported_rate.cpp ssid.cpp sequence_ctrl.cpp ip_header.cpp listen_interval.cpp beacon_interval.cpp capability_info.cpp erp_info.cpp extended_rate.cpp time_stamp.cpp status_code.cpp ip_address.cpp parameter_set.cpp tim.cpp bitmap_control.cpp dtim.cpp reason_code.cpp auth_status_code.cpp payload.cpp txop.cpp eosp.cpp inj_control_pspoll.cpp inj_control_cf_end.cpp inj_control_cf_end_cf_ack.cpp inj_control_block_ack_request.cpp inj_control_block_ack.cpp tid.cpp inj_control_reserved.cpp ba_bar_ctrl_field.cpp ba_info_field.cpp qos_control.cpp inj_data_reserved.cpp inj_mgmt_reserved.cpp ht_control.cpp a_mpdu_parameter.cpp bss_coexistence.cpp ht_capability_info.cpp supported_mcs_set.cpp ht_extented_capability.cpp transmit_beamforming_cap.cpp asel_capability.cpp qos_capability.cpp ht_information.cpp overlapping_bss.cpp .tmp/W-Meter1.0.0/ && $(COPY_FILE) --parents wmeter_main_window.ui inj_control_rts.ui inj_control_cts.ui inj_control_ack.ui framecontrol.ui nav.ui address.ui inj_data_dataframe.ui inj_data_qos_data.ui inj_mgmt_asso_req.ui inj_mgmt_asso_res.ui inj_mgmt_reasso_req.ui inj_mgmt_reasso_res.ui inj_mgmt_probe_req.ui inj_mgmt_probe_res.ui inj_mgmt_beacon.ui inj_mgmt_disasso.ui inj_mgmt_authen.ui inj_mgmt_deauthen.ui supported_rate.ui ssid.ui sequence_ctrl.ui ip_header.ui listen_interval.ui beacon_interval.ui capability_info.ui erp_info.ui extended_rate.ui time_stamp.ui status_code.ui ip_address.ui parameter_set.ui tim.ui bitmap_control.ui dtim.ui reason_code.ui auth_status_code.ui payload.ui txop.ui eosp.ui inj_control_pspoll.ui inj_control_cf_end.ui inj_control_cf_end_cf_ack.ui inj_control_block_ack_request.ui inj_control_block_ack.ui tid.ui inj_control_reserved.ui ba_bar_ctrl_field.ui ba_info_field.ui qos_control.ui inj_data_reserved.ui inj_mgmt_reserved.ui ht_control.ui a_mpdu_parameter.ui bss_coexistence.ui ht_capability_info.ui supported_mcs_set.ui ht_extented_capability.ui transmit_beamforming_cap.ui asel_capability.ui qos_capability.ui ht_information.ui overlapping_bss.ui .tmp/W-Meter1.0.0/ && (cd `dirname .tmp/W-Meter1.0.0` && $(TAR) W-Meter1.0.0.tar W-Meter1.0.0 && $(COMPRESS) W-Meter1.0.0.tar) && $(MOVE) `dirname .tmp/W-Meter1.0.0`/W-Meter1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/W-Meter1.0.0
+
+
+clean:compiler_clean
+ -$(DEL_FILE) $(OBJECTS)
+ -$(DEL_FILE) *~ core *.core
+
+
+####### Sub-libraries
+
+distclean: clean
+ -$(DEL_FILE) $(TARGET)
+ -$(DEL_FILE) Makefile
+
+
+mocclean: compiler_moc_header_clean compiler_moc_source_clean
+
+mocables: compiler_moc_header_make_all compiler_moc_source_make_all
+
+compiler_moc_header_make_all: moc_wmeter_main_window.cpp moc_inj_control_rts.cpp moc_inj_control_cts.cpp moc_inj_control_ack.cpp moc_framecontrol.cpp moc_nav.cpp moc_address.cpp moc_inj_data_dataframe.cpp moc_inj_data_qos_data.cpp moc_inj_mgmt_asso_req.cpp moc_inj_mgmt_asso_res.cpp moc_inj_mgmt_reasso_req.cpp moc_inj_mgmt_reasso_res.cpp moc_inj_mgmt_probe_req.cpp moc_inj_mgmt_probe_res.cpp moc_inj_mgmt_beacon.cpp moc_inj_mgmt_disasso.cpp moc_inj_mgmt_authen.cpp moc_inj_mgmt_deauthen.cpp moc_supported_rate.cpp moc_ssid.cpp moc_sequence_ctrl.cpp moc_ip_header.cpp moc_listen_interval.cpp moc_beacon_interval.cpp moc_capability_info.cpp moc_erp_info.cpp moc_extended_rate.cpp moc_time_stamp.cpp moc_status_code.cpp moc_ip_address.cpp moc_parameter_set.cpp moc_tim.cpp moc_bitmap_control.cpp moc_dtim.cpp moc_reason_code.cpp moc_auth_status_code.cpp moc_payload.cpp moc_txop.cpp moc_eosp.cpp moc_inj_control_pspoll.cpp moc_inj_control_cf_end.cpp moc_inj_control_cf_end_cf_ack.cpp moc_inj_control_block_ack_request.cpp moc_inj_control_block_ack.cpp moc_tid.cpp moc_inj_control_reserved.cpp moc_ba_bar_ctrl_field.cpp moc_ba_info_field.cpp moc_qos_control.cpp moc_inj_data_reserved.cpp moc_inj_mgmt_reserved.cpp moc_ht_control.cpp moc_a_mpdu_parameter.cpp moc_bss_coexistence.cpp moc_ht_capability_info.cpp moc_supported_mcs_set.cpp moc_ht_extented_capability.cpp moc_transmit_beamforming_cap.cpp moc_asel_capability.cpp moc_qos_capability.cpp moc_ht_information.cpp moc_overlapping_bss.cpp
+compiler_moc_header_clean:
+ -$(DEL_FILE) moc_wmeter_main_window.cpp moc_inj_control_rts.cpp moc_inj_control_cts.cpp moc_inj_control_ack.cpp moc_framecontrol.cpp moc_nav.cpp moc_address.cpp moc_inj_data_dataframe.cpp moc_inj_data_qos_data.cpp moc_inj_mgmt_asso_req.cpp moc_inj_mgmt_asso_res.cpp moc_inj_mgmt_reasso_req.cpp moc_inj_mgmt_reasso_res.cpp moc_inj_mgmt_probe_req.cpp moc_inj_mgmt_probe_res.cpp moc_inj_mgmt_beacon.cpp moc_inj_mgmt_disasso.cpp moc_inj_mgmt_authen.cpp moc_inj_mgmt_deauthen.cpp moc_supported_rate.cpp moc_ssid.cpp moc_sequence_ctrl.cpp moc_ip_header.cpp moc_listen_interval.cpp moc_beacon_interval.cpp moc_capability_info.cpp moc_erp_info.cpp moc_extended_rate.cpp moc_time_stamp.cpp moc_status_code.cpp moc_ip_address.cpp moc_parameter_set.cpp moc_tim.cpp moc_bitmap_control.cpp moc_dtim.cpp moc_reason_code.cpp moc_auth_status_code.cpp moc_payload.cpp moc_txop.cpp moc_eosp.cpp moc_inj_control_pspoll.cpp moc_inj_control_cf_end.cpp moc_inj_control_cf_end_cf_ack.cpp moc_inj_control_block_ack_request.cpp moc_inj_control_block_ack.cpp moc_tid.cpp moc_inj_control_reserved.cpp moc_ba_bar_ctrl_field.cpp moc_ba_info_field.cpp moc_qos_control.cpp moc_inj_data_reserved.cpp moc_inj_mgmt_reserved.cpp moc_ht_control.cpp moc_a_mpdu_parameter.cpp moc_bss_coexistence.cpp moc_ht_capability_info.cpp moc_supported_mcs_set.cpp moc_ht_extented_capability.cpp moc_transmit_beamforming_cap.cpp moc_asel_capability.cpp moc_qos_capability.cpp moc_ht_information.cpp moc_overlapping_bss.cpp
+moc_wmeter_main_window.cpp: wmeter_main_window.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) wmeter_main_window.h -o moc_wmeter_main_window.cpp
+
+moc_inj_control_rts.cpp: inj_control_rts.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_control_rts.h -o moc_inj_control_rts.cpp
+
+moc_inj_control_cts.cpp: inj_control_cts.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_control_cts.h -o moc_inj_control_cts.cpp
+
+moc_inj_control_ack.cpp: inj_control_ack.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_control_ack.h -o moc_inj_control_ack.cpp
+
+moc_framecontrol.cpp: framecontrol.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) framecontrol.h -o moc_framecontrol.cpp
+
+moc_nav.cpp: nav.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) nav.h -o moc_nav.cpp
+
+moc_address.cpp: address.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) address.h -o moc_address.cpp
+
+moc_inj_data_dataframe.cpp: inj_data_dataframe.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_data_dataframe.h -o moc_inj_data_dataframe.cpp
+
+moc_inj_data_qos_data.cpp: inj_data_qos_data.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_data_qos_data.h -o moc_inj_data_qos_data.cpp
+
+moc_inj_mgmt_asso_req.cpp: inj_mgmt_asso_req.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_mgmt_asso_req.h -o moc_inj_mgmt_asso_req.cpp
+
+moc_inj_mgmt_asso_res.cpp: inj_mgmt_asso_res.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_mgmt_asso_res.h -o moc_inj_mgmt_asso_res.cpp
+
+moc_inj_mgmt_reasso_req.cpp: inj_mgmt_reasso_req.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_mgmt_reasso_req.h -o moc_inj_mgmt_reasso_req.cpp
+
+moc_inj_mgmt_reasso_res.cpp: inj_mgmt_reasso_res.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_mgmt_reasso_res.h -o moc_inj_mgmt_reasso_res.cpp
+
+moc_inj_mgmt_probe_req.cpp: inj_mgmt_probe_req.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_mgmt_probe_req.h -o moc_inj_mgmt_probe_req.cpp
+
+moc_inj_mgmt_probe_res.cpp: inj_mgmt_probe_res.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_mgmt_probe_res.h -o moc_inj_mgmt_probe_res.cpp
+
+moc_inj_mgmt_beacon.cpp: inj_mgmt_beacon.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_mgmt_beacon.h -o moc_inj_mgmt_beacon.cpp
+
+moc_inj_mgmt_disasso.cpp: inj_mgmt_disasso.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_mgmt_disasso.h -o moc_inj_mgmt_disasso.cpp
+
+moc_inj_mgmt_authen.cpp: inj_mgmt_authen.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_mgmt_authen.h -o moc_inj_mgmt_authen.cpp
+
+moc_inj_mgmt_deauthen.cpp: inj_mgmt_deauthen.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_mgmt_deauthen.h -o moc_inj_mgmt_deauthen.cpp
+
+moc_supported_rate.cpp: supported_rate.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) supported_rate.h -o moc_supported_rate.cpp
+
+moc_ssid.cpp: ssid.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) ssid.h -o moc_ssid.cpp
+
+moc_sequence_ctrl.cpp: sequence_ctrl.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) sequence_ctrl.h -o moc_sequence_ctrl.cpp
+
+moc_ip_header.cpp: ip_header.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) ip_header.h -o moc_ip_header.cpp
+
+moc_listen_interval.cpp: listen_interval.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) listen_interval.h -o moc_listen_interval.cpp
+
+moc_beacon_interval.cpp: beacon_interval.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) beacon_interval.h -o moc_beacon_interval.cpp
+
+moc_capability_info.cpp: capability_info.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) capability_info.h -o moc_capability_info.cpp
+
+moc_erp_info.cpp: erp_info.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) erp_info.h -o moc_erp_info.cpp
+
+moc_extended_rate.cpp: extended_rate.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) extended_rate.h -o moc_extended_rate.cpp
+
+moc_time_stamp.cpp: time_stamp.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) time_stamp.h -o moc_time_stamp.cpp
+
+moc_status_code.cpp: status_code.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) status_code.h -o moc_status_code.cpp
+
+moc_ip_address.cpp: ip_address.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) ip_address.h -o moc_ip_address.cpp
+
+moc_parameter_set.cpp: parameter_set.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) parameter_set.h -o moc_parameter_set.cpp
+
+moc_tim.cpp: tim.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) tim.h -o moc_tim.cpp
+
+moc_bitmap_control.cpp: bitmap_control.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) bitmap_control.h -o moc_bitmap_control.cpp
+
+moc_dtim.cpp: dtim.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) dtim.h -o moc_dtim.cpp
+
+moc_reason_code.cpp: reason_code.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) reason_code.h -o moc_reason_code.cpp
+
+moc_auth_status_code.cpp: auth_status_code.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) auth_status_code.h -o moc_auth_status_code.cpp
+
+moc_payload.cpp: payload.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) payload.h -o moc_payload.cpp
+
+moc_txop.cpp: txop.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) txop.h -o moc_txop.cpp
+
+moc_eosp.cpp: eosp.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) eosp.h -o moc_eosp.cpp
+
+moc_inj_control_pspoll.cpp: inj_control_pspoll.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_control_pspoll.h -o moc_inj_control_pspoll.cpp
+
+moc_inj_control_cf_end.cpp: inj_control_cf_end.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_control_cf_end.h -o moc_inj_control_cf_end.cpp
+
+moc_inj_control_cf_end_cf_ack.cpp: inj_control_cf_end_cf_ack.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_control_cf_end_cf_ack.h -o moc_inj_control_cf_end_cf_ack.cpp
+
+moc_inj_control_block_ack_request.cpp: inj_control_block_ack_request.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_control_block_ack_request.h -o moc_inj_control_block_ack_request.cpp
+
+moc_inj_control_block_ack.cpp: inj_control_block_ack.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_control_block_ack.h -o moc_inj_control_block_ack.cpp
+
+moc_tid.cpp: tid.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) tid.h -o moc_tid.cpp
+
+moc_inj_control_reserved.cpp: inj_control_reserved.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_control_reserved.h -o moc_inj_control_reserved.cpp
+
+moc_ba_bar_ctrl_field.cpp: ba_bar_ctrl_field.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) ba_bar_ctrl_field.h -o moc_ba_bar_ctrl_field.cpp
+
+moc_ba_info_field.cpp: ba_info_field.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) ba_info_field.h -o moc_ba_info_field.cpp
+
+moc_qos_control.cpp: qos_control.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) qos_control.h -o moc_qos_control.cpp
+
+moc_inj_data_reserved.cpp: inj_data_reserved.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_data_reserved.h -o moc_inj_data_reserved.cpp
+
+moc_inj_mgmt_reserved.cpp: inj_mgmt_reserved.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) inj_mgmt_reserved.h -o moc_inj_mgmt_reserved.cpp
+
+moc_ht_control.cpp: ht_control.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) ht_control.h -o moc_ht_control.cpp
+
+moc_a_mpdu_parameter.cpp: a_mpdu_parameter.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) a_mpdu_parameter.h -o moc_a_mpdu_parameter.cpp
+
+moc_bss_coexistence.cpp: bss_coexistence.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) bss_coexistence.h -o moc_bss_coexistence.cpp
+
+moc_ht_capability_info.cpp: ht_capability_info.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) ht_capability_info.h -o moc_ht_capability_info.cpp
+
+moc_supported_mcs_set.cpp: supported_mcs_set.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) supported_mcs_set.h -o moc_supported_mcs_set.cpp
+
+moc_ht_extented_capability.cpp: ht_extented_capability.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) ht_extented_capability.h -o moc_ht_extented_capability.cpp
+
+moc_transmit_beamforming_cap.cpp: transmit_beamforming_cap.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) transmit_beamforming_cap.h -o moc_transmit_beamforming_cap.cpp
+
+moc_asel_capability.cpp: asel_capability.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) asel_capability.h -o moc_asel_capability.cpp
+
+moc_qos_capability.cpp: qos_capability.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) qos_capability.h -o moc_qos_capability.cpp
+
+moc_ht_information.cpp: ht_information.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) ht_information.h -o moc_ht_information.cpp
+
+moc_overlapping_bss.cpp: overlapping_bss.h
+ /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) overlapping_bss.h -o moc_overlapping_bss.cpp
+
+compiler_rcc_make_all:
+compiler_rcc_clean:
+compiler_image_collection_make_all: qmake_image_collection.cpp
+compiler_image_collection_clean:
+ -$(DEL_FILE) qmake_image_collection.cpp
+compiler_moc_source_make_all:
+compiler_moc_source_clean:
+compiler_uic_make_all: ui_wmeter_main_window.h ui_inj_control_rts.h ui_inj_control_cts.h ui_inj_control_ack.h ui_framecontrol.h ui_nav.h ui_address.h ui_inj_data_dataframe.h ui_inj_data_qos_data.h ui_inj_mgmt_asso_req.h ui_inj_mgmt_asso_res.h ui_inj_mgmt_reasso_req.h ui_inj_mgmt_reasso_res.h ui_inj_mgmt_probe_req.h ui_inj_mgmt_probe_res.h ui_inj_mgmt_beacon.h ui_inj_mgmt_disasso.h ui_inj_mgmt_authen.h ui_inj_mgmt_deauthen.h ui_supported_rate.h ui_ssid.h ui_sequence_ctrl.h ui_ip_header.h ui_listen_interval.h ui_beacon_interval.h ui_capability_info.h ui_erp_info.h ui_extended_rate.h ui_time_stamp.h ui_status_code.h ui_ip_address.h ui_parameter_set.h ui_tim.h ui_bitmap_control.h ui_dtim.h ui_reason_code.h ui_auth_status_code.h ui_payload.h ui_txop.h ui_eosp.h ui_inj_control_pspoll.h ui_inj_control_cf_end.h ui_inj_control_cf_end_cf_ack.h ui_inj_control_block_ack_request.h ui_inj_control_block_ack.h ui_tid.h ui_inj_control_reserved.h ui_ba_bar_ctrl_field.h ui_ba_info_field.h ui_qos_control.h ui_inj_data_reserved.h ui_inj_mgmt_reserved.h ui_ht_control.h ui_a_mpdu_parameter.h ui_bss_coexistence.h ui_ht_capability_info.h ui_supported_mcs_set.h ui_ht_extented_capability.h ui_transmit_beamforming_cap.h ui_asel_capability.h ui_qos_capability.h ui_ht_information.h ui_overlapping_bss.h
+compiler_uic_clean:
+ -$(DEL_FILE) ui_wmeter_main_window.h ui_inj_control_rts.h ui_inj_control_cts.h ui_inj_control_ack.h ui_framecontrol.h ui_nav.h ui_address.h ui_inj_data_dataframe.h ui_inj_data_qos_data.h ui_inj_mgmt_asso_req.h ui_inj_mgmt_asso_res.h ui_inj_mgmt_reasso_req.h ui_inj_mgmt_reasso_res.h ui_inj_mgmt_probe_req.h ui_inj_mgmt_probe_res.h ui_inj_mgmt_beacon.h ui_inj_mgmt_disasso.h ui_inj_mgmt_authen.h ui_inj_mgmt_deauthen.h ui_supported_rate.h ui_ssid.h ui_sequence_ctrl.h ui_ip_header.h ui_listen_interval.h ui_beacon_interval.h ui_capability_info.h ui_erp_info.h ui_extended_rate.h ui_time_stamp.h ui_status_code.h ui_ip_address.h ui_parameter_set.h ui_tim.h ui_bitmap_control.h ui_dtim.h ui_reason_code.h ui_auth_status_code.h ui_payload.h ui_txop.h ui_eosp.h ui_inj_control_pspoll.h ui_inj_control_cf_end.h ui_inj_control_cf_end_cf_ack.h ui_inj_control_block_ack_request.h ui_inj_control_block_ack.h ui_tid.h ui_inj_control_reserved.h ui_ba_bar_ctrl_field.h ui_ba_info_field.h ui_qos_control.h ui_inj_data_reserved.h ui_inj_mgmt_reserved.h ui_ht_control.h ui_a_mpdu_parameter.h ui_bss_coexistence.h ui_ht_capability_info.h ui_supported_mcs_set.h ui_ht_extented_capability.h ui_transmit_beamforming_cap.h ui_asel_capability.h ui_qos_capability.h ui_ht_information.h ui_overlapping_bss.h
+ui_wmeter_main_window.h: wmeter_main_window.ui
+ /usr/lib/qt4/bin/uic wmeter_main_window.ui -o ui_wmeter_main_window.h
+
+ui_inj_control_rts.h: inj_control_rts.ui
+ /usr/lib/qt4/bin/uic inj_control_rts.ui -o ui_inj_control_rts.h
+
+ui_inj_control_cts.h: inj_control_cts.ui
+ /usr/lib/qt4/bin/uic inj_control_cts.ui -o ui_inj_control_cts.h
+
+ui_inj_control_ack.h: inj_control_ack.ui
+ /usr/lib/qt4/bin/uic inj_control_ack.ui -o ui_inj_control_ack.h
+
+ui_framecontrol.h: framecontrol.ui
+ /usr/lib/qt4/bin/uic framecontrol.ui -o ui_framecontrol.h
+
+ui_nav.h: nav.ui
+ /usr/lib/qt4/bin/uic nav.ui -o ui_nav.h
+
+ui_address.h: address.ui
+ /usr/lib/qt4/bin/uic address.ui -o ui_address.h
+
+ui_inj_data_dataframe.h: inj_data_dataframe.ui
+ /usr/lib/qt4/bin/uic inj_data_dataframe.ui -o ui_inj_data_dataframe.h
+
+ui_inj_data_qos_data.h: inj_data_qos_data.ui
+ /usr/lib/qt4/bin/uic inj_data_qos_data.ui -o ui_inj_data_qos_data.h
+
+ui_inj_mgmt_asso_req.h: inj_mgmt_asso_req.ui
+ /usr/lib/qt4/bin/uic inj_mgmt_asso_req.ui -o ui_inj_mgmt_asso_req.h
+
+ui_inj_mgmt_asso_res.h: inj_mgmt_asso_res.ui
+ /usr/lib/qt4/bin/uic inj_mgmt_asso_res.ui -o ui_inj_mgmt_asso_res.h
+
+ui_inj_mgmt_reasso_req.h: inj_mgmt_reasso_req.ui
+ /usr/lib/qt4/bin/uic inj_mgmt_reasso_req.ui -o ui_inj_mgmt_reasso_req.h
+
+ui_inj_mgmt_reasso_res.h: inj_mgmt_reasso_res.ui
+ /usr/lib/qt4/bin/uic inj_mgmt_reasso_res.ui -o ui_inj_mgmt_reasso_res.h
+
+ui_inj_mgmt_probe_req.h: inj_mgmt_probe_req.ui
+ /usr/lib/qt4/bin/uic inj_mgmt_probe_req.ui -o ui_inj_mgmt_probe_req.h
+
+ui_inj_mgmt_probe_res.h: inj_mgmt_probe_res.ui
+ /usr/lib/qt4/bin/uic inj_mgmt_probe_res.ui -o ui_inj_mgmt_probe_res.h
+
+ui_inj_mgmt_beacon.h: inj_mgmt_beacon.ui
+ /usr/lib/qt4/bin/uic inj_mgmt_beacon.ui -o ui_inj_mgmt_beacon.h
+
+ui_inj_mgmt_disasso.h: inj_mgmt_disasso.ui
+ /usr/lib/qt4/bin/uic inj_mgmt_disasso.ui -o ui_inj_mgmt_disasso.h
+
+ui_inj_mgmt_authen.h: inj_mgmt_authen.ui
+ /usr/lib/qt4/bin/uic inj_mgmt_authen.ui -o ui_inj_mgmt_authen.h
+
+ui_inj_mgmt_deauthen.h: inj_mgmt_deauthen.ui
+ /usr/lib/qt4/bin/uic inj_mgmt_deauthen.ui -o ui_inj_mgmt_deauthen.h
+
+ui_supported_rate.h: supported_rate.ui
+ /usr/lib/qt4/bin/uic supported_rate.ui -o ui_supported_rate.h
+
+ui_ssid.h: ssid.ui
+ /usr/lib/qt4/bin/uic ssid.ui -o ui_ssid.h
+
+ui_sequence_ctrl.h: sequence_ctrl.ui
+ /usr/lib/qt4/bin/uic sequence_ctrl.ui -o ui_sequence_ctrl.h
+
+ui_ip_header.h: ip_header.ui
+ /usr/lib/qt4/bin/uic ip_header.ui -o ui_ip_header.h
+
+ui_listen_interval.h: listen_interval.ui
+ /usr/lib/qt4/bin/uic listen_interval.ui -o ui_listen_interval.h
+
+ui_beacon_interval.h: beacon_interval.ui
+ /usr/lib/qt4/bin/uic beacon_interval.ui -o ui_beacon_interval.h
+
+ui_capability_info.h: capability_info.ui
+ /usr/lib/qt4/bin/uic capability_info.ui -o ui_capability_info.h
+
+ui_erp_info.h: erp_info.ui
+ /usr/lib/qt4/bin/uic erp_info.ui -o ui_erp_info.h
+
+ui_extended_rate.h: extended_rate.ui
+ /usr/lib/qt4/bin/uic extended_rate.ui -o ui_extended_rate.h
+
+ui_time_stamp.h: time_stamp.ui
+ /usr/lib/qt4/bin/uic time_stamp.ui -o ui_time_stamp.h
+
+ui_status_code.h: status_code.ui
+ /usr/lib/qt4/bin/uic status_code.ui -o ui_status_code.h
+
+ui_ip_address.h: ip_address.ui
+ /usr/lib/qt4/bin/uic ip_address.ui -o ui_ip_address.h
+
+ui_parameter_set.h: parameter_set.ui
+ /usr/lib/qt4/bin/uic parameter_set.ui -o ui_parameter_set.h
+
+ui_tim.h: tim.ui
+ /usr/lib/qt4/bin/uic tim.ui -o ui_tim.h
+
+ui_bitmap_control.h: bitmap_control.ui
+ /usr/lib/qt4/bin/uic bitmap_control.ui -o ui_bitmap_control.h
+
+ui_dtim.h: dtim.ui
+ /usr/lib/qt4/bin/uic dtim.ui -o ui_dtim.h
+
+ui_reason_code.h: reason_code.ui
+ /usr/lib/qt4/bin/uic reason_code.ui -o ui_reason_code.h
+
+ui_auth_status_code.h: auth_status_code.ui
+ /usr/lib/qt4/bin/uic auth_status_code.ui -o ui_auth_status_code.h
+
+ui_payload.h: payload.ui
+ /usr/lib/qt4/bin/uic payload.ui -o ui_payload.h
+
+ui_txop.h: txop.ui
+ /usr/lib/qt4/bin/uic txop.ui -o ui_txop.h
+
+ui_eosp.h: eosp.ui
+ /usr/lib/qt4/bin/uic eosp.ui -o ui_eosp.h
+
+ui_inj_control_pspoll.h: inj_control_pspoll.ui
+ /usr/lib/qt4/bin/uic inj_control_pspoll.ui -o ui_inj_control_pspoll.h
+
+ui_inj_control_cf_end.h: inj_control_cf_end.ui
+ /usr/lib/qt4/bin/uic inj_control_cf_end.ui -o ui_inj_control_cf_end.h
+
+ui_inj_control_cf_end_cf_ack.h: inj_control_cf_end_cf_ack.ui
+ /usr/lib/qt4/bin/uic inj_control_cf_end_cf_ack.ui -o ui_inj_control_cf_end_cf_ack.h
+
+ui_inj_control_block_ack_request.h: inj_control_block_ack_request.ui
+ /usr/lib/qt4/bin/uic inj_control_block_ack_request.ui -o ui_inj_control_block_ack_request.h
+
+ui_inj_control_block_ack.h: inj_control_block_ack.ui
+ /usr/lib/qt4/bin/uic inj_control_block_ack.ui -o ui_inj_control_block_ack.h
+
+ui_tid.h: tid.ui
+ /usr/lib/qt4/bin/uic tid.ui -o ui_tid.h
+
+ui_inj_control_reserved.h: inj_control_reserved.ui
+ /usr/lib/qt4/bin/uic inj_control_reserved.ui -o ui_inj_control_reserved.h
+
+ui_ba_bar_ctrl_field.h: ba_bar_ctrl_field.ui
+ /usr/lib/qt4/bin/uic ba_bar_ctrl_field.ui -o ui_ba_bar_ctrl_field.h
+
+ui_ba_info_field.h: ba_info_field.ui
+ /usr/lib/qt4/bin/uic ba_info_field.ui -o ui_ba_info_field.h
+
+ui_qos_control.h: qos_control.ui
+ /usr/lib/qt4/bin/uic qos_control.ui -o ui_qos_control.h
+
+ui_inj_data_reserved.h: inj_data_reserved.ui
+ /usr/lib/qt4/bin/uic inj_data_reserved.ui -o ui_inj_data_reserved.h
+
+ui_inj_mgmt_reserved.h: inj_mgmt_reserved.ui
+ /usr/lib/qt4/bin/uic inj_mgmt_reserved.ui -o ui_inj_mgmt_reserved.h
+
+ui_ht_control.h: ht_control.ui
+ /usr/lib/qt4/bin/uic ht_control.ui -o ui_ht_control.h
+
+ui_a_mpdu_parameter.h: a_mpdu_parameter.ui
+ /usr/lib/qt4/bin/uic a_mpdu_parameter.ui -o ui_a_mpdu_parameter.h
+
+ui_bss_coexistence.h: bss_coexistence.ui
+ /usr/lib/qt4/bin/uic bss_coexistence.ui -o ui_bss_coexistence.h
+
+ui_ht_capability_info.h: ht_capability_info.ui
+ /usr/lib/qt4/bin/uic ht_capability_info.ui -o ui_ht_capability_info.h
+
+ui_supported_mcs_set.h: supported_mcs_set.ui
+ /usr/lib/qt4/bin/uic supported_mcs_set.ui -o ui_supported_mcs_set.h
+
+ui_ht_extented_capability.h: ht_extented_capability.ui
+ /usr/lib/qt4/bin/uic ht_extented_capability.ui -o ui_ht_extented_capability.h
+
+ui_transmit_beamforming_cap.h: transmit_beamforming_cap.ui
+ /usr/lib/qt4/bin/uic transmit_beamforming_cap.ui -o ui_transmit_beamforming_cap.h
+
+ui_asel_capability.h: asel_capability.ui
+ /usr/lib/qt4/bin/uic asel_capability.ui -o ui_asel_capability.h
+
+ui_qos_capability.h: qos_capability.ui
+ /usr/lib/qt4/bin/uic qos_capability.ui -o ui_qos_capability.h
+
+ui_ht_information.h: ht_information.ui
+ /usr/lib/qt4/bin/uic ht_information.ui -o ui_ht_information.h
+
+ui_overlapping_bss.h: overlapping_bss.ui
+ /usr/lib/qt4/bin/uic overlapping_bss.ui -o ui_overlapping_bss.h
+
+compiler_yacc_decl_make_all:
+compiler_yacc_decl_clean:
+compiler_yacc_impl_make_all:
+compiler_yacc_impl_clean:
+compiler_lex_make_all:
+compiler_lex_clean:
+compiler_clean: compiler_moc_header_clean compiler_uic_clean
+
+####### Compile
+
+main.o: main.cpp wmeter_main_window.h \
+ inj_data_dataframe.h \
+ inj_data_qos_data.h \
+ inj_mgmt_asso_req.h \
+ inj_mgmt_asso_res.h \
+ inj_mgmt_reasso_req.h \
+ inj_mgmt_reasso_res.h \
+ inj_mgmt_probe_req.h \
+ inj_mgmt_probe_res.h \
+ supported_rate.h \
+ capability_tos.h \
+ ip_header.h \
+ ip_address.h \
+ qos_control.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
+
+wmeter_main_window.o: wmeter_main_window.cpp wmeter_main_window.h \
+ ui_wmeter_main_window.h \
+ inj_control_cts.h \
+ inj_control_rts.h \
+ inj_control_ack.h \
+ inj_control_pspoll.h \
+ inj_control_cf_end.h \
+ inj_control_cf_end_cf_ack.h \
+ inj_control_block_ack.h \
+ inj_control_block_ack_request.h \
+ inj_control_reserved.h \
+ inj_data_dataframe.h \
+ inj_data_qos_data.h \
+ inj_mgmt_asso_req.h \
+ inj_mgmt_asso_res.h \
+ inj_mgmt_reasso_req.h \
+ inj_mgmt_reasso_res.h \
+ inj_mgmt_probe_req.h \
+ inj_mgmt_probe_res.h \
+ inj_mgmt_beacon.h \
+ inj_mgmt_disasso.h \
+ inj_mgmt_authen.h \
+ inj_mgmt_deauthen.h \
+ inj_data_reserved.h \
+ inj_mgmt_reserved.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wmeter_main_window.o wmeter_main_window.cpp
+
+inj_control_rts.o: inj_control_rts.cpp inj_control_rts.h \
+ ui_inj_control_rts.h \
+ wmeter_main_window.h \
+ framecontrol.h \
+ nav.h \
+ address.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o inj_control_rts.o inj_control_rts.cpp
+
+inj_control_cts.o: inj_control_cts.cpp inj_control_cts.h \
+ ui_inj_control_cts.h \
+ wmeter_main_window.h \
+ framecontrol.h \
+ nav.h \
+ address.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o inj_control_cts.o inj_control_cts.cpp
+
+inj_control_ack.o: inj_control_ack.cpp inj_control_ack.h \
+ ui_inj_control_ack.h \
+ wmeter_main_window.h \
+ framecontrol.h \
+ nav.h \
+ address.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o inj_control_ack.o inj_control_ack.cpp
+
+framecontrol.o: framecontrol.cpp framecontrol.h \
+ ui_framecontrol.h \
+ inj_control_ack.h \
+ inj_control_cts.h \
+ inj_control_rts.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o framecontrol.o framecontrol.cpp
+
+nav.o: nav.cpp nav.h \
+ ui_nav.h \
+ inj_control_ack.h \
+ inj_control_cts.h \
+ inj_control_rts.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o nav.o nav.cpp
+
+address.o: address.cpp address.h \
+ ui_address.h \
+ inj_control_ack.h \
+ inj_control_cts.h \
+ inj_control_rts.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o address.o address.cpp
+
+inj_data_dataframe.o: inj_data_dataframe.cpp inj_data_dataframe.h \
+ ui_inj_data_dataframe.h \
+ wmeter_main_window.h \
+ framecontrol.h \
+ nav.h \
+ address.h \
+ sequence_ctrl.h \
+ capability_tos.h \
+ ip_header.h \
+ payload.h \
+ ht_control.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o inj_data_dataframe.o inj_data_dataframe.cpp
+
+inj_data_qos_data.o: inj_data_qos_data.cpp inj_data_qos_data.h \
+ ui_inj_data_qos_data.h \
+ wmeter_main_window.h \
+ framecontrol.h \
+ nav.h \
+ address.h \
+ sequence_ctrl.h \
+ payload.h \
+ eosp.h \
+ txop.h \
+ ip_header.h \
+ qos_control.h \
+ ht_control.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o inj_data_qos_data.o inj_data_qos_data.cpp
+
+inj_mgmt_asso_req.o: inj_mgmt_asso_req.cpp inj_mgmt_asso_req.h \
+ ui_inj_mgmt_asso_req.h \
+ wmeter_main_window.h \
+ framecontrol.h \
+ nav.h \
+ address.h \
+ sequence_ctrl.h \
+ capability_info.h \
+ ssid.h \
+ supported_rate.h \
+ extended_rate.h \
+ listen_interval.h \
+ bss_coexistence.h \
+ qos_capability.h \
+ ht_capability_info.h \
+ a_mpdu_parameter.h \
+ supported_mcs_set.h \
+ ht_extented_capability.h \
+ transmit_beamforming_cap.h \
+ asel_capability.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o inj_mgmt_asso_req.o inj_mgmt_asso_req.cpp
+
+inj_mgmt_asso_res.o: inj_mgmt_asso_res.cpp inj_mgmt_asso_res.h \
+ ui_inj_mgmt_asso_res.h \
+ wmeter_main_window.h \
+ framecontrol.h \
+ nav.h \
+ address.h \
+ sequence_ctrl.h \
+ capability_tos.h \
+ ssid.h \
+ supported_rate.h \
+ extended_rate.h \
+ status_code.h \
+ capability_info.h \
+ bss_coexistence.h \
+ qos_capability.h \
+ ht_capability_info.h \
+ a_mpdu_parameter.h \
+ supported_mcs_set.h \
+ ht_extented_capability.h \
+ transmit_beamforming_cap.h \
+ asel_capability.h \
+ ht_information.h \
+ overlapping_bss.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o inj_mgmt_asso_res.o inj_mgmt_asso_res.cpp
+
+inj_mgmt_reasso_req.o: inj_mgmt_reasso_req.cpp inj_mgmt_reasso_req.h \
+ ui_inj_mgmt_reasso_req.h \
+ wmeter_main_window.h \
+ framecontrol.h \
+ nav.h \
+ address.h \
+ sequence_ctrl.h \
+ capability_info.h \
+ capability_tos.h \
+ ssid.h \
+ supported_rate.h \
+ extended_rate.h \
+ ip_address.h \
+ listen_interval.h \
+ qos_capability.h \
+ ht_capability_info.h \
+ a_mpdu_parameter.h \
+ supported_mcs_set.h \
+ ht_extented_capability.h \
+ transmit_beamforming_cap.h \
+ asel_capability.h \
+ bss_coexistence.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o inj_mgmt_reasso_req.o inj_mgmt_reasso_req.cpp
+
+inj_mgmt_reasso_res.o: inj_mgmt_reasso_res.cpp inj_mgmt_reasso_res.h \
+ ui_inj_mgmt_reasso_res.h \
+ wmeter_main_window.h \
+ framecontrol.h \
+ nav.h \
+ address.h \
+ sequence_ctrl.h \
+ capability_tos.h \
+ ssid.h \
+ supported_rate.h \
+ extended_rate.h \
+ status_code.h \
+ capability_info.h \
+ bss_coexistence.h \
+ qos_capability.h \
+ ht_capability_info.h \
+ a_mpdu_parameter.h \
+ supported_mcs_set.h \
+ ht_extented_capability.h \
+ transmit_beamforming_cap.h \
+ asel_capability.h \
+ ht_information.h \
+ overlapping_bss.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o inj_mgmt_reasso_res.o inj_mgmt_reasso_res.cpp
+
+inj_mgmt_probe_req.o: inj_mgmt_probe_req.cpp inj_mgmt_probe_req.h \
+ ui_inj_mgmt_probe_req.h \
+ wmeter_main_window.h \
+ framecontrol.h \
+ nav.h \
+ address.h \
+ sequence_ctrl.h \
+ capability_info.h \
+ capability_tos.h \
+ ssid.h \
+ supported_rate.h \
+ extended_rate.h \
+ listen_interval.h \
+ bss_coexistence.h \
+ qos_capability.h \
+ ht_capability_info.h \
+ a_mpdu_parameter.h \
+ supported_mcs_set.h \
+ ht_extented_capability.h \
+ transmit_beamforming_cap.h \
+ asel_capability.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o inj_mgmt_probe_req.o inj_mgmt_probe_req.cpp
+
+inj_mgmt_probe_res.o: inj_mgmt_probe_res.cpp inj_mgmt_probe_res.h \
+ ui_inj_mgmt_probe_res.h \
+ wmeter_main_window.h \
+ framecontrol.h \
+ nav.h \
+ address.h \
+ sequence_ctrl.h \
+ capability_info.h \
+ capability_tos.h \
+ ssid.h \
+ supported_rate.h \
+ extended_rate.h \
+ listen_interval.h \
+ time_stamp.h \
+ beacon_interval.h \
+ erp_info.h \
+ bss_coexistence.h \
+ qos_capability.h \
+ ht_capability_info.h \
+ a_mpdu_parameter.h \
+ supported_mcs_set.h \
+ ht_extented_capability.h \
+ transmit_beamforming_cap.h \
+ asel_capability.h \
+ ht_information.h \
+ overlapping_bss.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o inj_mgmt_probe_res.o inj_mgmt_probe_res.cpp
+
+inj_mgmt_beacon.o: inj_mgmt_beacon.cpp inj_mgmt_beacon.h \
+ ui_inj_mgmt_beacon.h \
+ wmeter_main_window.h \
+ framecontrol.h \
+ nav.h \
+ address.h \
+ sequence_ctrl.h \
+ capability_tos.h \
+ ssid.h \
+ supported_rate.h \
+ extended_rate.h \
+ status_code.h \
+ capability_info.h \
+ time_stamp.h \
+ beacon_interval.h \
+ erp_info.h \
+ parameter_set.h \
+ bitmap_control.h \
+ dtim.h \
+ bss_coexistence.h \
+ qos_capability.h \
+ ht_capability_info.h \
+ a_mpdu_parameter.h \
+ supported_mcs_set.h \
+ ht_extented_capability.h \
+ transmit_beamforming_cap.h \
+ asel_capability.h \
+ ht_information.h \
+ overlapping_bss.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o inj_mgmt_beacon.o inj_mgmt_beacon.cpp
+
+inj_mgmt_disasso.o: inj_mgmt_disasso.cpp inj_mgmt_disasso.h \
+ ui_inj_mgmt_disasso.h \
+ wmeter_main_window.h \
+ framecontrol.h \
+ nav.h \
+ address.h \
+ sequence_ctrl.h \
+ reason_code.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o inj_mgmt_disasso.o inj_mgmt_disasso.cpp
+
+inj_mgmt_authen.o: inj_mgmt_authen.cpp inj_mgmt_authen.h \
+ ui_inj_mgmt_authen.h \
+ auth_status_code.h \
+ wmeter_main_window.h \
+ framecontrol.h \
+ nav.h \
+ address.h \
+ sequence_ctrl.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o inj_mgmt_authen.o inj_mgmt_authen.cpp
+
+inj_mgmt_deauthen.o: inj_mgmt_deauthen.cpp inj_mgmt_deauthen.h \
+ ui_inj_mgmt_deauthen.h \
+ wmeter_main_window.h \
+ framecontrol.h \
+ nav.h \
+ address.h \
+ sequence_ctrl.h \
+ reason_code.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o inj_mgmt_deauthen.o inj_mgmt_deauthen.cpp
+
+supported_rate.o: supported_rate.cpp supported_rate.h \
+ ui_supported_rate.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o supported_rate.o supported_rate.cpp
+
+ssid.o: ssid.cpp ssid.h \
+ ui_ssid.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ssid.o ssid.cpp
+
+sequence_ctrl.o: sequence_ctrl.cpp sequence_ctrl.h \
+ ui_sequence_ctrl.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o sequence_ctrl.o sequence_ctrl.cpp
+
+ip_header.o: ip_header.cpp ip_header.h \
+ ui_ip_header.h
+ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ip_header.o ip_hea...
[truncated message content] |
|
From: <sat...@us...> - 2010-04-01 12:43:08
|
Revision: 250
http://w-meter.svn.sourceforge.net/w-meter/?rev=250&view=rev
Author: sathakselva
Date: 2010-04-01 12:43:00 +0000 (Thu, 01 Apr 2010)
Log Message:
-----------
Instead of pointer, memcpy function is used in control frames
Modified Paths:
--------------
frame_injection_g/trunk/src/control_pspoll_cpp.cpp
frame_injection_g/trunk/src/control_pspoll_cpp.h
frame_injection_g/trunk/src/data_dataframe_cpp.cpp
frame_injection_g/trunk/src/data_dataframe_cpp.h
frame_injection_g/trunk/src/data_qos_data_cpp.cpp
frame_injection_g/trunk/src/inj_control_ack_cpp.cpp
frame_injection_g/trunk/src/inj_control_ack_cpp.h
frame_injection_g/trunk/src/inj_control_cts_cpp.cpp
frame_injection_g/trunk/src/inj_control_cts_cpp.h
frame_injection_g/trunk/src/inj_control_form_cpp.cpp
frame_injection_g/trunk/src/inj_control_form_cpp.h
frame_injection_g/trunk/src/mac_80211.cpp
frame_injection_g/trunk/src/mac_80211.h
frame_injection_g/trunk/src/mgmt_asso_req_cpp.cpp
Modified: frame_injection_g/trunk/src/control_pspoll_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/control_pspoll_cpp.cpp 2010-03-29 15:24:59 UTC (rev 249)
+++ frame_injection_g/trunk/src/control_pspoll_cpp.cpp 2010-04-01 12:43:00 UTC (rev 250)
@@ -36,64 +36,62 @@
uint16_t global_pspoll_flag = 0;
char default_pspoll_file[] = "default_pspoll";
-control_pspoll_cpp::control_pspoll_cpp(QWidget* parent, const char* name, WFlags fl)
- : inj_control_pspoll(parent, name, fl)
+control_pspoll_cpp::control_pspoll_cpp (QWidget* parent, const char* name, WFlags fl)
+ : inj_control_pspoll (parent, name, fl)
{
FILE *file1;
char frame1[2], frame2[2], frame3[2], frame4[2], frame5[2], frame6[2], frame7[2], frame8[2], frame9[2], frame10[2], frame11[2], frame12[2], frame13[2], frame14[2], frame15[2], frame16[2], asso_id[5], add1[3], add2[3], add3[3], add4[3], add5[3], add6[3], add7[3], add8[3], add9[3], add10[3], add11[3], add12[3];
- file1 = fopen(default_pspoll_file, "r");
+ file1 = fopen (default_pspoll_file, "r");
if (file1 == NULL)
{
/* Cannot open. Load form with initial values */
- KMessageBox::error(this, "Unable to open file. Loading initial values");
+ KMessageBox::error (this, "Unable to open file. Loading initial values");
reset_ps_poll();
}
else
{
/* Read values from file and set in the form */
- while (fscanf(file1, "%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s", &frame1[0], &frame2[0], &frame3[0], &frame4[0], &frame5[0], &frame6[0], &frame7[0], &frame8[0], &frame9[0], &frame10[0], &frame11[0], &frame12[0], &frame13[0], &frame14[0], &frame15[0], &frame16[0], &asso_id[0], &add1[0], &add2[0], &add3[0], &add4[0], &add5[0], &add6[0], &add7[0], &add8[0], &add9[0], &add10[0], &add11[0], &add12[0]) != EOF)
+ while (fscanf (file1, "%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s", &frame1[0], &frame2[0], &frame3[0], &frame4[0], &frame5[0], &frame6[0], &frame7[0], &frame8[0], &frame9[0], &frame10[0], &frame11[0], &frame12[0], &frame13[0], &frame14[0], &frame15[0], &frame16[0], &asso_id[0], &add1[0], &add2[0], &add3[0], &add4[0], &add5[0], &add6[0], &add7[0], &add8[0], &add9[0], &add10[0], &add11[0], &add12[0]) != EOF)
{
+ lineedit_frame_1->setText (frame1);
+ lineedit_frame_2->setText (frame2);
+ lineedit_frame_3->setText (frame3);
+ lineedit_frame_4->setText (frame4);
+ lineedit_frame_5->setText (frame5);
+ lineedit_frame_6->setText (frame6);
+ lineedit_frame_7->setText (frame7);
+ lineedit_frame_8->setText (frame8);
+ lineedit_frame_9->setText (frame9);
+ lineedit_frame_10->setText (frame10);
+ lineedit_frame_11->setText (frame11);
+ lineedit_frame_12->setText (frame12);
+ lineedit_frame_13->setText (frame13);
+ lineedit_frame_14->setText (frame14);
+ lineedit_frame_15->setText (frame15);
+ lineedit_frame_16->setText (frame16);
- lineedit_frame_1->setText(frame1);
- lineedit_frame_2->setText(frame2);
- lineedit_frame_3->setText(frame3);
- lineedit_frame_4->setText(frame4);
- lineedit_frame_5->setText(frame5);
- lineedit_frame_6->setText(frame6);
- lineedit_frame_7->setText(frame7);
- lineedit_frame_8->setText(frame8);
- lineedit_frame_9->setText(frame9);
- lineedit_frame_10->setText(frame10);
- lineedit_frame_11->setText(frame11);
- lineedit_frame_12->setText(frame12);
- lineedit_frame_13->setText(frame13);
- lineedit_frame_14->setText(frame14);
- lineedit_frame_15->setText(frame15);
- lineedit_frame_16->setText(frame16);
+ lineedit_asso_id->setText (asso_id);
- lineedit_asso_id->setText(asso_id);
+ lineedit_address1_1->setText (add1);
+ lineedit_address1_2->setText (add2);
+ lineedit_address1_3->setText (add3);
+ lineedit_address1_4->setText (add4);
+ lineedit_address1_5->setText (add5);
+ lineedit_address1_6->setText (add6);
- lineedit_address1_1->setText(add1);
- lineedit_address1_2->setText(add2);
- lineedit_address1_3->setText(add3);
- lineedit_address1_4->setText(add4);
- lineedit_address1_5->setText(add5);
- lineedit_address1_6->setText(add6);
-
- lineedit_address2_1->setText(add7);
- lineedit_address2_2->setText(add8);
- lineedit_address2_3->setText(add9);
- lineedit_address2_4->setText(add10);
- lineedit_address2_5->setText(add11);
- lineedit_address2_6->setText(add12);
+ lineedit_address2_1->setText (add7);
+ lineedit_address2_2->setText (add8);
+ lineedit_address2_3->setText (add9);
+ lineedit_address2_4->setText (add10);
+ lineedit_address2_5->setText (add11);
+ lineedit_address2_6->setText (add12);
}
-
- fclose(file1);
+ fclose (file1);
}
- pspoll_run_button->setEnabled(1);
+ pspoll_run_button->setEnabled (1);
}
control_pspoll_cpp::~control_pspoll_cpp()
@@ -103,7 +101,7 @@
/*$SPECIALIZATION$*/
void control_pspoll_cpp::pspoll_main_win() //Event invoked after pressing Main_win push button
{
- pspoll_run_button->setEnabled(1);
+ pspoll_run_button->setEnabled (1);
close();
}
@@ -111,7 +109,7 @@
void control_pspoll_cpp::pspoll_clear_click()
{
reset_ps_poll();
- pspoll_run_button->setEnabled(1);
+ pspoll_run_button->setEnabled (1);
}
void control_pspoll_cpp::pspoll_run_click() //Event invoked after pressing Run push button
@@ -136,31 +134,33 @@
lineedit_testid->clear();
}
else
- QMessageBox::critical(this, tr("Error"), tr("Test ID is empty"));
+ QMessageBox::critical (this, tr ("Error"), tr ("Test ID is empty"));
}
void control_pspoll_cpp::func_pspoll_hex_convertion()
{
mac_80211 mac;
+ unsigned char *frame = &msg[0];
+ int frame_len, pos = 0;
bool ok;
//Qvalidator initialization
- QRegExp rx("[0-9A-Fa-f]{2}");
- QRegExpValidator v(rx, this);
+ QRegExp rx ("[0-9A-Fa-f]{2}");
+ QRegExpValidator v (rx, this);
- lineedit_address1_1->setValidator(&v);
- lineedit_address1_2->setValidator(&v);
- lineedit_address1_3->setValidator(&v);
- lineedit_address1_4->setValidator(&v);
- lineedit_address1_5->setValidator(&v);
- lineedit_address1_6->setValidator(&v);
- lineedit_address2_1->setValidator(&v);
- lineedit_address2_2->setValidator(&v);
- lineedit_address2_3->setValidator(&v);
- lineedit_address2_4->setValidator(&v);
- lineedit_address2_5->setValidator(&v);
- lineedit_address2_6->setValidator(&v);
+ lineedit_address1_1->setValidator (&v);
+ lineedit_address1_2->setValidator (&v);
+ lineedit_address1_3->setValidator (&v);
+ lineedit_address1_4->setValidator (&v);
+ lineedit_address1_5->setValidator (&v);
+ lineedit_address1_6->setValidator (&v);
+ lineedit_address2_1->setValidator (&v);
+ lineedit_address2_2->setValidator (&v);
+ lineedit_address2_3->setValidator (&v);
+ lineedit_address2_4->setValidator (&v);
+ lineedit_address2_5->setValidator (&v);
+ lineedit_address2_6->setValidator (&v);
// address fields values to local variable
QString add1_1 = lineedit_address1_1->text();
@@ -176,21 +176,20 @@
QString add2_5 = lineedit_address2_5->text();
QString add2_6 = lineedit_address2_6->text();
- int pos = 0;
// validating fields
- if ((v.validate(add1_1, pos) != 0) &&
- (v.validate(add1_2, pos) != 0) &&
- (v.validate(add1_3, pos) != 0) &&
- (v.validate(add1_4, pos) != 0) &&
- (v.validate(add1_5, pos) != 0) &&
- (v.validate(add1_6, pos) != 0) &&
- (v.validate(add2_1, pos) != 0) &&
- (v.validate(add2_2, pos) != 0) &&
- (v.validate(add2_3, pos) != 0) &&
- (v.validate(add2_4, pos) != 0) &&
- (v.validate(add2_5, pos) != 0) &&
- (v.validate(add2_6, pos) != 0))
+ if ( (v.validate (add1_1, pos) != 0) &&
+ (v.validate (add1_2, pos) != 0) &&
+ (v.validate (add1_3, pos) != 0) &&
+ (v.validate (add1_4, pos) != 0) &&
+ (v.validate (add1_5, pos) != 0) &&
+ (v.validate (add1_6, pos) != 0) &&
+ (v.validate (add2_1, pos) != 0) &&
+ (v.validate (add2_2, pos) != 0) &&
+ (v.validate (add2_3, pos) != 0) &&
+ (v.validate (add2_4, pos) != 0) &&
+ (v.validate (add2_5, pos) != 0) &&
+ (v.validate (add2_6, pos) != 0))
{
// validating frame control field values
@@ -201,13 +200,13 @@
{
if (lineedit_asso_id->text() != "") //validating asso field
{
- uint8_t frame_ctrl[2] = { 0X00, 0x00 };
+ uint8_t frame_ctrl[2], addr1[MAC_ADDRESS_LEN], addr2[MAC_ADDRESS_LEN];
// Form Frame control
- frame_ctrl[0] = mac.bits_to_byte(lineedit_frame_1->text(), lineedit_frame_2->text(), lineedit_frame_3->text(), lineedit_frame_4->text(), lineedit_frame_5->text(), lineedit_frame_6->text(), lineedit_frame_7->text(), lineedit_frame_8->text());
+ frame_ctrl[0] = mac.bits_to_byte (lineedit_frame_1->text(), lineedit_frame_2->text(), lineedit_frame_3->text(), lineedit_frame_4->text(), lineedit_frame_5->text(), lineedit_frame_6->text(), lineedit_frame_7->text(), lineedit_frame_8->text());
// Form Frame control (flags)
- frame_ctrl[1] = mac.bits_to_byte(lineedit_frame_9->text(), lineedit_frame_10->text(), lineedit_frame_11->text(), lineedit_frame_12->text(), lineedit_frame_13->text(), lineedit_frame_14->text(), lineedit_frame_15->text(), lineedit_frame_16->text());
+ frame_ctrl[1] = mac.bits_to_byte (lineedit_frame_9->text(), lineedit_frame_10->text(), lineedit_frame_11->text(), lineedit_frame_12->text(), lineedit_frame_13->text(), lineedit_frame_14->text(), lineedit_frame_15->text(), lineedit_frame_16->text());
uint16_t i, asso_id = lineedit_asso_id->text().toInt();
uint8_t asso_char[2];
@@ -215,72 +214,51 @@
asso_id = asso_id | 0X0c00;
for (i = 0;i < 2;i++)
- asso_char[i] = *(((unsigned char*) & asso_id) + i);
+ asso_char[i] = * ( ( (unsigned char*) & asso_id) + i);
// convert the MAC address to hex values and store it in a local variable
- uint8_t addr1_1 = (unsigned char) lineedit_address1_1->text().toInt(&ok , 16);
+ addr1[0] = (unsigned char) lineedit_address1_1->text().toInt (&ok , 16);
+ addr1[1] = (unsigned char) lineedit_address1_2->text().toInt (&ok , 16);
+ addr1[2] = (unsigned char) lineedit_address1_3->text().toInt (&ok , 16);
+ addr1[3] = (unsigned char) lineedit_address1_4->text().toInt (&ok , 16);
+ addr1[4] = (unsigned char) lineedit_address1_5->text().toInt (&ok , 16);
+ addr1[5] = (unsigned char) lineedit_address1_6->text().toInt (&ok , 16);
- uint8_t addr1_2 = (unsigned char) lineedit_address1_2->text().toInt(&ok , 16);
+ addr2[0] = (unsigned char) lineedit_address2_1->text().toInt (&ok , 16);
+ addr2[1] = (unsigned char) lineedit_address2_2->text().toInt (&ok , 16);
+ addr2[2] = (unsigned char) lineedit_address2_3->text().toInt (&ok , 16);
+ addr2[3] = (unsigned char) lineedit_address2_4->text().toInt (&ok , 16);
+ addr2[4] = (unsigned char) lineedit_address2_5->text().toInt (&ok , 16);
+ addr2[5] = (unsigned char) lineedit_address2_6->text().toInt (&ok , 16);
- uint8_t addr1_3 = (unsigned char) lineedit_address1_3->text().toInt(&ok , 16);
+ memcpy (frame, &frame_ctrl, sizeof (frame_ctrl));
+ frame += sizeof (frame_ctrl);
- uint8_t addr1_4 = (unsigned char) lineedit_address1_4->text().toInt(&ok , 16);
+ memcpy (frame, &asso_char, sizeof (asso_char));
+ frame += sizeof (asso_char);
- uint8_t addr1_5 = (unsigned char) lineedit_address1_5->text().toInt(&ok , 16);
+ memcpy (frame, &addr1, MAC_ADDRESS_LEN);
+ frame += MAC_ADDRESS_LEN;
- uint8_t addr1_6 = (unsigned char) lineedit_address1_6->text().toInt(&ok , 16);
+ memcpy (frame, &addr2, MAC_ADDRESS_LEN);
+ frame += MAC_ADDRESS_LEN;
- uint8_t addr2_1 = (unsigned char) lineedit_address2_1->text().toInt(&ok , 16);
-
- uint8_t addr2_2 = (unsigned char) lineedit_address2_2->text().toInt(&ok , 16);
-
- uint8_t addr2_3 = (unsigned char) lineedit_address2_3->text().toInt(&ok , 16);
-
- uint8_t addr2_4 = (unsigned char) lineedit_address2_4->text().toInt(&ok , 16);
-
- uint8_t addr2_5 = (unsigned char) lineedit_address2_5->text().toInt(&ok , 16);
-
- uint8_t addr2_6 = (unsigned char) lineedit_address2_6->text().toInt(&ok , 16);
-
- //values initializing in a dynamic array
- uint8_t control_header_arr[] =
- {
- frame_ctrl[0],
- frame_ctrl[1],
- asso_char[0],
- asso_char[1],
- addr1_1,
- addr1_2,
- addr1_3,
- addr1_4,
- addr1_5,
- addr1_6,
- addr2_1,
- addr2_2,
- addr2_3,
- addr2_4,
- addr2_5,
- addr2_6
- };
-
- uint16_t frame_len = sizeof(control_header_arr) / sizeof(unsigned char);
-
+ frame_len = frame - &msg[0];
int file_exists = 0;
switch (global_pspoll_flag)
{
-
case 1:
{
static injection_main_cpp *obj = new injection_main_cpp();
- obj->func_call(control_header_arr, frame_len);
- pspoll_run_button->setEnabled(0);
+ obj->func_call (msg, frame_len);
+ pspoll_run_button->setEnabled (0);
break;
}
case 2:
{
- save_in_txt(default_pspoll_file);
+ save_in_txt (default_pspoll_file);
break;
}
@@ -290,109 +268,107 @@
char save_file[15] = "TestId_";
char hex_file[15], txt_file[15];
- strcat(&save_file[0], test_id.latin1());
- strcpy(&hex_file[0], &save_file[0]);
- strcpy(&txt_file[0], &save_file[0]);
- strcat(&hex_file[0], ".hex");
- strcat(&txt_file[0], ".txt");
+ strcat (&save_file[0], test_id.latin1());
+ strcpy (&hex_file[0], &save_file[0]);
+ strcpy (&txt_file[0], &save_file[0]);
+ strcat (&hex_file[0], ".hex");
+ strcat (&txt_file[0], ".txt");
- if (QFile::exists(&hex_file[0]) &&
- QMessageBox::question(this, tr("Overwrite File?"),
- tr("%1 : Already exists. Do you want to overwrite it?")
- .arg(&hex_file[0]),
- tr("&Yes"), tr("&No"), QString::null, 0, 1))
+ if (QFile::exists (&hex_file[0]) &&
+ QMessageBox::question (this, tr ("Overwrite File?"),
+ tr ("%1 : Already exists. Do you want to overwrite it?")
+ .arg (&hex_file[0]),
+ tr ("&Yes"), tr ("&No"), QString::null, 0, 1))
{
file_exists = 1;
}
if (file_exists != 1)
{
- mac.save_in_hex(&hex_file[0], control_header_arr, frame_len);
+ mac.save_in_hex (&hex_file[0], msg, frame_len);
file_exists = 0;
}
- if (QFile::exists(&txt_file[0]) &&
- QMessageBox::question(this, tr("Overwrite File?"),
- tr("%1 : Already exists. Do you want to overwrite it?")
- .arg(&txt_file[0]),
- tr("&Yes"), tr("&No"),
- QString::null, 0, 1))
+ if (QFile::exists (&txt_file[0]) &&
+ QMessageBox::question (this, tr ("Overwrite File?"),
+ tr ("%1 : Already exists. Do you want to overwrite it?")
+ .arg (&txt_file[0]),
+ tr ("&Yes"), tr ("&No"),
+ QString::null, 0, 1))
{
file_exists = 1;
}
if (file_exists != 1)
{
- save_in_txt(&txt_file[0]);
- QMessageBox::about(this,
- tr("Template Saved"),
- tr("Template saved successfully"));
+ save_in_txt (&txt_file[0]);
+ QMessageBox::about (this, tr ("Template Saved"),
+ tr ("Template saved successfully"));
}
-
break;
}
}
}
else
- KMessageBox::error(this, "Invalid Association ID");
+ KMessageBox::error (this, "Invalid Association ID");
}
else
- KMessageBox::error(this, "Check the Address fields");
+ KMessageBox::error (this, "Check the Address fields");
}
else
- KMessageBox::error(this, "Check the frame field values");
+ KMessageBox::error (this, "Check the frame field values");
}
else
- KMessageBox::error(this, "Hexa decimal values only allowed in address field");
+ KMessageBox::error (this, "Hexa decimal values only allowed in address field");
}
void control_pspoll_cpp::reset_ps_poll()
{
- lineedit_frame_1->setText("0");
- lineedit_frame_2->setText("0");
- lineedit_frame_3->setText("1");
- lineedit_frame_4->setText("0");
- lineedit_frame_5->setText("0");
- lineedit_frame_6->setText("1");
- lineedit_frame_7->setText("0");
- lineedit_frame_8->setText("1");
+ lineedit_frame_1->setText ("0");
+ lineedit_frame_2->setText ("0");
+ lineedit_frame_3->setText ("1");
+ lineedit_frame_4->setText ("0");
+ lineedit_frame_5->setText ("0");
+ lineedit_frame_6->setText ("1");
+ lineedit_frame_7->setText ("0");
+ lineedit_frame_8->setText ("1");
- lineedit_frame_9->setText("0");
- lineedit_frame_10->setText("0");
- lineedit_frame_11->setText("0");
- lineedit_frame_12->setText("0");
- lineedit_frame_13->setText("0");
- lineedit_frame_14->setText("0");
- lineedit_frame_15->setText("0");
- lineedit_frame_16->setText("0");
- lineedit_asso_id->setText("0");
+ lineedit_frame_9->setText ("0");
+ lineedit_frame_10->setText ("0");
+ lineedit_frame_11->setText ("0");
+ lineedit_frame_12->setText ("0");
+ lineedit_frame_13->setText ("0");
+ lineedit_frame_14->setText ("0");
+ lineedit_frame_15->setText ("0");
+ lineedit_frame_16->setText ("0");
- lineedit_asso_id->setText("0");
- lineedit_address1_1->setText("FF");
- lineedit_address1_2->setText("FF");
- lineedit_address1_3->setText("FF");
- lineedit_address1_4->setText("FF");
- lineedit_address1_5->setText("FF");
- lineedit_address1_6->setText("FF");
+ lineedit_asso_id->setText ("0");
- lineedit_address2_1->setText("FF");
- lineedit_address2_2->setText("FF");
- lineedit_address2_3->setText("FF");
- lineedit_address2_4->setText("FF");
- lineedit_address2_5->setText("FF");
- lineedit_address2_6->setText("FF");
+ lineedit_address1_1->setText ("FF");
+ lineedit_address1_2->setText ("FF");
+ lineedit_address1_3->setText ("FF");
+ lineedit_address1_4->setText ("FF");
+ lineedit_address1_5->setText ("FF");
+ lineedit_address1_6->setText ("FF");
+
+ lineedit_address2_1->setText ("FF");
+ lineedit_address2_2->setText ("FF");
+ lineedit_address2_3->setText ("FF");
+ lineedit_address2_4->setText ("FF");
+ lineedit_address2_5->setText ("FF");
+ lineedit_address2_6->setText ("FF");
}
-void control_pspoll_cpp::save_in_txt(char *file)
+void control_pspoll_cpp::save_in_txt (char *file)
{
FILE *fptr;
- fptr = fopen(file, "w");
+ fptr = fopen (file, "w");
if (fptr == NULL)
{
- KMessageBox::error(this, "Unable to open setup file");
- exit(1);
+ KMessageBox::error (this, "Unable to open setup file");
+ exit (1);
}
QString str_frm1 = lineedit_frame_1->text();
@@ -428,38 +404,38 @@
QString str_add2_5 = lineedit_address2_5->text();
QString str_add2_6 = lineedit_address2_6->text();
- fprintf(fptr, "%s\t", str_frm1.latin1());
- fprintf(fptr, "%s\t", str_frm2.latin1());
- fprintf(fptr, "%s\t", str_frm3.latin1());
- fprintf(fptr, "%s\t", str_frm4.latin1());
- fprintf(fptr, "%s\t", str_frm5.latin1());
- fprintf(fptr, "%s\t", str_frm6.latin1());
- fprintf(fptr, "%s\t", str_frm7.latin1());
- fprintf(fptr, "%s\t", str_frm8.latin1());
- fprintf(fptr, "%s\t", str_frm9.latin1());
- fprintf(fptr, "%s\t", str_frm10.latin1());
- fprintf(fptr, "%s\t", str_frm11.latin1());
- fprintf(fptr, "%s\t", str_frm12.latin1());
- fprintf(fptr, "%s\t", str_frm13.latin1());
- fprintf(fptr, "%s\t", str_frm14.latin1());
- fprintf(fptr, "%s\t", str_frm15.latin1());
- fprintf(fptr, "%s\t", str_frm16.latin1());
- fprintf(fptr, "%s\t", str_asso_id.latin1());
- fprintf(fptr, "%s\t", str_add1.latin1());
- fprintf(fptr, "%s\t", str_add2.latin1());
- fprintf(fptr, "%s\t", str_add3.latin1());
- fprintf(fptr, "%s\t", str_add4.latin1());
- fprintf(fptr, "%s\t", str_add5.latin1());
- fprintf(fptr, "%s\t", str_add6.latin1());
+ fprintf (fptr, "%s\t", str_frm1.latin1());
+ fprintf (fptr, "%s\t", str_frm2.latin1());
+ fprintf (fptr, "%s\t", str_frm3.latin1());
+ fprintf (fptr, "%s\t", str_frm4.latin1());
+ fprintf (fptr, "%s\t", str_frm5.latin1());
+ fprintf (fptr, "%s\t", str_frm6.latin1());
+ fprintf (fptr, "%s\t", str_frm7.latin1());
+ fprintf (fptr, "%s\t", str_frm8.latin1());
+ fprintf (fptr, "%s\t", str_frm9.latin1());
+ fprintf (fptr, "%s\t", str_frm10.latin1());
+ fprintf (fptr, "%s\t", str_frm11.latin1());
+ fprintf (fptr, "%s\t", str_frm12.latin1());
+ fprintf (fptr, "%s\t", str_frm13.latin1());
+ fprintf (fptr, "%s\t", str_frm14.latin1());
+ fprintf (fptr, "%s\t", str_frm15.latin1());
+ fprintf (fptr, "%s\t", str_frm16.latin1());
+ fprintf (fptr, "%s\t", str_asso_id.latin1());
+ fprintf (fptr, "%s\t", str_add1.latin1());
+ fprintf (fptr, "%s\t", str_add2.latin1());
+ fprintf (fptr, "%s\t", str_add3.latin1());
+ fprintf (fptr, "%s\t", str_add4.latin1());
+ fprintf (fptr, "%s\t", str_add5.latin1());
+ fprintf (fptr, "%s\t", str_add6.latin1());
- fprintf(fptr, "%s\t", str_add2_1.latin1());
- fprintf(fptr, "%s\t", str_add2_2.latin1());
- fprintf(fptr, "%s\t", str_add2_3.latin1());
- fprintf(fptr, "%s\t", str_add2_4.latin1());
- fprintf(fptr, "%s\t", str_add2_5.latin1());
- fprintf(fptr, "%s\t", str_add2_6.latin1());
+ fprintf (fptr, "%s\t", str_add2_1.latin1());
+ fprintf (fptr, "%s\t", str_add2_2.latin1());
+ fprintf (fptr, "%s\t", str_add2_3.latin1());
+ fprintf (fptr, "%s\t", str_add2_4.latin1());
+ fprintf (fptr, "%s\t", str_add2_5.latin1());
+ fprintf (fptr, "%s\t", str_add2_6.latin1());
- fclose(fptr);
+ fclose (fptr);
}
-#include "control_pspoll_cpp.moc"
+#include "control_pspoll_cpp.moc"
\ No newline at end of file
Modified: frame_injection_g/trunk/src/control_pspoll_cpp.h
===================================================================
--- frame_injection_g/trunk/src/control_pspoll_cpp.h 2010-03-29 15:24:59 UTC (rev 249)
+++ frame_injection_g/trunk/src/control_pspoll_cpp.h 2010-04-01 12:43:00 UTC (rev 250)
@@ -25,30 +25,23 @@
class control_pspoll_cpp : public inj_control_pspoll
{
- Q_OBJECT
+ Q_OBJECT
-public:
- control_pspoll_cpp(QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
- ~control_pspoll_cpp();
- /*$PUBLIC_FUNCTIONS$*/
+ public:
+ control_pspoll_cpp (QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
+ ~control_pspoll_cpp();
+ unsigned char msg[100];
-public slots:
- /*$PUBLIC_SLOTS$*/
- virtual void pspoll_main_win();
- virtual void pspoll_clear_click();
- virtual void pspoll_run_click();
- virtual void pspoll_save_click();
- virtual void pspoll_default_click();
- virtual void func_pspoll_hex_convertion();
- virtual void reset_ps_poll();
- virtual void save_in_txt(char *file);
-
-protected:
- /*$PROTECTED_FUNCTIONS$*/
-
-protected slots:
- /*$PROTECTED_SLOTS$*/
-
+ public slots:
+ /*$PUBLIC_SLOTS$*/
+ virtual void pspoll_main_win();
+ virtual void pspoll_clear_click();
+ virtual void pspoll_run_click();
+ virtual void pspoll_save_click();
+ virtual void pspoll_default_click();
+ virtual void func_pspoll_hex_convertion();
+ virtual void reset_ps_poll();
+ virtual void save_in_txt (char *);
};
#endif
Modified: frame_injection_g/trunk/src/data_dataframe_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/data_dataframe_cpp.cpp 2010-03-29 15:24:59 UTC (rev 249)
+++ frame_injection_g/trunk/src/data_dataframe_cpp.cpp 2010-04-01 12:43:00 UTC (rev 250)
@@ -54,7 +54,6 @@
{
while (fscanf (file1, "%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s", &frame1[0], &frame2[0], &frame3[0], &frame4[0], &frame5[0], &frame6[0], &frame7[0], &frame8[0], &frame9[0], &frame10[0], &frame11[0], &frame12[0], &frame13[0], &frame14[0], &frame15[0], &frame16[0], &nav[0], &add1_1[0], &add1_2[0], &add1_3[0], &add1_4[0], &add1_5[0], &add1_6[0], &add2_1[0], &add2_2[0], &add2_3[0], &add2_4[0], &add2_5[0], &add2_6[0], &add3_1[0], &add3_2[0], &add3_3[0], &add3_4[0], &add3_5[0], &add3_6[0], &fragno[0], &seqno[0], &msdu_size[0]) != EOF)
{
-
lineedit_frame_1->setText (frame1);
lineedit_frame_2->setText (frame2);
lineedit_frame_3->setText (frame3);
@@ -99,7 +98,6 @@
lineedit_seq_no->setText (seqno);
lineedit_msdu_size->setText (msdu_size);
}
-
fclose (file1);
}
@@ -119,11 +117,10 @@
if (radiobutton_user_defined->isChecked() == 1)
lineedit_payload->setEnabled (1);
else
- if (radiobutton_auto->isChecked() == 1)
- {
- lineedit_payload->setText ("");
- lineedit_payload->setEnabled (0);
- }
+ {
+ lineedit_payload->setText ("");
+ lineedit_payload->setEnabled (0);
+ }
}
@@ -181,7 +178,7 @@
{
mac_80211 mac;
unsigned char *frame = &msg[0];
- int frame_len;
+ int frame_len, pos = 0;
bool ok;
struct ip_header
@@ -197,8 +194,8 @@
unsigned char src_ip[4];
unsigned char dest_ip[4];
};
- struct ip_header ip_hdr;
-
+
+ struct ip_header ip_hdr;
//Qvalidator initialization
QRegExp rx ("[0-9A-Fa-f]{2}");
QRegExpValidator v (rx, this);
@@ -243,7 +240,6 @@
QString add3_5 = lineedit_address3_5->text();
QString add3_6 = lineedit_address3_6->text();
- int pos = 0;
// validating fields
if ( (v.validate (add1_1, pos) != 0) &&
@@ -268,19 +264,16 @@
{
// validating frame control field values
if (lineedit_frame_1->text().toInt() <= 1 && lineedit_frame_1->text() != "" && lineedit_frame_2->text().toInt() <= 1 && lineedit_frame_2->text() != "" && lineedit_frame_3->text().toInt() <= 1 && lineedit_frame_3->text() != "" && lineedit_frame_4->text().toInt() <= 1 && lineedit_frame_4->text() != "" && lineedit_frame_5->text().toInt() <= 1 && lineedit_frame_5->text() != "" && lineedit_frame_6->text().toInt() <= 1 && lineedit_frame_6->text() != "" && lineedit_frame_7->text().toInt() <= 1 && lineedit_frame_7->text() != "" && lineedit_frame_8->text().toInt() <= 1 && lineedit_frame_8->text() != "" && lineedit_frame_9->text().toInt() <= 1 && lineedit_frame_9->text() != "" && lineedit_frame_10->text().toInt() <= 1 && lineedit_frame_10->text() != "" && lineedit_frame_11->text().toInt() <= 1 && lineedit_frame_11->text() != "" && lineedit_frame_12->text().toInt() <= 1 && lineedit_frame_12->text() != "" && lineedit_frame_13->text().toInt() <= 1 && lineedit_frame_13->text() != "" && lineedit_frame_14->text().toInt() <= 1 && lineedit_frame_14->text() != "" && lineedit_frame_15->text().toInt() <= 1 && lineedit_frame_15->text() != "" && lineedit_frame_16->text().toInt() <= 1 && lineedit_frame_16->text() != "")
-
{
// validating address fields to not have empty space
if (lineedit_address1_1->text() != "" && lineedit_address1_2->text() != "" && lineedit_address1_3->text() != "" && lineedit_address1_4->text() != "" && lineedit_address1_5->text() != "" && lineedit_address1_6->text() != "" && lineedit_address2_1->text() != "" && lineedit_address2_2->text() != "" && lineedit_address2_3->text() != "" && lineedit_address2_4->text() != "" && lineedit_address2_5->text() != "" && lineedit_address2_6->text() != "" && lineedit_address3_1->text() != "" && lineedit_address3_2->text() != "" && lineedit_address3_3->text() != "" && lineedit_address3_4->text() != "" && lineedit_address3_5->text() != "" && lineedit_address3_6->text() != "")
{
-
uint16_t duration_id = lineedit_NAV->text().toInt();
uint16_t frag_no = lineedit_frag_no->text().toInt();
uint16_t seq_no = lineedit_seq_no->text().toInt();
uint16_t size = lineedit_msdu_size->text().toInt();
-
if (duration_id < 32768 && lineedit_NAV->text() != "")
{
if (frag_no < 16 && lineedit_frag_no->text() != "")
@@ -289,7 +282,6 @@
{
if (size <= 2304 && lineedit_msdu_size->text() != "")
{
-
uint8_t frame_ctrl[2], duration_char[2], addr1[6], addr2[6], addr3[6];
// Form Frame control
@@ -307,12 +299,14 @@
addr1[3] = (unsigned char) lineedit_address1_4->text().toInt (&ok , 16);
addr1[4] = (unsigned char) lineedit_address1_5->text().toInt (&ok , 16);
addr1[5] = (unsigned char) lineedit_address1_6->text().toInt (&ok , 16);
+
addr2[0] = (unsigned char) lineedit_address2_1->text().toInt (&ok , 16);
addr2[1] = (unsigned char) lineedit_address2_2->text().toInt (&ok , 16);
addr2[2] = (unsigned char) lineedit_address2_3->text().toInt (&ok , 16);
addr2[3] = (unsigned char) lineedit_address2_4->text().toInt (&ok , 16);
addr2[4] = (unsigned char) lineedit_address2_5->text().toInt (&ok , 16);
addr2[5] = (unsigned char) lineedit_address2_6->text().toInt (&ok , 16);
+
addr3[0] = (unsigned char) lineedit_address3_1->text().toInt (&ok , 16);
addr3[1] = (unsigned char) lineedit_address3_2->text().toInt (&ok , 16);
addr3[2] = (unsigned char) lineedit_address3_3->text().toInt (&ok , 16);
@@ -349,10 +343,7 @@
memcpy (frame, &seq_ctrl_char, sizeof (seq_ctrl_char));
frame += sizeof (seq_ctrl_char);
- uint8_t llc_hdr[8] = {0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00, 0x08, 0x00};
int msdu_size = lineedit_msdu_size->text().toInt();
- const char *str_payload = lineedit_payload->text();
-
if (msdu_size == 0)
{
/* Payload size is 0, then make it NULL frame */
@@ -362,6 +353,9 @@
}
else
{
+ uint8_t llc_hdr[8] = {0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00, 0x08, 0x00};
+ const char *str_payload = lineedit_payload->text();
+
// Append LLC header
memcpy (frame, &llc_hdr, sizeof (llc_hdr));
frame += sizeof (llc_hdr);
@@ -414,7 +408,7 @@
icmp_packet = (unsigned char*) malloc (sizeof (unsigned char) * icmp_len);
if (icmp_packet == NULL)
{
- printf ("Unable to allocate memory...\n");
+ KMessageBox::information (this, "Unable to allocate memory", "Error");
exit (1);
}
memset (icmp_packet, 0, icmp_len);
@@ -549,7 +543,6 @@
QMessageBox::about (this, tr ("Template Saved"),
tr ("Template saved successfully"));
}
-
break;
}
}
@@ -721,4 +714,4 @@
return ( (unsigned short) sum);
}
-#include "data_dataframe_cpp.moc"
+#include "data_dataframe_cpp.moc"
\ No newline at end of file
Modified: frame_injection_g/trunk/src/data_dataframe_cpp.h
===================================================================
--- frame_injection_g/trunk/src/data_dataframe_cpp.h 2010-03-29 15:24:59 UTC (rev 249)
+++ frame_injection_g/trunk/src/data_dataframe_cpp.h 2010-04-01 12:43:00 UTC (rev 250)
@@ -25,36 +25,28 @@
class data_dataframe_cpp : public data_dataFrame
{
- Q_OBJECT
+ Q_OBJECT
-public:
- data_dataframe_cpp(QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
- ~data_dataframe_cpp();
- unsigned char msg[2346];
- /*$PUBLIC_FUNCTIONS$*/
+ public:
+ data_dataframe_cpp (QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
+ ~data_dataframe_cpp();
+ unsigned char msg[2346];
+ /*$PUBLIC_FUNCTIONS$*/
-public slots:
- /*$PUBLIC_SLOTS$*/
- virtual void buttongroup_click();
- virtual void msdu_size_lineedit_select();
- virtual void data_main_win_click();
- virtual void data_clear_click();
- virtual void data_run_click();
- virtual void data_save_click();
- virtual void data_default_click();
- virtual void func_data_hex_convertion();
- virtual void func_data_call(unsigned char *,int );
- virtual void reset_data();
- virtual void save_in_txt(char *);
- virtual unsigned short ip_check_sum (unsigned char *, int );
-
-protected:
- /*$PROTECTED_FUNCTIONS$*/
-
-protected slots:
- /*$PROTECTED_SLOTS$*/
-
+ public slots:
+ /*$PUBLIC_SLOTS$*/
+ virtual void buttongroup_click();
+ virtual void msdu_size_lineedit_select();
+ virtual void data_main_win_click();
+ virtual void data_clear_click();
+ virtual void data_run_click();
+ virtual void data_save_click();
+ virtual void data_default_click();
+ virtual void func_data_hex_convertion();
+ virtual void func_data_call (unsigned char *, int);
+ virtual void reset_data();
+ virtual void save_in_txt (char *);
+ virtual unsigned short ip_check_sum (unsigned char *, int);
};
-#endif
-
+#endif
\ No newline at end of file
Modified: frame_injection_g/trunk/src/data_qos_data_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/data_qos_data_cpp.cpp 2010-03-29 15:24:59 UTC (rev 249)
+++ frame_injection_g/trunk/src/data_qos_data_cpp.cpp 2010-04-01 12:43:00 UTC (rev 250)
@@ -40,7 +40,6 @@
data_qos_data_cpp::data_qos_data_cpp (QWidget* parent, const char* name, WFlags fl)
: Data_Qos_data (parent, name, fl)
{
-
qos_run_button->setEnabled (1);
char frame1[2], frame2[2], frame3[2], frame4[2], frame5[2], frame6[2], frame7[2], frame8[2], frame9[2], frame10[2], frame11[2], frame12[2], frame13[2], frame14[2], frame15[2], frame16[2], nav[6], add1_1[3], add1_2[3], add1_3[3], add1_4[3], add1_5[3], add1_6[3], add2_1[3], add2_2[3], add2_3[3], add2_4[3], add2_5[3], add2_6[3], add3_1[3], add3_2[3], add3_3[3], add3_4[3], add3_5[3], add3_6[3], fragno[3], seqno[5], msdu_size[10], tid[2], eosp[2], ackpolicy[5], payload[7], txop[5];
@@ -56,7 +55,6 @@
{
while (fscanf (file1, "%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s", &frame1[0], &frame2[0], &frame3[0], &frame4[0], &frame5[0], &frame6[0], &frame7[0], &frame8[0], &frame9[0], &frame10[0], &frame11[0], &frame12[0], &frame13[0], &frame14[0], &frame15[0], &frame16[0], &nav[0], &add1_1[0], &add1_2[0], &add1_3[0], &add1_4[0], &add1_5[0], &add1_6[0], &add2_1[0], &add2_2[0], &add2_3[0], &add2_4[0], &add2_5[0], &add2_6[0], &add3_1[0], &add3_2[0], &add3_3[0], &add3_4[0], &add3_5[0], &add3_6[0], &tid[0], &eosp[0], &ackpolicy[0], &payload[0], &txop[0], &fragno[0], &seqno[0], &msdu_size[0]) != EOF)
{
-
lineedit_frame_1->setText (frame1);
lineedit_frame_2->setText (frame2);
lineedit_frame_3->setText (frame3);
@@ -105,8 +103,8 @@
lineedit_frag_no->setText (fragno);
lineedit_seq_no->setText (seqno);
lineedit_msdu_size->setText (msdu_size);
-
}
+
fclose (file1);
}
qos_run_button->setEnabled (1);
@@ -132,11 +130,10 @@
if (radiobutton_user_defined->isChecked() == 1)
lineedit_payload->setEnabled (1);
else
- if (radiobutton_user_defined->isChecked() == 0)
- {
- lineedit_payload->setText ("");
- lineedit_payload->setEnabled (0);
- }
+ {
+ lineedit_payload->setText ("");
+ lineedit_payload->setEnabled (0);
+ }
}
@@ -184,6 +181,7 @@
{
mac_80211 mac;
unsigned char *frame = &msg[0];
+ int frame_len, pos = 0;
bool ok;
//Qvalidator initialization
QRegExp rx ("[0-9A-Fa-f]{2}");
@@ -227,7 +225,6 @@
QString add3_5 = lineedit_address3_5->text();
QString add3_6 = lineedit_address3_6->text();
- int pos = 0;
// validating fields
if ( (v.validate (add1_1, pos) != 0) &&
(v.validate (add1_2, pos) != 0) &&
@@ -247,17 +244,14 @@
(v.validate (add3_4, pos) != 0) &&
(v.validate (add3_5, pos) != 0) &&
(v.validate (add3_6, pos) != 0))
-
{
// validating frame control field values
if (lineedit_frame_1->text().toInt() <= 1 && lineedit_frame_1->text() != "" && lineedit_frame_2->text().toInt() <= 1 && lineedit_frame_2->text() != "" && lineedit_frame_3->text().toInt() <= 1 && lineedit_frame_3->text() != "" && lineedit_frame_4->text().toInt() <= 1 && lineedit_frame_4->text() != "" && lineedit_frame_5->text().toInt() <= 1 && lineedit_frame_5->text() != "" && lineedit_frame_6->text().toInt() <= 1 && lineedit_frame_6->text() != "" && lineedit_frame_7->text().toInt() <= 1 && lineedit_frame_7->text() != "" && lineedit_frame_8->text().toInt() <= 1 && lineedit_frame_8->text() != "" && lineedit_frame_9->text().toInt() <= 1 && lineedit_frame_9->text() != "" && lineedit_frame_10->text().toInt() <= 1 && lineedit_frame_10->text() != "" && lineedit_frame_11->text().toInt() <= 1 && lineedit_frame_11->text() != "" && lineedit_frame_12->text().toInt() <= 1 && lineedit_frame_12->text() != "" && lineedit_frame_13->text().toInt() <= 1 && lineedit_frame_13->text() != "" && lineedit_frame_14->text().toInt() <= 1 && lineedit_frame_14->text() != "" && lineedit_frame_15->text().toInt() <= 1 && lineedit_frame_15->text() != "" && lineedit_frame_16->text().toInt() <= 1 && lineedit_frame_16->text() != "")
-
{
// validating address fields to not have empty space
if (lineedit_address1_1->text() != "" && lineedit_address1_2->text() != "" && lineedit_address1_3->text() != "" && lineedit_address1_4->text() != "" && lineedit_address1_5->text() != "" && lineedit_address1_6->text() != "" && lineedit_address2_1->text() != "" && lineedit_address2_2->text() != "" && lineedit_address2_3->text() != "" && lineedit_address2_4->text() != "" && lineedit_address2_5->text() != "" && lineedit_address2_6->text() != "" && lineedit_address3_1->text() != "" && lineedit_address3_2->text() != "" && lineedit_address3_3->text() != "" && lineedit_address3_4->text() != "" && lineedit_address3_5->text() != "" && lineedit_address3_6->text() != "")
{
-
uint16_t frag_no = lineedit_frag_no->text().toInt();
uint16_t seq_no = lineedit_seq_no->text().toInt();
uint16_t duration_id = lineedit_NAV->text().toInt();
@@ -338,31 +332,14 @@
//type conversion int to char - TXOP
unsigned char temp_txop_char[2];
- temp_txop_char[0] = * ( ( unsigned char*) & temp_txop);
+ temp_txop_char[0] = * ( (unsigned char*) & temp_txop);
//Payload field value to local variable
int temp_payload_size = lineedit_payload->text().length();
const char *str_payload = lineedit_payload->text();
- uint8_t src_ip[4] = {0x00, 0x00,0x00,0x00}, dest_ip[4] = {0x00, 0x00, 0x00, 0x00};
+ uint8_t src_ip[4] = {0x00, 0x00, 0x00, 0x00}, dest_ip[4] = {0x00, 0x00, 0x00, 0x00};
-// ip = inet_addr (str_ipsource);
-// int run, shift = 24;
-//
-// for (run = 3; run >= 0; run--)
-// {
-// src_ip[run] = (ip >> shift) & 0xff;
-// shift -= 8;
-// }
-// printf ("%02x %02x %02x %02x\n", src_ip[0], src_ip[1], src_ip[2], src_ip[3]);
-//
-// ip = inet_addr (str_ipdest);
-// for (run = 3, shift = 24; run >= 0; run--)
-// {
-// dest_ip[run] = (ip >> shift) & 0xff;
-// shift -= 8;
-// }
-
// copy frame control field
memcpy (frame, &frame_ctrl, sizeof (frame_ctrl));
frame += sizeof (frame_ctrl);
@@ -386,7 +363,8 @@
frame += sizeof (temp_qos_ctrl);
int msdu_size = lineedit_msdu_size->text().toInt();
- int frame_len = frame - &msg[0];
+ frame_len = frame - &msg[0];
+
if (msdu_size == 0)
{
/* Payload size is 0, then make it NULL frame */
@@ -397,7 +375,6 @@
{
// Payload is not NULL
uint8_t llc_hdr[8] = {0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00, 0x08, 0x00};
-
// Append LLC header
memcpy (frame, &llc_hdr, sizeof (llc_hdr));
frame += sizeof (llc_hdr);
@@ -696,5 +673,4 @@
fclose (fptr);
}
-#include "data_qos_data_cpp.moc"
-
+#include "data_qos_data_cpp.moc"
\ No newline at end of file
Modified: frame_injection_g/trunk/src/inj_control_ack_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/inj_control_ack_cpp.cpp 2010-03-29 15:24:59 UTC (rev 249)
+++ frame_injection_g/trunk/src/inj_control_ack_cpp.cpp 2010-04-01 12:43:00 UTC (rev 250)
@@ -33,57 +33,57 @@
#include "mac_80211.h"
-uint16_t global_ack_flag=0;
+uint16_t global_ack_flag = 0;
char default_ack_file[] = "default_ack";
-inj_control_ack_cpp::inj_control_ack_cpp( QWidget* parent, const char* name, WFlags fl )
- : inj_ctrl_ack( parent,name,fl )
+inj_control_ack_cpp::inj_control_ack_cpp (QWidget* parent, const char* name, WFlags fl)
+ : inj_ctrl_ack (parent, name, fl)
{
- FILE *file1;
- char frame1[2], frame2[2], frame3[2], frame4[2], frame5[2], frame6[2], frame7[2], frame8[2], frame9[2], frame10[2], frame11[2], frame12[2], frame13[2], frame14[2], frame15[2], frame16[2], nav[6], add1[3], add2[3], add3[3], add4[3], add5[3], add6[3];
+ FILE *file1;
+ char frame1[2], frame2[2], frame3[2], frame4[2], frame5[2], frame6[2], frame7[2], frame8[2], frame9[2], frame10[2], frame11[2], frame12[2], frame13[2], frame14[2], frame15[2], frame16[2], nav[6], add1[3], add2[3], add3[3], add4[3], add5[3], add6[3];
- file1=fopen( default_ack_file,"r" );
- if ( file1==NULL )
- {
- KMessageBox::error( this,"Unable to open file. Loading initial values" );
- reset_ack();
- }
- else
- {
- while ( fscanf( file1,"%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s ",
- &frame1[0], &frame2[0], &frame3[0], &frame4[0], &frame5[0], &frame6[0], &frame7[0], &frame8[0], &frame9[0], &frame10[0], &frame11[0], &frame12[0], &frame13[0], &frame14[0], &frame15[0], &frame16[0], &nav[0], &add1[0], &add2[0], &add3[0], &add4[0], &add5[0], &add6[0] )!=EOF )
- {
+ file1 = fopen (default_ack_file, "r");
+ if (file1 == NULL)
+ {
+ KMessageBox::error (this, "Unable to open file. Loading initial values");
+ reset_ack();
+ }
+ else
+ {
+ while (fscanf (file1, "%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s ",
+ &frame1[0], &frame2[0], &frame3[0], &frame4[0], &frame5[0], &frame6[0], &frame7[0], &frame8[0], &frame9[0], &frame10[0], &frame11[0], &frame12[0], &frame13[0], &frame14[0], &frame15[0], &frame16[0], &nav[0], &add1[0], &add2[0], &add3[0], &add4[0], &add5[0], &add6[0]) != EOF)
+ {
- lineedit_frame_1->setText( frame1 );
- lineedit_frame_2->setText( frame2 );
- lineedit_frame_3->setText( frame3 );
- lineedit_frame_4->setText( frame4 );
- lineedit_frame_5->setText( frame5 );
- lineedit_frame_6->setText( frame6 );
- lineedit_frame_7->setText( frame7 );
- lineedit_frame_8->setText( frame8 );
- lineedit_frame_9->setText( frame9 );
- lineedit_frame_10->setText( frame10 );
- lineedit_frame_11->setText( frame11 );
- lineedit_frame_12->setText( frame12 );
- lineedit_frame_13->setText( frame13 );
- lineedit_frame_14->setText( frame14 );
- lineedit_frame_15->setText( frame15 );
- lineedit_frame_16->setText( frame16 );
+ lineedit_frame_1->setText (frame1);
+ lineedit_frame_2->setText (frame2);
+ lineedit_frame_3->setText (frame3);
+ lineedit_frame_4->setText (frame4);
+ lineedit_frame_5->setText (frame5);
+ lineedit_frame_6->setText (frame6);
+ lineedit_frame_7->setText (frame7);
+ lineedit_frame_8->setText (frame8);
+ lineedit_frame_9->setText (frame9);
+ lineedit_frame_10->setText (frame10);
+ lineedit_frame_11->setText (frame11);
+ lineedit_frame_12->setText (frame12);
+ lineedit_frame_13->setText (frame13);
+ lineedit_frame_14->setText (frame14);
+ lineedit_frame_15->setText (frame15);
+ lineedit_frame_16->setText (frame16);
- lineedit_NAV->setText( nav );
+ lineedit_NAV->setText (nav);
- lineedit_address1_1->setText( add1 );
- lineedit_address1_2->setText( add2 );
- lineedit_address1_3->setText( add3 );
- lineedit_address1_4->setText( add4 );
- lineedit_address1_5->setText( add5 );
- lineedit_address1_6->setText( add6 );
- }
- fclose( file1 );
- }
- control_ack_run_button->setEnabled( 1 );
+ lineedit_address1_1->setText (add1);
+ lineedit_address1_2->setText (add2);
+ lineedit_address1_3->setText (add3);
+ lineedit_address1_4->setText (add4);
+ lineedit_address1_5->setText (add5);
+ lineedit_address1_6->setText (add6);
+ }
+ fclose (file1);
+ }
+ control_ack_run_button->setEnabled (1);
}
inj_control_ack_cpp::~inj_control_ack_cpp()
@@ -93,289 +93,286 @@
/*$SPECIALIZATION$*/
void inj_control_ack_cpp::ctrl_ack_mainwin()
{
- control_ack_run_button->setEnabled( 1 );
- close();
+ control_ack_run_button->setEnabled (1);
+ close();
}
void inj_control_ack_cpp::ctrl_ack_clear_click()
{
- reset_ack();
- control_ack_run_button->setEnabled( 1 );
+ reset_ack();
+ control_ack_run_button->setEnabled (1);
}
void inj_control_ack_cpp::ctrl_ack_run_click()
{
- global_ack_flag=1;
- func_ack_hex_convertion();
+ global_ack_flag = 1;
+ func_ack_hex_convertion();
}
void inj_control_ack_cpp::ctrl_ack_default_click()
{
- global_ack_flag=2;
- func_ack_hex_convertion();
+ global_ack_flag = 2;
+ func_ack_hex_convertion();
}
void inj_control_ack_cpp::ctrl_ack_save_click()
{
- if ( lineedit_testid->text()!="" )
- {
- global_ack_flag=3;
- func_ack_hex_convertion();
- lineedit_testid->clear();
- }
- else
- QMessageBox::critical( this, tr( "Error" ), tr( "Test ID is empty" ) );
+ if (lineedit_testid->text() != "")
+ {
+ global_ack_flag = 3;
+ func_ack_hex_convertion();
+ lineedit_testid->clear();
+ }
+ else
+ QMessageBox::critical (this, tr ("Error"), tr ("Test ID is empty"));
}
void inj_control_ack_cpp::func_ack_hex_convertion()
{
- mac_80211 mac;
- bool ok;
- //Qvalidator initialization
- QRegExp rx( "[0-9A-Fa-f]{2}" );
- QRegExpValidator v( rx, this );
+ mac_80211 mac;
+ uint8_t *frame = msg;
+ memset (frame, 0, sizeof (msg));
+ bool ok;
+ //Qvalidator initialization
+ QRegExp rx ("[0-9A-Fa-f]{2}");
+ QRegExpValidator v (rx, this);
- lineedit_address1_1->setValidator( &v );
- lineedit_address1_2->setValidator( &v );
- lineedit_address1_3->setValidator( &v );
- lineedit_address1_4->setValidator( &v );
- lineedit_address1_5->setValidator( &v );
- lineedit_address1_6->setValidator( &v );
+ lineedit_address1_1->setValidator (&v);
+ lineedit_address1_2->setValidator (&v);
+ lineedit_address1_3->setValidator (&v);
+ lineedit_address1_4->setValidator (&v);
+ lineedit_address1_5->setValidator (&v);
+ lineedit_address1_6->setValidator (&v);
- // address fields values to local variable
- QString add1_1=lineedit_address1_1->text();
- QString add1_2=lineedit_address1_2->text();
- QString add1_3=lineedit_address1_3->text();
- QString add1_4=lineedit_address1_4->text();
- QString add1_5=lineedit_address1_5->text();
- QString add1_6=lineedit_address1_6->text();
+ // address fields values to local variable
+ QString add1_1 = lineedit_address1_1->text();
+ QString add1_2 = lineedit_address1_2->text();
+ QString add1_3 = lineedit_address1_3->text();
+ QString add1_4 = lineedit_address1_4->text();
+ QString add1_5 = lineedit_address1_5->text();
+ QString add1_6 = lineedit_address1_6->text();
- int pos=0;
+ int pos = 0;
// validating fields
- if (( v.validate( add1_1, pos )!=0 ) &&
- ( v.validate( add1_2, pos )!=0 ) &&
- ( v.validate( add1_3, pos )!=0 ) &&
- ( v.validate( add1_4, pos )!=0 ) &&
- ( v.validate( add1_5, pos )!=0 ) &&
- ( v.validate( add1_6, pos )!=0 ) )
- {
- // validating frame control field values
+ if ( (v.validate (add1_1, pos) != 0) &&
+ (v.validate (add1_2, pos) != 0) &&
+ (v.validate (add1_3, pos) != 0) &&
+ (v.validate (add1_4, pos) != 0) &&
+ (v.validate (add1_5, pos) != 0) &&
+ (v.validate (add1_6, pos) != 0))
+ {
+ // validating frame control field values
- if ( lineedit_frame_1->text().toInt()<=1 && lineedit_frame_1->text()!="" && lineedit_frame_2->text().toInt()<=1 && lineedit_frame_2->text()!="" && lineedit_frame_3->text().toInt()<=1 && lineedit_frame_3->text()!="" && lineedit_frame_4->text().toInt()<=1 && lineedit_frame_4->text()!="" && lineedit_frame_5->text().toInt()<=1 && lineedit_frame_5->text()!="" && lineedit_frame_6->text().toInt()<=1 && lineedit_frame_6->text()!="" && lineedit_frame_7->text().toInt()<=1 && lineedit_frame_7->text()!="" && lineedit_frame_8->text().toInt()<=1 && lineedit_frame_8->text()!="" && lineedit_frame_9->text().toInt()<=1 && lineedit_frame_9->text()!="" && lineedit_frame_10->text().toInt()<=1 && lineedit_frame_10->text()!="" && lineedit_frame_11->text().toInt()<=1 && lineedit_frame_11->text()!="" && lineedit_frame_12->text().toInt()<=1 && lineedit_frame_12->text()!="" && lineedit_frame_13->text().toInt()<=1 && lineedit_frame_13->text()!="" && lineedit_frame_14->text().toInt()<=1 && lineedit_frame_14->text()!="" && lineedit_frame_15->text().toInt()<=1 && lineedit_frame_15->text()!="" && lineedit_frame_16->text().toInt()<=1 && lineedit_frame_16->text()!="" )
+ if (lineedit_frame_1->text().toInt() <= 1 && lineedit_frame_1->text() != "" && lineedit_frame_2->text().toInt() <= 1 && lineedit_frame_2->text() != "" && lineedit_frame_3->text().toInt() <= 1 && lineedit_frame_3->text() != "" && lineedit_frame_4->text().toInt() <= 1 && lineedit_frame_4->text() != "" && lineedit_frame_5->text().toInt() <= 1 && lineedit_frame_5->text() != "" && lineedit_frame_6->text().toInt() <= 1 && lineedit_frame_6->text() != "" && lineedit_frame_7->text().toInt() <= 1 && lineedit_frame_7->text() != "" && lineedit_frame_8->text().toInt() <= 1 && lineedit_frame_8->text() != "" && lineedit_frame_9->text().toInt() <= 1 && lineedit_frame_9->text() != "" && lineedit_frame_10->text().toInt() <= 1 && lineedit_frame_10->text() != "" && lineedit_frame_11->text().toInt() <= 1 && lineedit_frame_11->text() != "" && lineedit_frame_12->text().toInt() <= 1 && lineedit_frame_12->text() != "" && lineedit_frame_13->text().toInt() <= 1 && lineedit_frame_13->text() != "" && lineedit_frame_14->text().toInt() <= 1 && lineedit_frame_14->text() != "" && lineedit_frame_15->text().toInt() <= 1 && lineedit_frame_15->text() != "" && lineedit_frame_16->text().toInt() <= 1 && lineedit_frame_16->text() != "")
- {
- // validating address fields to not have empty space
- if ( lineedit_address1_1->text()!="" && lineedit_address1_2->text()!="" && lineedit_address1_3->text()!="" && lineedit_address1_4->text()!="" && lineedit_address1_5->text()!="" && lineedit_address1_6->text()!="" )
- {
- if ( lineedit_NAV->text()!="" && lineedit_NAV->text().toInt()<= 65535 )
- {
- uint8_t frame_ctrl0=0X00, frame_ctrl1=0X00;
+ {
+ // validating address fields to not have empty space
+ if (lineedit_address1_1->text() != "" && lineedit_address1_2->text() != "" && lineedit_address1_3->text() != "" && lineedit_address1_4->text() != "" && lineedit_address1_5->text() != "" && lineedit_address1_6->text() != "")
+ {
+ if (lineedit_NAV->text() != "" && lineedit_NAV->text().toInt() <= 65535)
+ {
+ uint8_t frame_ctrl[2];
+ uint8_t addr1[MAC_ADDRESS_LEN];
+ // Form Frame control
+ frame_ctrl[0] = mac.bits_to_byte (lineedit_frame_1->text(), lineedit_frame_2->text(), lineedit_frame_3->text(), lineedit_frame_4->text(), lineedit_frame_5->text(), lineedit_frame_6->text(), lineedit_frame_7->text(), lineedit_frame_8->text());
- // Form Frame control
- frame_ctrl0 = mac.bits_to_byte( lineedit_frame_1->text(), lineedit_frame_2->text(), lineedit_frame_3->text(), lineedit_frame_4->text(), lineedit_frame_5->text(), lineedit_frame_6->text(), lineedit_frame_7->text(), lineedit_frame_8->text() );
+ // Form Frame control (flags)
+ frame_ctrl[1] = mac.bits_to_byte (lineedit_frame_9->text(), lineedit_frame_10->text(), lineedit_frame_11->text(), lineedit_frame_12-...
[truncated message content] |
|
From: <sat...@us...> - 2010-03-29 15:25:06
|
Revision: 249
http://w-meter.svn.sourceforge.net/w-meter/?rev=249&view=rev
Author: sathakselva
Date: 2010-03-29 15:24:59 +0000 (Mon, 29 Mar 2010)
Log Message:
-----------
Pointer for a ICMP packet initialized
Modified Paths:
--------------
frame_injection_g/trunk/src/data_dataframe_cpp.cpp
frame_injection_g/trunk/src/data_qos_data_cpp.cpp
Modified: frame_injection_g/trunk/src/data_dataframe_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/data_dataframe_cpp.cpp 2010-03-29 15:06:52 UTC (rev 248)
+++ frame_injection_g/trunk/src/data_dataframe_cpp.cpp 2010-03-29 15:24:59 UTC (rev 249)
@@ -408,32 +408,34 @@
frame += sizeof (ip_hdr);
unsigned char *icmp_packet;
- int icmp_hdr_len = sizeof (icmp_hdr);
- int icmp_len = msdu_size + icmp_hdr_len;
+ int icmp_hdr_len = sizeof (icmp_hdr);
+ int icmp_len = msdu_size + icmp_hdr_len;
- icmp_packet = (unsigned char*) malloc (sizeof (unsigned char) * icmp_len );
+ icmp_packet = (unsigned char*) malloc (sizeof (unsigned char) * icmp_len);
if (icmp_packet == NULL)
{
printf ("Unable to allocate memory...\n");
exit (1);
}
-
+ memset (icmp_packet, 0, icmp_len);
memcpy (icmp_packet, &icmp_hdr, sizeof (icmp_hdr));
if (radiobutton_user_defined->isChecked() == 1)
- memcpy (icmp_packet+icmp_hdr_len, str_payload, msdu_size);
+ memcpy (icmp_packet + icmp_hdr_len, str_payload, msdu_size);
else
{
unsigned char icmp_payload[msdu_size];
memset (icmp_payload, 'a', msdu_size);
- memcpy (icmp_packet+icmp_hdr_len, &icmp_payload, msdu_size);
+ memcpy (icmp_packet + icmp_hdr_len, &icmp_payload, msdu_size);
}
- int offset = 2;
+
+ int offset = 2;
unsigned short icmp_checksum = ip_check_sum (icmp_packet, icmp_len);
- icmp_checksum = htons (icmp_checksum);
- printf ("Checksum : %d\n", icmp_checksum);
- for (i = 0;i < 2;i++)
- icmp_packet[offset + i] = * ( ( (unsigned char*) & icmp_checksum) + i);
+
+ icmp_checksum = htons (icmp_checksum);
+ for (i = 0;i < 2;i++)
+ icmp_packet[offset + i] = * ( ( (unsigned char*) & icmp_checksum) + i);
+
memcpy (frame, icmp_packet, icmp_len);
frame += icmp_len;
frame_len = frame - &msg[0];
Modified: frame_injection_g/trunk/src/data_qos_data_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/data_qos_data_cpp.cpp 2010-03-29 15:06:52 UTC (rev 248)
+++ frame_injection_g/trunk/src/data_qos_data_cpp.cpp 2010-03-29 15:24:59 UTC (rev 249)
@@ -338,7 +338,7 @@
//type conversion int to char - TXOP
unsigned char temp_txop_char[2];
- temp_txop_char[0] = * ( (char*) & temp_txop);
+ temp_txop_char[0] = * ( ( unsigned char*) & temp_txop);
//Payload field value to local variable
int temp_payload_size = lineedit_payload->text().length();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <sat...@us...> - 2010-03-29 15:06:58
|
Revision: 248
http://w-meter.svn.sourceforge.net/w-meter/?rev=248&view=rev
Author: sathakselva
Date: 2010-03-29 15:06:52 +0000 (Mon, 29 Mar 2010)
Log Message:
-----------
fix for ICMP checksum calculation
Modified Paths:
--------------
frame_injection_g/trunk/src/data_dataFrame.cpp
frame_injection_g/trunk/src/data_dataFrame.h
frame_injection_g/trunk/src/data_dataFrame.ui
frame_injection_g/trunk/src/data_dataframe_cpp.cpp
Modified: frame_injection_g/trunk/src/data_dataFrame.cpp
===================================================================
--- frame_injection_g/trunk/src/data_dataFrame.cpp 2010-03-23 13:19:18 UTC (rev 247)
+++ frame_injection_g/trunk/src/data_dataFrame.cpp 2010-03-29 15:06:52 UTC (rev 248)
@@ -343,53 +343,56 @@
lineedit_payload = new QLineEdit( groupBox3, "lineedit_payload" );
lineedit_payload->setGeometry( QRect( 360, 140, 230, 22 ) );
- lineedit_src_ip1 = new QLineEdit( groupBox3, "lineedit_src_ip1" );
- lineedit_src_ip1->setGeometry( QRect( 90, 149, 40, 28 ) );
- lineedit_src_ip1->setMaxLength( 3 );
+ lineedit_ip_ttl = new QLineEdit( groupBox3, "lineedit_ip_ttl" );
+ lineedit_ip_ttl->setGeometry( QRect( 90, 110, 60, 23 ) );
+ lineedit_msdu_size = new QLineEdit( groupBox3, "lineedit_msdu_size" );
+ lineedit_msdu_size->setGeometry( QRect( 490, 30, 90, 23 ) );
+
lineedit_TOS1 = new QLineEdit( groupBox3, "lineedit_TOS1" );
lineedit_TOS1->setGeometry( QRect( 90, 30, 17, 23 ) );
+ lineedit_TOS1->setMaxLength( 1 );
lineedit_TOS2 = new QLineEdit( groupBox3, "lineedit_TOS2" );
lineedit_TOS2->setGeometry( QRect( 110, 30, 17, 23 ) );
+ lineedit_TOS2->setMaxLength( 1 );
lineedit_TOS3 = new QLineEdit( groupBox3, "lineedit_TOS3" );
lineedit_TOS3->setGeometry( QRect( 130, 30, 17, 23 ) );
+ lineedit_TOS3->setMaxLength( 1 );
lineedit_TOS4 = new QLineEdit( groupBox3, "lineedit_TOS4" );
lineedit_TOS4->setGeometry( QRect( 150, 30, 17, 23 ) );
+ lineedit_TOS4->setMaxLength( 1 );
lineedit_TOS5 = new QLineEdit( groupBox3, "lineedit_TOS5" );
lineedit_TOS5->setGeometry( QRect( 170, 30, 17, 23 ) );
+ lineedit_TOS5->setMaxLength( 1 );
lineedit_TOS6 = new QLineEdit( groupBox3, "lineedit_TOS6" );
lineedit_TOS6->setGeometry( QRect( 190, 30, 17, 23 ) );
+ lineedit_TOS6->setMaxLength( 1 );
lineedit_TOS7 = new QLineEdit( groupBox3, "lineedit_TOS7" );
lineedit_TOS7->setGeometry( QRect( 210, 30, 17, 23 ) );
+ lineedit_TOS7->setMaxLength( 1 );
lineedit_TOS8 = new QLineEdit( groupBox3, "lineedit_TOS8" );
lineedit_TOS8->setGeometry( QRect( 230, 30, 17, 23 ) );
+ lineedit_TOS8->setMaxLength( 1 );
lineedit_flag1 = new QLineEdit( groupBox3, "lineedit_flag1" );
lineedit_flag1->setGeometry( QRect( 90, 70, 17, 23 ) );
+ lineedit_flag1->setMaxLength( 1 );
lineedit_flag2 = new QLineEdit( groupBox3, "lineedit_flag2" );
lineedit_flag2->setGeometry( QRect( 110, 70, 17, 23 ) );
+ lineedit_flag2->setMaxLength( 1 );
lineedit_flag3 = new QLineEdit( groupBox3, "lineedit_flag3" );
lineedit_flag3->setGeometry( QRect( 130, 70, 17, 23 ) );
+ lineedit_flag3->setMaxLength( 1 );
- lineedit_ip_ttl = new QLineEdit( groupBox3, "lineedit_ip_ttl" );
- lineedit_ip_ttl->setGeometry( QRect( 90, 110, 60, 23 ) );
-
- lineedit_msdu_size = new QLineEdit( groupBox3, "lineedit_msdu_size" );
- lineedit_msdu_size->setGeometry( QRect( 490, 30, 90, 23 ) );
-
- lineedit_src_ip2 = new QLineEdit( groupBox3, "lineedit_src_ip2" );
- lineedit_src_ip2->setGeometry( QRect( 130, 149, 40, 28 ) );
- lineedit_src_ip2->setMaxLength( 3 );
-
le_src_ip3 = new QLineEdit( groupBox3, "le_src_ip3" );
le_src_ip3->setGeometry( QRect( 170, 149, 40, 28 ) );
le_src_ip3->setMaxLength( 3 );
@@ -398,16 +401,24 @@
le_src_ip4->setGeometry( QRect( 210, 149, 40, 28 ) );
le_src_ip4->setMaxLength( 3 );
+ lineedit_src_ip2 = new QLineEdit( groupBox3, "lineedit_src_ip2" );
+ lineedit_src_ip2->setGeometry( QRect( 130, 149, 40, 28 ) );
+ lineedit_src_ip2->setMaxLength( 3 );
+
+ lineedit_src_ip1 = new QLineEdit( groupBox3, "lineedit_src_ip1" );
+ lineedit_src_ip1->setGeometry( QRect( 90, 149, 40, 28 ) );
+ lineedit_src_ip1->setMaxLength( 3 );
+
le_dest_ip2 = new QLineEdit( groupBox3, "le_dest_ip2" );
le_dest_ip2->setGeometry( QRect( 130, 188, 40, 28 ) );
le_dest_ip2->setMaxLength( 3 );
le_dest_ip3 = new QLineEdit( groupBox3, "le_dest_ip3" );
- le_dest_ip3->setGeometry( QRect( 170, 189, 40, 28 ) );
+ le_dest_ip3->setGeometry( QRect( 170, 188, 40, 28 ) );
le_dest_ip3->setMaxLength( 3 );
le_dest_ip4 = new QLineEdit( groupBox3, "le_dest_ip4" );
- le_dest_ip4->setGeometry( QRect( 210, 189, 40, 28 ) );
+ le_dest_ip4->setGeometry( QRect( 210, 188, 40, 28 ) );
le_dest_ip4->setMaxLength( 3 );
le_dest_ip1 = new QLineEdit( this, "le_dest_ip1" );
@@ -653,6 +664,10 @@
textLabel4_3->setText( tr2i18n( "Source IP" ) );
textLabel1_3->setText( tr2i18n( "MSDU size" ) );
QToolTip::add( lineedit_payload, tr2i18n( "Payload" ) );
+ lineedit_ip_ttl->setText( tr2i18n( "100" ) );
+ lineedit_msdu_size->setText( QString::null );
+ lineedit_msdu_size->setInputMask( tr2i18n( "0000; " ) );
+ QToolTip::add( lineedit_msdu_size, tr2i18n( "MSDU Size(0-2304)" ) );
lineedit_TOS1->setText( tr2i18n( "0" ) );
lineedit_TOS2->setText( tr2i18n( "0" ) );
lineedit_TOS3->setText( tr2i18n( "0" ) );
@@ -664,10 +679,14 @@
lineedit_flag1->setText( tr2i18n( "0" ) );
lineedit_flag2->setText( tr2i18n( "0" ) );
lineedit_flag3->setText( tr2i18n( "0" ) );
- lineedit_ip_ttl->setText( tr2i18n( "100" ) );
- lineedit_msdu_size->setText( QString::null );
- lineedit_msdu_size->setInputMask( tr2i18n( "0000; " ) );
- QToolTip::add( lineedit_msdu_size, tr2i18n( "MSDU Size(0-2304)" ) );
+ le_src_ip3->setText( tr2i18n( "000" ) );
+ le_src_ip4->setText( tr2i18n( "000" ) );
+ lineedit_src_ip2->setText( tr2i18n( "000" ) );
+ lineedit_src_ip1->setText( tr2i18n( "000" ) );
+ le_dest_ip2->setText( tr2i18n( "000" ) );
+ le_dest_ip3->setText( tr2i18n( "000" ) );
+ le_dest_ip4->setText( tr2i18n( "000" ) );
+ le_dest_ip1->setText( tr2i18n( "000" ) );
}
void data_dataFrame::data_run_click()
Modified: frame_injection_g/trunk/src/data_dataFrame.h
===================================================================
--- frame_injection_g/trunk/src/data_dataFrame.h 2010-03-23 13:19:18 UTC (rev 247)
+++ frame_injection_g/trunk/src/data_dataFrame.h 2010-03-29 15:06:52 UTC (rev 248)
@@ -108,7 +108,8 @@
QLabel* textLabel4_3;
QLabel* textLabel1_3;
QLineEdit* lineedit_payload;
- QLineEdit* lineedit_src_ip1;
+ QLineEdit* lineedit_ip_ttl;
+ QLineEdit* lineedit_msdu_size;
QLineEdit* lineedit_TOS1;
QLineEdit* lineedit_TOS2;
QLineEdit* lineedit_TOS3;
@@ -120,11 +121,10 @@
QLineEdit* lineedit_flag1;
QLineEdit* lineedit_flag2;
QLineEdit* lineedit_flag3;
- QLineEdit* lineedit_ip_ttl;
- QLineEdit* lineedit_msdu_size;
- QLineEdit* lineedit_src_ip2;
QLineEdit* le_src_ip3;
QLineEdit* le_src_ip4;
+ QLineEdit* lineedit_src_ip2;
+ QLineEdit* lineedit_src_ip1;
QLineEdit* le_dest_ip2;
QLineEdit* le_dest_ip3;
QLineEdit* le_dest_ip4;
Modified: frame_injection_g/trunk/src/data_dataFrame.ui
===================================================================
--- frame_injection_g/trunk/src/data_dataFrame.ui 2010-03-23 13:19:18 UTC (rev 247)
+++ frame_injection_g/trunk/src/data_dataFrame.ui 2010-03-29 15:06:52 UTC (rev 248)
@@ -1677,22 +1677,44 @@
</widget>
<widget class="QLineEdit">
<property name="name">
- <cstring>lineedit_src_ip1</cstring>
+ <cstring>lineedit_ip_ttl</cstring>
</property>
<property name="geometry">
<rect>
<x>90</x>
- <y>149</y>
- <width>40</width>
- <height>28</height>
+ <y>110</y>
+ <width>60</width>
+ <height>23</height>
</rect>
</property>
- <property name="maxLength">
- <number>3</number>
+ <property name="text">
+ <string>100</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
+ <cstring>lineedit_msdu_size</cstring>
+ </property>
+ <property name="geometry">
+ <rect>
+ <x>490</x>
+ <y>30</y>
+ <width>90</width>
+ <height>23</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ <property name="inputMask">
+ <string>0000; </string>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>MSDU Size(0-2304)</string>
+ </property>
+ </widget>
+ <widget class="QLineEdit">
+ <property name="name">
<cstring>lineedit_TOS1</cstring>
</property>
<property name="geometry">
@@ -1706,6 +1728,9 @@
<property name="text">
<string>0</string>
</property>
+ <property name="maxLength">
+ <number>1</number>
+ </property>
</widget>
<widget class="QLineEdit">
<property name="name">
@@ -1722,6 +1747,9 @@
<property name="text">
<string>0</string>
</property>
+ <property name="maxLength">
+ <number>1</number>
+ </property>
</widget>
<widget class="QLineEdit">
<property name="name">
@@ -1738,6 +1766,9 @@
<property name="text">
<string>0</string>
</property>
+ <property name="maxLength">
+ <number>1</number>
+ </property>
</widget>
<widget class="QLineEdit">
<property name="name">
@@ -1754,6 +1785,9 @@
<property name="text">
<string>0</string>
</property>
+ <property name="maxLength">
+ <number>1</number>
+ </property>
</widget>
<widget class="QLineEdit">
<property name="name">
@@ -1770,6 +1804,9 @@
<property name="text">
<string>0</string>
</property>
+ <property name="maxLength">
+ <number>1</number>
+ </property>
</widget>
<widget class="QLineEdit">
<property name="name">
@@ -1786,6 +1823,9 @@
<property name="text">
<string>0</string>
</property>
+ <property name="maxLength">
+ <number>1</number>
+ </property>
</widget>
<widget class="QLineEdit">
<property name="name">
@@ -1802,6 +1842,9 @@
<property name="text">
<string>0</string>
</property>
+ <property name="maxLength">
+ <number>1</number>
+ </property>
</widget>
<widget class="QLineEdit">
<property name="name">
@@ -1818,6 +1861,9 @@
<property name="text">
<string>0</string>
</property>
+ <property name="maxLength">
+ <number>1</number>
+ </property>
</widget>
<widget class="QLineEdit">
<property name="name">
@@ -1834,6 +1880,9 @@
<property name="text">
<string>0</string>
</property>
+ <property name="maxLength">
+ <number>1</number>
+ </property>
</widget>
<widget class="QLineEdit">
<property name="name">
@@ -1850,6 +1899,9 @@
<property name="text">
<string>0</string>
</property>
+ <property name="maxLength">
+ <number>1</number>
+ </property>
</widget>
<widget class="QLineEdit">
<property name="name">
@@ -1866,89 +1918,82 @@
<property name="text">
<string>0</string>
</property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_ip_ttl</cstring>
+ <property name="maxLength">
+ <number>1</number>
</property>
- <property name="geometry">
- <rect>
- <x>90</x>
- <y>110</y>
- <width>60</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>100</string>
- </property>
</widget>
<widget class="QLineEdit">
<property name="name">
- <cstring>lineedit_msdu_size</cstring>
+ <cstring>le_src_ip3</cstring>
</property>
<property name="geometry">
<rect>
- <x>490</x>
- <y>30</y>
- <width>90</width>
- <height>23</height>
+ <x>170</x>
+ <y>149</y>
+ <width>40</width>
+ <height>28</height>
</rect>
</property>
<property name="text">
- <string></string>
+ <string>000</string>
</property>
- <property name="inputMask">
- <string>0000; </string>
+ <property name="maxLength">
+ <number>3</number>
</property>
- <property name="toolTip" stdset="0">
- <string>MSDU Size(0-2304)</string>
- </property>
</widget>
<widget class="QLineEdit">
<property name="name">
- <cstring>lineedit_src_ip2</cstring>
+ <cstring>le_src_ip4</cstring>
</property>
<property name="geometry">
<rect>
- <x>130</x>
+ <x>210</x>
<y>149</y>
<width>40</width>
<height>28</height>
</rect>
</property>
+ <property name="text">
+ <string>000</string>
+ </property>
<property name="maxLength">
<number>3</number>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
- <cstring>le_src_ip3</cstring>
+ <cstring>lineedit_src_ip2</cstring>
</property>
<property name="geometry">
<rect>
- <x>170</x>
+ <x>130</x>
<y>149</y>
<width>40</width>
<height>28</height>
</rect>
</property>
+ <property name="text">
+ <string>000</string>
+ </property>
<property name="maxLength">
<number>3</number>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
- <cstring>le_src_ip4</cstring>
+ <cstring>lineedit_src_ip1</cstring>
</property>
<property name="geometry">
<rect>
- <x>210</x>
+ <x>90</x>
<y>149</y>
<width>40</width>
<height>28</height>
</rect>
</property>
+ <property name="text">
+ <string>000</string>
+ </property>
<property name="maxLength">
<number>3</number>
</property>
@@ -1965,6 +2010,9 @@
<height>28</height>
</rect>
</property>
+ <property name="text">
+ <string>000</string>
+ </property>
<property name="maxLength">
<number>3</number>
</property>
@@ -1976,11 +2024,14 @@
<property name="geometry">
<rect>
<x>170</x>
- <y>189</y>
+ <y>188</y>
<width>40</width>
<height>28</height>
</rect>
</property>
+ <property name="text">
+ <string>000</string>
+ </property>
<property name="maxLength">
<number>3</number>
</property>
@@ -1992,11 +2043,14 @@
<property name="geometry">
<rect>
<x>210</x>
- <y>189</y>
+ <y>188</y>
<width>40</width>
<height>28</height>
</rect>
</property>
+ <property name="text">
+ <string>000</string>
+ </property>
<property name="maxLength">
<number>3</number>
</property>
@@ -2015,6 +2069,9 @@
<height>28</height>
</rect>
</property>
+ <property name="text">
+ <string>000</string>
+ </property>
<property name="maxLength">
<number>3</number>
</property>
Modified: frame_injection_g/trunk/src/data_dataframe_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/data_dataframe_cpp.cpp 2010-03-23 13:19:18 UTC (rev 247)
+++ frame_injection_g/trunk/src/data_dataframe_cpp.cpp 2010-03-29 15:06:52 UTC (rev 248)
@@ -331,9 +331,6 @@
for (i = 0;i < 2;i++)
seq_ctrl_char[i] = * ( ( (unsigned char*) & seq_ctrl_int) + i);
- uint16_t temp_payload_size = lineedit_payload->text().length();
- const char *str_payload = lineedit_payload->text();
-
memcpy (frame, &frame_ctrl, sizeof (frame_ctrl));
frame += sizeof (frame_ctrl);
@@ -354,6 +351,7 @@
uint8_t llc_hdr[8] = {0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00, 0x08, 0x00};
int msdu_size = lineedit_msdu_size->text().toInt();
+ const char *str_payload = lineedit_payload->text();
if (msdu_size == 0)
{
@@ -372,78 +370,86 @@
{
if ( (lineedit_src_ip1->text() != "") && (lineedit_src_ip1->text().toInt() < 256) && (lineedit_src_ip2->text() != "") && (lineedit_src_ip2->text().toInt() < 256) && (le_src_ip3->text() != "") && (le_src_ip3->text().toInt() < 256) && (le_src_ip4->text() != "") && (le_src_ip4->text().toInt() < 256))
{
-
if ( (le_dest_ip1->text() != "") && (le_dest_ip1->text().toInt() < 256) && (le_dest_ip2->text() != "") && (le_dest_ip2->text().toInt() < 256) && (le_dest_ip3->text() != "") && (le_dest_ip3->text().toInt() < 256) && (le_dest_ip4->text() != "") && (le_dest_ip4->text().toInt() < 256))
{
- uint8_t ttl = lineedit_ip_ttl->text().toInt();
- unsigned char icmp_hdr[] = {0x08, 0x00, 0xd5, 0x1a, 0x7b, 0x0e, 0x01, 0x30};
- unsigned char *ptr = (unsigned char *) & ip_hdr;
- int total_length = sizeof (icmp_hdr) + msdu_size + sizeof (ip_hdr);
+ if (lineedit_TOS1->text().toInt() <= 1 && lineedit_TOS1->text() != "" && lineedit_TOS2->text().toInt() <= 1 && lineedit_TOS2->text() != "" && lineedit_TOS3->text().toInt() <= 1 && lineedit_TOS3->text() != "" && lineedit_TOS4->text().toInt() <= 1 && lineedit_TOS4->text() != "" && lineedit_TOS5->text().toInt() <= 1 && lineedit_TOS5->text() != "" && lineedit_TOS6->text().toInt() <= 1 && lineedit_TOS6->text() != "" && lineedit_TOS7->text().toInt() <= 1 && lineedit_TOS7->text() != "" && lineedit_TOS8->text().toInt() <= 1 && lineedit_TOS8->text() != "")
+ {
+ if (radiobutton_user_defined->isChecked() == 1)
+ msdu_size = lineedit_payload->text().length();
- memset (&ip_hdr, 0, sizeof (ip_hdr));
+ uint8_t ttl = lineedit_ip_ttl->text().toInt();
+ unsigned char icmp_hdr[] = {0x08, 0x00, 0x00, 0x00, 0x7b, 0x0e, 0x01, 0x30};
+ unsigned char *ptr = (unsigned char *) & ip_hdr;
+ int total_length = sizeof (icmp_hdr) + msdu_size + sizeof (ip_hdr);
- ip_hdr.ver_len = 0x45;
- ip_hdr.dscp = 0x00;
- ip_hdr.total_len = ( (total_length >> 8) & 0x00ff) | ( (total_length << 8) & 0xff00);
- ip_hdr.id = 0x0000;
- ip_hdr.flag_offset = 0x0000;
- ip_hdr.ttl = ttl;
- ip_hdr.protocol = 0x01; // ICMP Protocol
+ memset (&ip_hdr, 0, sizeof (ip_hdr));
- ip_hdr.src_ip[0] = (unsigned char) lineedit_src_ip1->text().toInt();
- ip_hdr.src_ip[1] = (unsigned char) lineedit_src_ip2->text().toInt();
- ip_hdr.src_ip[2] = (unsigned char) le_src_ip3->text().toInt();
- ip_hdr.src_ip[3] = (unsigned char) le_src_ip4->text().toInt();
+ ip_hdr.ver_len = 0x45;
+ ip_hdr.dscp = mac.bits_to_byte (lineedit_TOS1->text(), lineedit_TOS2->text(), lineedit_TOS3->text(), lineedit_TOS4->text(), lineedit_TOS5->text(), lineedit_TOS6->text(), lineedit_TOS7->text(), lineedit_TOS8->text());
+ ip_hdr.total_len = htons (total_length);
+ ip_hdr.id = 0x0000;
+ ip_hdr.flag_offset = 0x0000;
+ ip_hdr.ttl = ttl;
+ ip_hdr.protocol = 0x01; // ICMP Protocol
- ip_hdr.dest_ip[0] = (unsigned char) le_dest_ip1->text().toInt();
- ip_hdr.dest_ip[1] = (unsigned char) le_dest_ip2->text().toInt();
- ip_hdr.dest_ip[2] = (unsigned char) le_dest_ip3->text().toInt();
- ip_hdr.dest_ip[3] = (unsigned char) le_dest_ip4->text().toInt();
+ ip_hdr.src_ip[0] = (unsigned char) lineedit_src_ip1->text().toInt();
+ ip_hdr.src_ip[1] = (unsigned char) lineedit_src_ip2->text().toInt();
+ ip_hdr.src_ip[2] = (unsigned char) le_src_ip3->text().toInt();
+ ip_hdr.src_ip[3] = (unsigned char) le_src_ip4->text().toInt();
- int check_sum = ip_check_sum (ptr, sizeof (ip_hdr));
- ip_hdr.checksum = ( (check_sum >> 8) & 0x00ff) | ( (check_sum << 8) & 0xff00);
- memcpy (frame, &ip_hdr, sizeof (ip_hdr));
- frame += sizeof (ip_hdr);
+ ip_hdr.dest_ip[0] = (unsigned char) le_dest_ip1->text().toInt();
+ ip_hdr.dest_ip[1] = (unsigned char) le_dest_ip2->text().toInt();
+ ip_hdr.dest_ip[2] = (unsigned char) le_dest_ip3->text().toInt();
+ ip_hdr.dest_ip[3] = (unsigned char) le_dest_ip4->text().toInt();
- /* TODO: Calculate ICMP header checksum here */
- // modify the length
+ int check_sum = ip_check_sum (ptr, sizeof (ip_hdr));
+ ip_hdr.checksum = htons (check_sum);
+ memcpy (frame, &ip_hdr, sizeof (ip_hdr));
+ frame += sizeof (ip_hdr);
- memcpy (frame, &icmp_hdr, sizeof (icmp_hdr));
- frame += sizeof (icmp_hdr);
- if (radiobutton_user_defined->isChecked() == 1)
- {
- memcpy (frame, str_payload, temp_payload_size);
- frame += temp_payload_size;
- frame_len = frame - &msg[0];
- func_data_call (msg, frame_len);
- }
- else if (radiobutton_user_defined->isChecked() == 0)
- {
- unsigned char icmp_payload[msdu_size];
+ unsigned char *icmp_packet;
+ int icmp_hdr_len = sizeof (icmp_hdr);
+ int icmp_len = msdu_size + icmp_hdr_len;
- for (int i = 0; i < msdu_size; i++)
- icmp_payload[i] = 'a';
+ icmp_packet = (unsigned char*) malloc (sizeof (unsigned char) * icmp_len );
+ if (icmp_packet == NULL)
+ {
+ printf ("Unable to allocate memory...\n");
+ exit (1);
+ }
- memcpy (frame, &icmp_payload, msdu_size);
- frame += msdu_size;
+ memcpy (icmp_packet, &icmp_hdr, sizeof (icmp_hdr));
+
+ if (radiobutton_user_defined->isChecked() == 1)
+ memcpy (icmp_packet+icmp_hdr_len, str_payload, msdu_size);
+ else
+ {
+ unsigned char icmp_payload[msdu_size];
+ memset (icmp_payload, 'a', msdu_size);
+ memcpy (icmp_packet+icmp_hdr_len, &icmp_payload, msdu_size);
+ }
+ int offset = 2;
+ unsigned short icmp_checksum = ip_check_sum (icmp_packet, icmp_len);
+ icmp_checksum = htons (icmp_checksum);
+ printf ("Checksum : %d\n", icmp_checksum);
+ for (i = 0;i < 2;i++)
+ icmp_packet[offset + i] = * ( ( (unsigned char*) & icmp_checksum) + i);
+ memcpy (frame, icmp_packet, icmp_len);
+ frame += icmp_len;
frame_len = frame - &msg[0];
func_data_call (msg, frame_len);
}
+ else
+ KMessageBox::error (this, "Invalid ToS field configuration");
}
else
- {
- KMessageBox::error (this, "Invalid Destination IP AddressT");
- }
+ KMessageBox::error (this, "Invalid Destination IP Address");
}
else
- {
KMessageBox::error (this, "Invalid source IP address");
- }
}
else
- {
KMessageBox::error (this, "TTL should be less than 256");
- }
}
}
else
@@ -695,11 +701,11 @@
fclose (fptr);
}
-unsigned short data_dataframe_cpp::ip_check_sum (unsigned char *buff, int len_ip_header)
+unsigned short data_dataframe_cpp::ip_check_sum (unsigned char *buff, int len)
{
unsigned short word16, i;
unsigned long sum = 0; // make 16 bit words out of every two adjacent 8 bit words in the packet and add them up
- for (i = 0;i < len_ip_header;i = i + 2)
+ for (i = 0;i < len;i = i + 2)
{
word16 = ( (buff[i] << 8) & 0xFF00) + (buff[i+1] & 0xFF);
sum = sum + (unsigned long) word16;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <sat...@us...> - 2010-03-23 13:19:31
|
Revision: 247
http://w-meter.svn.sourceforge.net/w-meter/?rev=247&view=rev
Author: sathakselva
Date: 2010-03-23 13:19:18 +0000 (Tue, 23 Mar 2010)
Log Message:
-----------
ICMP Req frame added
Modified Paths:
--------------
frame_injection_g/trunk/injection.kdevelop
frame_injection_g/trunk/src/data_dataFrame.cpp
frame_injection_g/trunk/src/data_dataFrame.h
frame_injection_g/trunk/src/data_dataFrame.ui
frame_injection_g/trunk/src/data_dataframe_cpp.cpp
frame_injection_g/trunk/src/data_dataframe_cpp.h
frame_injection_g/trunk/src/data_qos_data_cpp.cpp
frame_injection_g/trunk/src/data_qos_data_cpp.h
Modified: frame_injection_g/trunk/injection.kdevelop
===================================================================
--- frame_injection_g/trunk/injection.kdevelop 2010-03-22 09:11:00 UTC (rev 246)
+++ frame_injection_g/trunk/injection.kdevelop 2010-03-23 13:19:18 UTC (rev 247)
@@ -16,8 +16,8 @@
<projectname>injection</projectname>
<projectdirectory>.</projectdirectory>
<absoluteprojectpath>false</absoluteprojectpath>
- <description></description>
- <defaultencoding></defaultencoding>
+ <description/>
+ <defaultencoding/>
<versioncontrol/>
</general>
<kdevcppsupport>
@@ -55,7 +55,7 @@
<includePaths>.;</includePaths>
</codecompletion>
<creategettersetter>
- <prefixGet></prefixGet>
+ <prefixGet/>
<prefixSet>set</prefixSet>
<prefixVariable>m_,_</prefixVariable>
<parameterName>theValue</parameterName>
@@ -232,10 +232,10 @@
<kdevdebugger>
<general>
<dbgshell>libtool</dbgshell>
- <gdbpath></gdbpath>
- <configGdbScript></configGdbScript>
- <runShellScript></runShellScript>
- <runGdbScript></runGdbScript>
+ <gdbpath/>
+ <configGdbScript/>
+ <runShellScript/>
+ <runGdbScript/>
<breakonloadinglibs>true</breakonloadinglibs>
<separatetty>false</separatetty>
<floatingtoolbar>false</floatingtoolbar>
Modified: frame_injection_g/trunk/src/data_dataFrame.cpp
===================================================================
--- frame_injection_g/trunk/src/data_dataFrame.cpp 2010-03-22 09:11:00 UTC (rev 246)
+++ frame_injection_g/trunk/src/data_dataFrame.cpp 2010-03-23 13:19:18 UTC (rev 247)
@@ -11,11 +11,11 @@
#include "data_dataFrame.h"
#include <qvariant.h>
+#include <qlineedit.h>
#include <qframe.h>
#include <qgroupbox.h>
#include <qpushbutton.h>
#include <qlabel.h>
-#include <qlineedit.h>
#include <qbuttongroup.h>
#include <qradiobutton.h>
#include <qlayout.h>
@@ -33,6 +33,30 @@
setName( "data_dataFrame" );
setPaletteBackgroundColor( QColor( 180, 180, 180 ) );
+ lineedit_src_ip3 = new QLineEdit( this, "lineedit_src_ip3" );
+ lineedit_src_ip3->setGeometry( QRect( 196, 390, 40, 28 ) );
+ lineedit_src_ip3->setMaxLength( 3 );
+
+ lineedit_src_ip4 = new QLineEdit( this, "lineedit_src_ip4" );
+ lineedit_src_ip4->setGeometry( QRect( 240, 390, 40, 28 ) );
+ lineedit_src_ip4->setMaxLength( 3 );
+
+ lineedit_src_ip1_2 = new QLineEdit( this, "lineedit_src_ip1_2" );
+ lineedit_src_ip1_2->setGeometry( QRect( 110, 429, 40, 28 ) );
+ lineedit_src_ip1_2->setMaxLength( 3 );
+
+ lineedit_src_ip2_2 = new QLineEdit( this, "lineedit_src_ip2_2" );
+ lineedit_src_ip2_2->setGeometry( QRect( 153, 429, 40, 28 ) );
+ lineedit_src_ip2_2->setMaxLength( 3 );
+
+ lineedit_src_ip3_2 = new QLineEdit( this, "lineedit_src_ip3_2" );
+ lineedit_src_ip3_2->setGeometry( QRect( 196, 429, 40, 28 ) );
+ lineedit_src_ip3_2->setMaxLength( 3 );
+
+ lineedit_src_ip4_2 = new QLineEdit( this, "lineedit_src_ip4_2" );
+ lineedit_src_ip4_2->setGeometry( QRect( 240, 429, 40, 28 ) );
+ lineedit_src_ip4_2->setMaxLength( 3 );
+
frame4 = new QFrame( this, "frame4" );
frame4->setGeometry( QRect( 10, 10, 660, 560 ) );
frame4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, frame4->sizePolicy().hasHeightForWidth() ) );
@@ -52,10 +76,6 @@
data_run_button->setDefault( TRUE );
data_run_button->setFlat( FALSE );
- data_clear_button = new QPushButton( groupBox4, "data_clear_button" );
- data_clear_button->setGeometry( QRect( 140, 20, 80, 30 ) );
- data_clear_button->setDefault( TRUE );
-
data_mainwin_button = new QPushButton( groupBox4, "data_mainwin_button" );
data_mainwin_button->setGeometry( QRect( 240, 20, 90, 30 ) );
data_mainwin_button->setDefault( TRUE );
@@ -68,6 +88,10 @@
data_default_button->setGeometry( QRect( 470, 20, 80, 26 ) );
data_default_button->setDefault( TRUE );
+ data_clear_button = new QPushButton( groupBox4, "data_clear_button" );
+ data_clear_button->setGeometry( QRect( 140, 20, 80, 30 ) );
+ data_clear_button->setDefault( TRUE );
+
groupBox1 = new QGroupBox( frame4, "groupBox1" );
groupBox1->setGeometry( QRect( 10, 10, 580, 221 ) );
@@ -86,10 +110,6 @@
lineedit_address3_4->setGeometry( QRect( 216, 170, 30, 23 ) );
lineedit_address3_4->setMaxLength( 2 );
- lineedit_address2_4 = new QLineEdit( groupBox1, "lineedit_address2_4" );
- lineedit_address2_4->setGeometry( QRect( 216, 140, 30, 23 ) );
- lineedit_address2_4->setMaxLength( 2 );
-
lineedit_address2_2 = new QLineEdit( groupBox1, "lineedit_address2_2" );
lineedit_address2_2->setGeometry( QRect( 153, 140, 30, 23 ) );
lineedit_address2_2->setMaxLength( 2 );
@@ -146,12 +166,6 @@
lineedit_frame_2->setMaxLength( 1 );
lineedit_frame_2->setCursorPosition( 0 );
- bit_position = new QLabel( groupBox1, "bit_position" );
- bit_position->setGeometry( QRect( 123, 20, 40, 21 ) );
- bit_position->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, bit_position->sizePolicy().hasHeightForWidth() ) );
- bit_position->setTextFormat( QLabel::PlainText );
- bit_position->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignLeft ) );
-
lineedit_frame_4 = new QLineEdit( groupBox1, "lineedit_frame_4" );
lineedit_frame_4->setGeometry( QRect( 200, 40, 17, 22 ) );
lineedit_frame_4->setCursor( QCursor( 0 ) );
@@ -193,12 +207,6 @@
lineedit_frame_6->setMaxLength( 1 );
lineedit_frame_6->setCursorPosition( 0 );
- textLabel3_2 = new QLabel( groupBox1, "textLabel3_2" );
- textLabel3_2->setGeometry( QRect( 229, 20, 90, 20 ) );
-
- textLabel2_2 = new QLabel( groupBox1, "textLabel2_2" );
- textLabel2_2->setGeometry( QRect( 183, 20, 40, 20 ) );
-
textLabel1 = new QLabel( groupBox1, "textLabel1" );
textLabel1->setGeometry( QRect( 10, 40, 110, 22 ) );
@@ -219,20 +227,20 @@
groupBox2 = new QGroupBox( groupBox1, "groupBox2" );
groupBox2->setGeometry( QRect( 330, 80, 230, 121 ) );
+ lineedit_seq_no = new QLineEdit( groupBox2, "lineedit_seq_no" );
+ lineedit_seq_no->setGeometry( QRect( 140, 70, 60, 23 ) );
+ lineedit_seq_no->setMaxLength( 4 );
+
textLabel1_2 = new QLabel( groupBox2, "textLabel1_2" );
- textLabel1_2->setGeometry( QRect( 30, 30, 90, 20 ) );
+ textLabel1_2->setGeometry( QRect( 30, 30, 100, 22 ) );
textLabel2_3 = new QLabel( groupBox2, "textLabel2_3" );
- textLabel2_3->setGeometry( QRect( 30, 70, 90, 20 ) );
+ textLabel2_3->setGeometry( QRect( 30, 70, 101, 22 ) );
lineedit_frag_no = new QLineEdit( groupBox2, "lineedit_frag_no" );
- lineedit_frag_no->setGeometry( QRect( 130, 30, 60, 23 ) );
+ lineedit_frag_no->setGeometry( QRect( 140, 30, 60, 23 ) );
lineedit_frag_no->setMaxLength( 2 );
- lineedit_seq_no = new QLineEdit( groupBox2, "lineedit_seq_no" );
- lineedit_seq_no->setGeometry( QRect( 130, 70, 60, 23 ) );
- lineedit_seq_no->setMaxLength( 4 );
-
lineedit_frame_10 = new QLineEdit( groupBox1, "lineedit_frame_10" );
lineedit_frame_10->setGeometry( QRect( 360, 40, 17, 23 ) );
lineedit_frame_10->setMaxLength( 1 );
@@ -275,6 +283,22 @@
lineedit_frame_9->setMaxLength( 1 );
lineedit_frame_9->setCursorPosition( 0 );
+ lineedit_address2_4 = new QLineEdit( groupBox1, "lineedit_address2_4" );
+ lineedit_address2_4->setGeometry( QRect( 216, 140, 30, 23 ) );
+ lineedit_address2_4->setMaxLength( 2 );
+
+ textLabel3_2 = new QLabel( groupBox1, "textLabel3_2" );
+ textLabel3_2->setGeometry( QRect( 229, 20, 90, 20 ) );
+
+ bit_position = new QLabel( groupBox1, "bit_position" );
+ bit_position->setGeometry( QRect( 119, 20, 47, 22 ) );
+ bit_position->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, bit_position->sizePolicy().hasHeightForWidth() ) );
+ bit_position->setTextFormat( QLabel::PlainText );
+ bit_position->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignLeft ) );
+
+ textLabel2_2 = new QLabel( groupBox1, "textLabel2_2" );
+ textLabel2_2->setGeometry( QRect( 179, 20, 40, 20 ) );
+
groupBox3 = new QGroupBox( frame4, "groupBox3" );
groupBox3->setGeometry( QRect( 10, 231, 640, 250 ) );
@@ -284,28 +308,20 @@
lineedit_testid = new QLineEdit( groupBox3_2, "lineedit_testid" );
lineedit_testid->setGeometry( QRect( 20, 20, 60, 22 ) );
- lineedit_msdu_size = new QLineEdit( groupBox3, "lineedit_msdu_size" );
- lineedit_msdu_size->setGeometry( QRect( 490, 30, 90, 23 ) );
-
- textLabel1_3 = new QLabel( groupBox3, "textLabel1_3" );
- textLabel1_3->setGeometry( QRect( 390, 30, 80, 20 ) );
-
- lineedit_payload = new QLineEdit( groupBox3, "lineedit_payload" );
- lineedit_payload->setGeometry( QRect( 360, 140, 230, 22 ) );
-
textLabel2_4 = new QLabel( groupBox3, "textLabel2_4" );
textLabel2_4->setGeometry( QRect( 290, 140, 58, 20 ) );
buttonGroup1 = new QButtonGroup( groupBox3, "buttonGroup1" );
buttonGroup1->setGeometry( QRect( 400, 60, 180, 80 ) );
+ radiobutton_user_defined = new QRadioButton( buttonGroup1, "radiobutton_user_defined" );
+ radiobutton_user_defined->setGeometry( QRect( 50, 20, 100, 20 ) );
+ radiobutton_user_defined->setChecked( FALSE );
+
radiobutton_auto = new QRadioButton( buttonGroup1, "radiobutton_auto" );
radiobutton_auto->setGeometry( QRect( 50, 50, 93, 20 ) );
+ radiobutton_auto->setChecked( TRUE );
- radiobutton_user_defined = new QRadioButton( buttonGroup1, "radiobutton_user_defined" );
- radiobutton_user_defined->setGeometry( QRect( 50, 20, 100, 20 ) );
- radiobutton_user_defined->setChecked( TRUE );
-
textLabel1_4 = new QLabel( groupBox3, "textLabel1_4" );
textLabel1_4->setGeometry( QRect( 20, 30, 58, 20 ) );
@@ -315,26 +331,39 @@
textLabel3_3 = new QLabel( groupBox3, "textLabel3_3" );
textLabel3_3->setGeometry( QRect( 20, 109, 58, 20 ) );
+ textLabel5 = new QLabel( groupBox3, "textLabel5" );
+ textLabel5->setGeometry( QRect( 20, 193, 58, 20 ) );
+
textLabel4_3 = new QLabel( groupBox3, "textLabel4_3" );
- textLabel4_3->setGeometry( QRect( 20, 149, 58, 20 ) );
+ textLabel4_3->setGeometry( QRect( 20, 151, 58, 20 ) );
- textLabel5 = new QLabel( groupBox3, "textLabel5" );
- textLabel5->setGeometry( QRect( 20, 179, 58, 20 ) );
+ textLabel1_3 = new QLabel( groupBox3, "textLabel1_3" );
+ textLabel1_3->setGeometry( QRect( 380, 30, 90, 22 ) );
+ lineedit_payload = new QLineEdit( groupBox3, "lineedit_payload" );
+ lineedit_payload->setGeometry( QRect( 360, 140, 230, 22 ) );
+
+ lineedit_src_ip1 = new QLineEdit( groupBox3, "lineedit_src_ip1" );
+ lineedit_src_ip1->setGeometry( QRect( 90, 149, 40, 28 ) );
+ lineedit_src_ip1->setMaxLength( 3 );
+
+ lineedit_TOS1 = new QLineEdit( groupBox3, "lineedit_TOS1" );
+ lineedit_TOS1->setGeometry( QRect( 90, 30, 17, 23 ) );
+
lineedit_TOS2 = new QLineEdit( groupBox3, "lineedit_TOS2" );
lineedit_TOS2->setGeometry( QRect( 110, 30, 17, 23 ) );
lineedit_TOS3 = new QLineEdit( groupBox3, "lineedit_TOS3" );
lineedit_TOS3->setGeometry( QRect( 130, 30, 17, 23 ) );
- lineedit_TOS6 = new QLineEdit( groupBox3, "lineedit_TOS6" );
- lineedit_TOS6->setGeometry( QRect( 190, 30, 17, 23 ) );
+ lineedit_TOS4 = new QLineEdit( groupBox3, "lineedit_TOS4" );
+ lineedit_TOS4->setGeometry( QRect( 150, 30, 17, 23 ) );
lineedit_TOS5 = new QLineEdit( groupBox3, "lineedit_TOS5" );
lineedit_TOS5->setGeometry( QRect( 170, 30, 17, 23 ) );
- lineedit_TOS4 = new QLineEdit( groupBox3, "lineedit_TOS4" );
- lineedit_TOS4->setGeometry( QRect( 150, 30, 17, 23 ) );
+ lineedit_TOS6 = new QLineEdit( groupBox3, "lineedit_TOS6" );
+ lineedit_TOS6->setGeometry( QRect( 190, 30, 17, 23 ) );
lineedit_TOS7 = new QLineEdit( groupBox3, "lineedit_TOS7" );
lineedit_TOS7->setGeometry( QRect( 210, 30, 17, 23 ) );
@@ -354,17 +383,38 @@
lineedit_ip_ttl = new QLineEdit( groupBox3, "lineedit_ip_ttl" );
lineedit_ip_ttl->setGeometry( QRect( 90, 110, 60, 23 ) );
- lineedit_TOS1 = new QLineEdit( groupBox3, "lineedit_TOS1" );
- lineedit_TOS1->setGeometry( QRect( 90, 30, 17, 23 ) );
+ lineedit_msdu_size = new QLineEdit( groupBox3, "lineedit_msdu_size" );
+ lineedit_msdu_size->setGeometry( QRect( 490, 30, 90, 23 ) );
- lineedit_ip_source = new QLineEdit( groupBox3, "lineedit_ip_source" );
- lineedit_ip_source->setGeometry( QRect( 90, 150, 120, 23 ) );
- lineedit_ip_source->setMaxLength( 15 );
+ lineedit_src_ip2 = new QLineEdit( groupBox3, "lineedit_src_ip2" );
+ lineedit_src_ip2->setGeometry( QRect( 130, 149, 40, 28 ) );
+ lineedit_src_ip2->setMaxLength( 3 );
- lineedit_ip_dest = new QLineEdit( groupBox3, "lineedit_ip_dest" );
- lineedit_ip_dest->setGeometry( QRect( 90, 180, 120, 23 ) );
+ le_src_ip3 = new QLineEdit( groupBox3, "le_src_ip3" );
+ le_src_ip3->setGeometry( QRect( 170, 149, 40, 28 ) );
+ le_src_ip3->setMaxLength( 3 );
+
+ le_src_ip4 = new QLineEdit( groupBox3, "le_src_ip4" );
+ le_src_ip4->setGeometry( QRect( 210, 149, 40, 28 ) );
+ le_src_ip4->setMaxLength( 3 );
+
+ le_dest_ip2 = new QLineEdit( groupBox3, "le_dest_ip2" );
+ le_dest_ip2->setGeometry( QRect( 130, 188, 40, 28 ) );
+ le_dest_ip2->setMaxLength( 3 );
+
+ le_dest_ip3 = new QLineEdit( groupBox3, "le_dest_ip3" );
+ le_dest_ip3->setGeometry( QRect( 170, 189, 40, 28 ) );
+ le_dest_ip3->setMaxLength( 3 );
+
+ le_dest_ip4 = new QLineEdit( groupBox3, "le_dest_ip4" );
+ le_dest_ip4->setGeometry( QRect( 210, 189, 40, 28 ) );
+ le_dest_ip4->setMaxLength( 3 );
+
+ le_dest_ip1 = new QLineEdit( this, "le_dest_ip1" );
+ le_dest_ip1->setGeometry( QRect( 110, 429, 40, 28 ) );
+ le_dest_ip1->setMaxLength( 3 );
languageChange();
- resize( QSize(681, 580).expandedTo(minimumSizeHint()) );
+ resize( QSize(830, 569).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
// signals and slots connections
@@ -413,12 +463,42 @@
setTabOrder( lineedit_address3_5, lineedit_address3_6 );
setTabOrder( lineedit_address3_6, lineedit_frag_no );
setTabOrder( lineedit_frag_no, lineedit_seq_no );
- setTabOrder( lineedit_seq_no, lineedit_msdu_size );
- setTabOrder( lineedit_msdu_size, radiobutton_user_defined );
- setTabOrder( radiobutton_user_defined, lineedit_payload );
- setTabOrder( lineedit_payload, data_run_button );
+ setTabOrder( lineedit_seq_no, lineedit_TOS1 );
+ setTabOrder( lineedit_TOS1, lineedit_TOS2 );
+ setTabOrder( lineedit_TOS2, lineedit_TOS3 );
+ setTabOrder( lineedit_TOS3, lineedit_TOS4 );
+ setTabOrder( lineedit_TOS4, lineedit_TOS5 );
+ setTabOrder( lineedit_TOS5, lineedit_TOS6 );
+ setTabOrder( lineedit_TOS6, lineedit_TOS7 );
+ setTabOrder( lineedit_TOS7, lineedit_TOS8 );
+ setTabOrder( lineedit_TOS8, lineedit_flag1 );
+ setTabOrder( lineedit_flag1, lineedit_flag2 );
+ setTabOrder( lineedit_flag2, lineedit_flag3 );
+ setTabOrder( lineedit_flag3, lineedit_ip_ttl );
+ setTabOrder( lineedit_ip_ttl, lineedit_src_ip1 );
+ setTabOrder( lineedit_src_ip1, lineedit_src_ip2 );
+ setTabOrder( lineedit_src_ip2, le_src_ip3 );
+ setTabOrder( le_src_ip3, le_src_ip4 );
+ setTabOrder( le_src_ip4, le_dest_ip1 );
+ setTabOrder( le_dest_ip1, le_dest_ip2 );
+ setTabOrder( le_dest_ip2, le_dest_ip3 );
+ setTabOrder( le_dest_ip3, le_dest_ip4 );
+ setTabOrder( le_dest_ip4, lineedit_msdu_size );
+ setTabOrder( lineedit_msdu_size, radiobutton_auto );
+ setTabOrder( radiobutton_auto, lineedit_payload );
+ setTabOrder( lineedit_payload, lineedit_testid );
+ setTabOrder( lineedit_testid, data_run_button );
setTabOrder( data_run_button, data_clear_button );
setTabOrder( data_clear_button, data_mainwin_button );
+ setTabOrder( data_mainwin_button, data_save_button );
+ setTabOrder( data_save_button, data_default_button );
+ setTabOrder( data_default_button, radiobutton_user_defined );
+ setTabOrder( radiobutton_user_defined, lineedit_src_ip3 );
+ setTabOrder( lineedit_src_ip3, lineedit_src_ip4 );
+ setTabOrder( lineedit_src_ip4, lineedit_src_ip1_2 );
+ setTabOrder( lineedit_src_ip1_2, lineedit_src_ip2_2 );
+ setTabOrder( lineedit_src_ip2_2, lineedit_src_ip3_2 );
+ setTabOrder( lineedit_src_ip3_2, lineedit_src_ip4_2 );
}
/*
@@ -440,9 +520,6 @@
data_run_button->setText( tr2i18n( "&Run" ) );
data_run_button->setAccel( QKeySequence( tr2i18n( "Alt+R" ) ) );
QToolTip::add( data_run_button, tr2i18n( "Click here to run the application" ) );
- data_clear_button->setText( tr2i18n( "c&Lear" ) );
- data_clear_button->setAccel( QKeySequence( tr2i18n( "Alt+L" ) ) );
- QToolTip::add( data_clear_button, tr2i18n( "Click here to default settings" ) );
data_mainwin_button->setText( tr2i18n( "&Main window" ) );
data_mainwin_button->setAccel( QKeySequence( tr2i18n( "Alt+M" ) ) );
QWhatsThis::add( data_mainwin_button, QString::null );
@@ -452,6 +529,9 @@
data_default_button->setText( tr2i18n( "&Default" ) );
data_default_button->setAccel( QKeySequence( tr2i18n( "Alt+D" ) ) );
QToolTip::add( data_default_button, tr2i18n( "Make this values as default values" ) );
+ data_clear_button->setText( tr2i18n( "c&Lear" ) );
+ data_clear_button->setAccel( QKeySequence( tr2i18n( "Alt+L" ) ) );
+ QToolTip::add( data_clear_button, tr2i18n( "Click here to default settings" ) );
groupBox1->setTitle( tr2i18n( "MAC Header" ) );
textLabel4_2->setText( tr2i18n( "Address 3" ) );
lineedit_address1_5->setText( tr2i18n( "FF" ) );
@@ -460,8 +540,6 @@
QToolTip::add( lineedit_address2_3, tr2i18n( "Transmitter Address" ) );
lineedit_address3_4->setText( tr2i18n( "FF" ) );
QToolTip::add( lineedit_address3_4, tr2i18n( "Transmitter Address" ) );
- lineedit_address2_4->setText( tr2i18n( "FF" ) );
- QToolTip::add( lineedit_address2_4, tr2i18n( "Transmitter Address" ) );
lineedit_address2_2->setText( tr2i18n( "FF" ) );
QToolTip::add( lineedit_address2_2, tr2i18n( "Transmitter Address" ) );
lineedit_address2_6->setText( tr2i18n( "FF" ) );
@@ -491,7 +569,6 @@
lineedit_frame_2->setText( QString::null );
lineedit_frame_2->setInputMask( tr2i18n( "9; " ) );
QToolTip::add( lineedit_frame_2, tr2i18n( "Protocol Version" ) );
- bit_position->setText( tr2i18n( "b0 b1" ) );
lineedit_frame_4->setText( QString::null );
lineedit_frame_4->setInputMask( tr2i18n( "0; " ) );
QToolTip::add( lineedit_frame_4, tr2i18n( "Type" ) );
@@ -516,8 +593,6 @@
lineedit_frame_6->setText( QString::null );
lineedit_frame_6->setInputMask( tr2i18n( "0; " ) );
QToolTip::add( lineedit_frame_6, tr2i18n( "Subtype" ) );
- textLabel3_2->setText( tr2i18n( "b4 b5 b6 b7" ) );
- textLabel2_2->setText( tr2i18n( "b2 b3" ) );
textLabel1->setText( tr2i18n( "Frame control" ) );
textLabel2->setText( tr2i18n( "NAV" ) );
textLabel3->setText( tr2i18n( "Address 1" ) );
@@ -526,12 +601,12 @@
lineedit_frame_16->setInputMask( tr2i18n( "9; " ) );
QToolTip::add( lineedit_frame_16, tr2i18n( "Order" ) );
groupBox2->setTitle( tr2i18n( "Sequence Control" ) );
+ lineedit_seq_no->setInputMask( tr2i18n( "0000; " ) );
+ QToolTip::add( lineedit_seq_no, tr2i18n( "Sequence number - range(0-4095)" ) );
textLabel1_2->setText( tr2i18n( "Fragment No" ) );
textLabel2_3->setText( tr2i18n( "Sequence No" ) );
lineedit_frag_no->setInputMask( tr2i18n( "00; " ) );
QToolTip::add( lineedit_frag_no, tr2i18n( "Number of Fragments -range(0-15)" ) );
- lineedit_seq_no->setInputMask( tr2i18n( "0000; " ) );
- QToolTip::add( lineedit_seq_no, tr2i18n( "Sequence number - range(0-4095)" ) );
lineedit_frame_10->setText( QString::null );
lineedit_frame_10->setInputMask( tr2i18n( "9; " ) );
QToolTip::add( lineedit_frame_10, tr2i18n( "From DS" ) );
@@ -558,25 +633,41 @@
lineedit_frame_9->setInputMask( tr2i18n( "9; " ) );
QToolTip::add( lineedit_frame_9, tr2i18n( "To DS" ) );
QWhatsThis::add( lineedit_frame_9, QString::null );
+ lineedit_address2_4->setText( tr2i18n( "FF" ) );
+ QToolTip::add( lineedit_address2_4, tr2i18n( "Transmitter Address" ) );
+ textLabel3_2->setText( tr2i18n( "b4 b5 b6 b7" ) );
+ bit_position->setText( tr2i18n( "b0 b1" ) );
+ textLabel2_2->setText( tr2i18n( "b2 b3" ) );
groupBox3->setTitle( tr2i18n( "Frame body" ) );
groupBox3_2->setTitle( tr2i18n( "TEST ID" ) );
lineedit_testid->setInputMask( tr2i18n( "0000; " ) );
- lineedit_msdu_size->setInputMask( tr2i18n( "0000; " ) );
- QToolTip::add( lineedit_msdu_size, tr2i18n( "MSDU Size(0-2304)" ) );
- textLabel1_3->setText( tr2i18n( "MSDU size" ) );
- QToolTip::add( lineedit_payload, tr2i18n( "Payload" ) );
textLabel2_4->setText( tr2i18n( "Payload" ) );
buttonGroup1->setTitle( tr2i18n( "Payload Type" ) );
QToolTip::add( buttonGroup1, tr2i18n( "Select payload type" ) );
+ radiobutton_user_defined->setText( tr2i18n( "User Defined" ) );
radiobutton_auto->setText( tr2i18n( "Automatic" ) );
- radiobutton_user_defined->setText( tr2i18n( "User Defined" ) );
textLabel1_4->setText( tr2i18n( "TOS" ) );
textLabel2_5->setText( tr2i18n( "Flags" ) );
textLabel3_3->setText( tr2i18n( "TTL" ) );
+ textLabel5->setText( tr2i18n( "Dest IP" ) );
textLabel4_3->setText( tr2i18n( "Source IP" ) );
- textLabel5->setText( tr2i18n( "Dest IP" ) );
- lineedit_ip_source->setInputMask( tr2i18n( "000.000.000.000;0" ) );
- lineedit_ip_dest->setInputMask( tr2i18n( "000.000.000.000;0" ) );
+ textLabel1_3->setText( tr2i18n( "MSDU size" ) );
+ QToolTip::add( lineedit_payload, tr2i18n( "Payload" ) );
+ lineedit_TOS1->setText( tr2i18n( "0" ) );
+ lineedit_TOS2->setText( tr2i18n( "0" ) );
+ lineedit_TOS3->setText( tr2i18n( "0" ) );
+ lineedit_TOS4->setText( tr2i18n( "0" ) );
+ lineedit_TOS5->setText( tr2i18n( "0" ) );
+ lineedit_TOS6->setText( tr2i18n( "0" ) );
+ lineedit_TOS7->setText( tr2i18n( "0" ) );
+ lineedit_TOS8->setText( tr2i18n( "0" ) );
+ lineedit_flag1->setText( tr2i18n( "0" ) );
+ lineedit_flag2->setText( tr2i18n( "0" ) );
+ lineedit_flag3->setText( tr2i18n( "0" ) );
+ lineedit_ip_ttl->setText( tr2i18n( "100" ) );
+ lineedit_msdu_size->setText( QString::null );
+ lineedit_msdu_size->setInputMask( tr2i18n( "0000; " ) );
+ QToolTip::add( lineedit_msdu_size, tr2i18n( "MSDU Size(0-2304)" ) );
}
void data_dataFrame::data_run_click()
Modified: frame_injection_g/trunk/src/data_dataFrame.h
===================================================================
--- frame_injection_g/trunk/src/data_dataFrame.h 2010-03-22 09:11:00 UTC (rev 246)
+++ frame_injection_g/trunk/src/data_dataFrame.h 2010-03-23 13:19:18 UTC (rev 247)
@@ -16,11 +16,11 @@
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
+class QLineEdit;
class QFrame;
class QGroupBox;
class QPushButton;
class QLabel;
-class QLineEdit;
class QButtonGroup;
class QRadioButton;
@@ -32,19 +32,24 @@
data_dataFrame( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~data_dataFrame();
+ QLineEdit* lineedit_src_ip3;
+ QLineEdit* lineedit_src_ip4;
+ QLineEdit* lineedit_src_ip1_2;
+ QLineEdit* lineedit_src_ip2_2;
+ QLineEdit* lineedit_src_ip3_2;
+ QLineEdit* lineedit_src_ip4_2;
QFrame* frame4;
QGroupBox* groupBox4;
QPushButton* data_run_button;
- QPushButton* data_clear_button;
QPushButton* data_mainwin_button;
QPushButton* data_save_button;
QPushButton* data_default_button;
+ QPushButton* data_clear_button;
QGroupBox* groupBox1;
QLabel* textLabel4_2;
QLineEdit* lineedit_address1_5;
QLineEdit* lineedit_address2_3;
QLineEdit* lineedit_address3_4;
- QLineEdit* lineedit_address2_4;
QLineEdit* lineedit_address2_2;
QLineEdit* lineedit_address2_6;
QLineEdit* lineedit_address3_2;
@@ -58,7 +63,6 @@
QLineEdit* lineedit_address2_1;
QLineEdit* lineedit_frame_1;
QLineEdit* lineedit_frame_2;
- QLabel* bit_position;
QLineEdit* lineedit_frame_4;
QLineEdit* lineedit_frame_3;
QLineEdit* lineedit_frame_15;
@@ -67,18 +71,16 @@
QLineEdit* lineedit_frame_5;
QLineEdit* lineedit_frame_7;
QLineEdit* lineedit_frame_6;
- QLabel* textLabel3_2;
- QLabel* textLabel2_2;
QLabel* textLabel1;
QLabel* textLabel2;
QLabel* textLabel3;
QLabel* textLabel4;
QLineEdit* lineedit_frame_16;
QGroupBox* groupBox2;
+ QLineEdit* lineedit_seq_no;
QLabel* textLabel1_2;
QLabel* textLabel2_3;
QLineEdit* lineedit_frag_no;
- QLineEdit* lineedit_seq_no;
QLineEdit* lineedit_frame_10;
QLineEdit* lineedit_frame_11;
QLineEdit* lineedit_frame_12;
@@ -88,35 +90,45 @@
QLineEdit* lineedit_address3_6;
QLineEdit* lineedit_address1_1;
QLineEdit* lineedit_frame_9;
+ QLineEdit* lineedit_address2_4;
+ QLabel* textLabel3_2;
+ QLabel* bit_position;
+ QLabel* textLabel2_2;
QGroupBox* groupBox3;
QGroupBox* groupBox3_2;
QLineEdit* lineedit_testid;
- QLineEdit* lineedit_msdu_size;
- QLabel* textLabel1_3;
- QLineEdit* lineedit_payload;
QLabel* textLabel2_4;
QButtonGroup* buttonGroup1;
+ QRadioButton* radiobutton_user_defined;
QRadioButton* radiobutton_auto;
- QRadioButton* radiobutton_user_defined;
QLabel* textLabel1_4;
QLabel* textLabel2_5;
QLabel* textLabel3_3;
+ QLabel* textLabel5;
QLabel* textLabel4_3;
- QLabel* textLabel5;
+ QLabel* textLabel1_3;
+ QLineEdit* lineedit_payload;
+ QLineEdit* lineedit_src_ip1;
+ QLineEdit* lineedit_TOS1;
QLineEdit* lineedit_TOS2;
QLineEdit* lineedit_TOS3;
+ QLineEdit* lineedit_TOS4;
+ QLineEdit* lineedit_TOS5;
QLineEdit* lineedit_TOS6;
- QLineEdit* lineedit_TOS5;
- QLineEdit* lineedit_TOS4;
QLineEdit* lineedit_TOS7;
QLineEdit* lineedit_TOS8;
QLineEdit* lineedit_flag1;
QLineEdit* lineedit_flag2;
QLineEdit* lineedit_flag3;
QLineEdit* lineedit_ip_ttl;
- QLineEdit* lineedit_TOS1;
- QLineEdit* lineedit_ip_source;
- QLineEdit* lineedit_ip_dest;
+ QLineEdit* lineedit_msdu_size;
+ QLineEdit* lineedit_src_ip2;
+ QLineEdit* le_src_ip3;
+ QLineEdit* le_src_ip4;
+ QLineEdit* le_dest_ip2;
+ QLineEdit* le_dest_ip3;
+ QLineEdit* le_dest_ip4;
+ QLineEdit* le_dest_ip1;
public slots:
virtual void data_run_click();
Modified: frame_injection_g/trunk/src/data_dataFrame.ui
===================================================================
--- frame_injection_g/trunk/src/data_dataFrame.ui 2010-03-22 09:11:00 UTC (rev 246)
+++ frame_injection_g/trunk/src/data_dataFrame.ui 2010-03-23 13:19:18 UTC (rev 247)
@@ -1,1891 +1,2152 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>data_dataFrame</class>
-<widget class="QWidget">
- <property name="name">
- <cstring>data_dataFrame</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>681</width>
- <height>580</height>
- </rect>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>180</red>
- <green>180</green>
- <blue>180</blue>
- </color>
- </property>
- <property name="caption">
- <string>Data Frame -Data </string>
- </property>
- <widget class="QFrame">
- <property name="name">
- <cstring>frame4</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>10</y>
- <width>660</width>
- <height>560</height>
- </rect>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="frameShape">
- <enum>StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>Sunken</enum>
- </property>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>groupBox4</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>490</y>
- <width>581</width>
- <height>61</height>
- </rect>
- </property>
- <property name="title">
- <string></string>
- </property>
- <widget class="QPushButton">
- <property name="name">
- <cstring>data_run_button</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>30</x>
- <y>20</y>
- <width>80</width>
- <height>30</height>
- </rect>
- </property>
- <property name="cursor">
- <cursor>0</cursor>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="acceptDrops">
- <bool>true</bool>
- </property>
- <property name="autoMask">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>&Run</string>
- </property>
- <property name="accel">
- <string>Alt+R</string>
- </property>
- <property name="autoDefault">
- <bool>false</bool>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- <property name="flat">
- <bool>false</bool>
- </property>
- <property name="toolTip" stdset="0">
- <string>Click here to run the application</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>data_clear_button</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>140</x>
- <y>20</y>
- <width>80</width>
- <height>30</height>
- </rect>
- </property>
- <property name="text">
- <string>c&Lear</string>
- </property>
- <property name="accel">
- <string>Alt+L</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- <property name="toolTip" stdset="0">
- <string>Click here to default settings</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>data_mainwin_button</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>240</x>
- <y>20</y>
- <width>90</width>
- <height>30</height>
- </rect>
- </property>
- <property name="text">
- <string>&Main window</string>
- </property>
- <property name="accel">
- <string>Alt+M</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- <property name="whatsThis" stdset="0">
- <string></string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>data_save_button</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>360</x>
- <y>20</y>
- <width>80</width>
- <height>26</height>
- </rect>
- </property>
- <property name="text">
- <string>&Save</string>
- </property>
- <property name="accel">
- <string>Alt+S</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- <property name="toolTip" stdset="0">
- <string>Save this template</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>data_default_button</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>470</x>
- <y>20</y>
- <width>80</width>
- <height>26</height>
- </rect>
- </property>
- <property name="text">
- <string>&Default</string>
- </property>
- <property name="accel">
- <string>Alt+D</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- <property name="toolTip" stdset="0">
- <string>Make this values as default values</string>
- </property>
- </widget>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>groupBox1</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>10</y>
- <width>580</width>
- <height>221</height>
- </rect>
- </property>
- <property name="title">
- <string>MAC Header</string>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel4_2</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>9</x>
- <y>171</y>
- <width>90</width>
- <height>22</height>
- </rect>
- </property>
- <property name="text">
- <string>Address 3</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address1_5</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>248</x>
- <y>110</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Receiver Addres</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address2_3</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>185</x>
- <y>140</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address3_4</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>216</x>
- <y>170</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address2_4</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>216</x>
- <y>140</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address2_2</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>153</x>
- <y>140</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address2_6</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>280</x>
- <y>140</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address3_2</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>152</x>
- <y>169</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address1_3</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>184</x>
- <y>110</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Receiver Addres</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address1_2</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>152</x>
- <y>110</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Receiver Addres</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address3_3</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>184</x>
- <y>169</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address3_5</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>249</x>
- <y>170</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address2_5</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>248</x>
- <y>140</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address1_6</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>280</x>
- <y>110</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Receiver Addres</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address1_4</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>216</x>
- <y>110</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Receiver Addres</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address2_1</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>120</x>
- <y>140</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="inputMask">
- <string></string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_1</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>120</x>
- <y>40</y>
- <width>17</width>
- <height>22</height>
- </rect>
- </property>
- <property name="cursor">
- <cursor>0</cursor>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>9; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Protocol Version</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_2</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>140</x>
- <y>40</y>
- <width>17</width>
- <height>22</height>
- </rect>
- </property>
- <property name="cursor">
- <cursor>0</cursor>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>9; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Protocol Version</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>bit_position</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>123</x>
- <y>20</y>
- <width>40</width>
- <height>21</height>
- </rect>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>b0 b1</string>
- </property>
- <property name="textFormat">
- <enum>PlainText</enum>
- </property>
- <property name="alignment">
- <set>AlignVCenter|AlignLeft</set>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_4</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>200</x>
- <y>40</y>
- <width>17</width>
- <height>22</height>
- </rect>
- </property>
- <property name="cursor">
- <cursor>0</cursor>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>0; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Type</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_3</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>180</x>
- <y>40</y>
- <width>17</width>
- <height>22</height>
- </rect>
- </property>
- <property name="cursor">
- <cursor>0</cursor>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>0; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Type</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_15</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>510</x>
- <y>40</y>
- <width>17</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>9; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Protected Frame</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_NAV</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>120</x>
- <y>80</y>
- <width>190</width>
- <height>22</height>
- </rect>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>5</number>
- </property>
- <property name="inputMask">
- <string>00000; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>NAV - Duration(0-32785)</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_8</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>290</x>
- <y>40</y>
- <width>17</width>
- <height>22</height>
- </rect>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>0; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Subtype</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_5</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>230</x>
- <y>40</y>
- <width>17</width>
- <height>22</height>
- </rect>
- </property>
- <property name="cursor">
- <cursor>0</cursor>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="inputMask">
- <string>0; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Subtype</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_7</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>270</x>
- <y>40</y>
- <width>17</width>
- <height>22</height>
- </rect>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>0; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Subtype</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_6</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>250</x>
- <y>40</y>
- <width>17</width>
- ...
[truncated message content] |
|
From: <sat...@us...> - 2010-03-22 09:11:09
|
Revision: 246
http://w-meter.svn.sourceforge.net/w-meter/?rev=246&view=rev
Author: sathakselva
Date: 2010-03-22 09:11:00 +0000 (Mon, 22 Mar 2010)
Log Message:
-----------
Authentication frame cleanup
Modified Paths:
--------------
frame_injection_g/trunk/src/mgmt_asso_req_cpp.cpp
frame_injection_g/trunk/src/mgmt_authen_cpp.cpp
frame_injection_g/trunk/src/mgmt_authen_cpp.h
Modified: frame_injection_g/trunk/src/mgmt_asso_req_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/mgmt_asso_req_cpp.cpp 2010-03-20 06:22:46 UTC (rev 245)
+++ frame_injection_g/trunk/src/mgmt_asso_req_cpp.cpp 2010-03-22 09:11:00 UTC (rev 246)
@@ -88,7 +88,7 @@
lineedit_address1_5->setText (add1_5);
lineedit_address1_6->setText (add1_6);
- /* Set Transmitter Address */
+ /* Set Transmitter Address */
lineedit_address2_1->setText (add2_1);
lineedit_address2_2->setText (add2_2);
lineedit_address2_3->setText (add2_3);
@@ -96,7 +96,7 @@
lineedit_address2_5->setText (add2_5);
lineedit_address2_6->setText (add2_6);
- /* Set BSSID Address */
+ /* Set BSSID Address */
lineedit_address3_1->setText (add3_1);
lineedit_address3_2->setText (add3_2);
lineedit_address3_3->setText (add3_3);
@@ -108,7 +108,7 @@
lineedit_frag_no->setText (fragno);
lineedit_seq_no->setText (seqno);
- /* Set Capability Information */
+ /* Set Capability Information */
lineedit_cap_info_1->setText (capinfo1);
lineedit_cap_info_2->setText (capinfo2);
lineedit_cap_info_3->setText (capinfo3);
@@ -319,7 +319,7 @@
{
mac_80211 mac;
uint8_t *frame = msg;
- memset(frame, 0, sizeof (msg));
+ memset (frame, 0, sizeof (msg));
bool ok;
// QReg validator initialization
QRegExp rx ("[0-9A-Fa-f]{2}");
@@ -536,9 +536,9 @@
srate[index++] = * ( (unsigned char*) & hexrate) ;
}
srate_len = index;
- /*@erate: IEEE 802.11-2007 defines 12 data rates.
- 8 as supported rate and 4 as extended suported rate */
- uint8_t index1 = 0, erate[4], erate_id = 0X32, erate_len =0;
+ /*@erate: IEEE 802.11-2007 defines 12 data rates.
+ 8 as supported rate and 4 as extended suported rate */
+ uint8_t index1 = 0, erate[4], erate_id = 0X32, erate_len = 0;
if (checkbox_esrate_1->isChecked() == 1)
{
@@ -565,12 +565,12 @@
}
erate_len = index1;
- // copy frame control field
- memcpy (frame, &frame_ctrl, sizeof(frame_ctrl));
- frame += sizeof(frame_ctrl);
+ // copy frame control field
+ memcpy (frame, &frame_ctrl, sizeof (frame_ctrl));
+ frame += sizeof (frame_ctrl);
- memcpy (frame, &duration_char, sizeof(duration_char));
- frame += sizeof(duration_char);
+ memcpy (frame, &duration_char, sizeof (duration_char));
+ frame += sizeof (duration_char);
memcpy (frame, &addr1, MAC_ADDRESS_LEN);
frame += MAC_ADDRESS_LEN;
@@ -581,14 +581,14 @@
memcpy (frame, &addr3, MAC_ADDRESS_LEN);
frame += MAC_ADDRESS_LEN;
- memcpy (frame, &seq_ctrl_char, sizeof(seq_ctrl_char));
- frame += sizeof(seq_ctrl_char);
+ memcpy (frame, &seq_ctrl_char, sizeof (seq_ctrl_char));
+ frame += sizeof (seq_ctrl_char);
- memcpy (frame, &cap_info, sizeof(cap_info));
- frame += sizeof(cap_info);
+ memcpy (frame, &cap_info, sizeof (cap_info));
+ frame += sizeof (cap_info);
- memcpy (frame, &listen_intrvl_char, sizeof(listen_intrvl_char));
- frame += sizeof(listen_intrvl_char);
+ memcpy (frame, &listen_intrvl_char, sizeof (listen_intrvl_char));
+ frame += sizeof (listen_intrvl_char);
// append SSID
*frame++ = element_id;
@@ -599,9 +599,9 @@
frame += ssid_len;
}
- // Append supported rates
- if (srate_len > 0)
- {
+ // Append supported rates
+ if (srate_len > 0)
+ {
*frame++ = srate_id;
*frame++ = srate_len;
memcpy (frame, &srate, srate_len);
@@ -610,7 +610,7 @@
// append extended support rates
if (erate_len > 0)
- {
+ {
*frame++ = erate_id;
*frame++ = erate_len;
memcpy (frame, &erate, erate_len);
Modified: frame_injection_g/trunk/src/mgmt_authen_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/mgmt_authen_cpp.cpp 2010-03-20 06:22:46 UTC (rev 245)
+++ frame_injection_g/trunk/src/mgmt_authen_cpp.cpp 2010-03-22 09:11:00 UTC (rev 246)
@@ -34,118 +34,118 @@
#include <qfile.h>
#include "mac_80211.h"
-uint16_t global_auth_flag=0;
+uint16_t global_auth_flag = 0;
char default_auth_file[] = "default_auth";
-mgmt_authen_cpp::mgmt_authen_cpp( QWidget* parent, const char* name, WFlags fl )
- : mgmt_authen( parent,name,fl )
+mgmt_authen_cpp::mgmt_authen_cpp (QWidget* parent, const char* name, WFlags fl)
+ : mgmt_authen (parent, name, fl)
{
- authen_run_button->setEnabled( 1 );
+ authen_run_button->setEnabled (1);
- char frame1[2], frame2[2], frame3[2], frame4[2], frame5[2], frame6[2], frame7[2], frame8[2], frame9[2], frame10[2], frame11[2], frame12[2], frame13[2], frame14[2], frame15[2], frame16[2], nav[6], add1_1[3], add1_2[3], add1_3[3], add1_4[3], add1_5[3], add1_6[3], add2_1[3], add2_2[3], add2_3[3], add2_4[3], add2_5[3], add2_6[3], add3_1[3], add3_2[3], add3_3[3], add3_4[3], add3_5[3], add3_6[3], fragno[3], seqno[5], auth_algores[3],auth_seqnores[3], stat_cod[6], chall_txt[129];
- int auth_algorithm,auth_seq_no,status_code ;
+ char frame1[2], frame2[2], frame3[2], frame4[2], frame5[2], frame6[2], frame7[2], frame8[2], frame9[2], frame10[2], frame11[2], frame12[2], frame13[2], frame14[2], frame15[2], frame16[2], nav[6], add1_1[3], add1_2[3], add1_3[3], add1_4[3], add1_5[3], add1_6[3], add2_1[3], add2_2[3], add2_3[3], add2_4[3], add2_5[3], add2_6[3], add3_1[3], add3_2[3], add3_3[3], add3_4[3], add3_5[3], add3_6[3], fragno[3], seqno[5], auth_algores[3], auth_seqnores[3], stat_cod[6], chall_txt[129];
+ int auth_algorithm, auth_seq_no, status_code ;
- FILE *file1;
- file1=fopen( default_auth_file,"r" );
- if ( file1==NULL )
- {
- KMessageBox::error( this,"Unable to open file. Loading initial values." );
- reset_auth_frame();
- }
- else
- {
- /* Reading from template files for filling default values */
- while ( fscanf( file1,"%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %d %s %d %s %d %s %s ", &frame1[0],&frame2[0],&frame3[0],&frame4[0],&frame5[0],&frame6[0],&frame7[0],&frame8[0],&frame9[0],&frame10[0],&frame11[0],&frame12[0],&frame13[0],&frame14[0],&frame15[0],&frame16[0],&nav[0],&add1_1[0],&add1_2[0],&add1_3[0],&add1_4[0],&add1_5[0],&add1_6[0],&add2_1[0],&add2_2[0],&add2_3[0],&add2_4[0],&add2_5[0],&add2_6[0],&add3_1[0],&add3_2[0],&add3_3[0],&add3_4[0],&add3_5[0],&add3_6[0],&fragno[0],&seqno[0],&auth_algorithm,&auth_algores[0],&auth_seq_no,&auth_seqnores[0],&status_code,&stat_cod[0],&chall_txt[0] )!=EOF )
- {
+ FILE *file1;
+ file1 = fopen (default_auth_file, "r");
+ if (file1 == NULL)
+ {
+ KMessageBox::error (this, "Unable to open file. Loading initial values.");
+ reset_auth_frame();
+ }
+ else
+ {
+ /* Reading from template files for filling default values */
+ while (fscanf (file1, "%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %d %s %d %s %d %s %s ", &frame1[0], &frame2[0], &frame3[0], &frame4[0], &frame5[0], &frame6[0], &frame7[0], &frame8[0], &frame9[0], &frame10[0], &frame11[0], &frame12[0], &frame13[0], &frame14[0], &frame15[0], &frame16[0], &nav[0], &add1_1[0], &add1_2[0], &add1_3[0], &add1_4[0], &add1_5[0], &add1_6[0], &add2_1[0], &add2_2[0], &add2_3[0], &add2_4[0], &add2_5[0], &add2_6[0], &add3_1[0], &add3_2[0], &add3_3[0], &add3_4[0], &add3_5[0], &add3_6[0], &fragno[0], &seqno[0], &auth_algorithm, &auth_algores[0], &auth_seq_no, &auth_seqnores[0], &status_code, &stat_cod[0], &chall_txt[0]) != EOF)
+ {
- /* Loading Frame Header details */
- lineedit_frame_1->setText( frame1 );
- lineedit_frame_2->setText( frame2 );
- lineedit_frame_3->setText( frame3 );
- lineedit_frame_4->setText( frame4 );
- lineedit_frame_5->setText( frame5 );
- lineedit_frame_6->setText( frame6 );
- lineedit_frame_7->setText( frame7 );
- lineedit_frame_8->setText( frame8 );
- lineedit_frame_9->setText( frame9 );
- lineedit_frame_10->setText( frame10 );
- lineedit_frame_11->setText( frame11 );
- lineedit_frame_12->setText( frame12 );
- lineedit_frame_13->setText( frame13 );
- lineedit_frame_14->setText( frame14 );
- lineedit_frame_15->setText( frame15 );
- lineedit_frame_16->setText( frame16 );
+ /* Set Frame control fields */
+ lineedit_frame_1->setText (frame1);
+ lineedit_frame_2->setText (frame2);
+ lineedit_frame_3->setText (frame3);
+ lineedit_frame_4->setText (frame4);
+ lineedit_frame_5->setText (frame5);
+ lineedit_frame_6->setText (frame6);
+ lineedit_frame_7->setText (frame7);
+ lineedit_frame_8->setText (frame8);
+ lineedit_frame_9->setText (frame9);
+ lineedit_frame_10->setText (frame10);
+ lineedit_frame_11->setText (frame11);
+ lineedit_frame_12->setText (frame12);
+ lineedit_frame_13->setText (frame13);
+ lineedit_frame_14->setText (frame14);
+ lineedit_frame_15->setText (frame15);
+ lineedit_frame_16->setText (frame16);
- lineedit_NAV->setText( nav );
+ lineedit_NAV->setText (nav);
- /* Loading Address Values */
- lineedit_address1_1->setText( add1_1 );
- lineedit_address1_2->setText( add1_2 );
- lineedit_address1_3->setText( add1_3 );
- lineedit_address1_4->setText( add1_4 );
- lineedit_address1_5->setText( add1_5 );
- lineedit_address1_6->setText( add1_6 );
- lineedit_address2_1->setText( add2_1 );
- lineedit_address2_2->setText( add2_2 );
- lineedit_address2_3->setText( add2_3 );
- lineedit_address2_4->setText( add2_4 );
- lineedit_address2_5->setText( add2_5 );
- lineedit_address2_6->setText( add2_6 );
- lineedit_address3_1->setText( add3_1 );
- lineedit_address3_2->setText( add3_2 );
- lineedit_address3_3->setText( add3_3 );
- lineedit_address3_4->setText( add3_4 );
- lineedit_address3_5->setText( add3_5 );
- lineedit_address3_6->setText( add3_6 );
+ /* Set Addresses */
+ lineedit_address1_1->setText (add1_1);
+ lineedit_address1_2->setText (add1_2);
+ lineedit_address1_3->setText (add1_3);
+ lineedit_address1_4->setText (add1_4);
+ lineedit_address1_5->setText (add1_5);
+ lineedit_address1_6->setText (add1_6);
+ lineedit_address2_1->setText (add2_1);
+ lineedit_address2_2->setText (add2_2);
+ lineedit_address2_3->setText (add2_3);
+ lineedit_address2_4->setText (add2_4);
+ lineedit_address2_5->setText (add2_5);
+ lineedit_address2_6->setText (add2_6);
+ lineedit_address3_1->setText (add3_1);
+ lineedit_address3_2->setText (add3_2);
+ lineedit_address3_3->setText (add3_3);
+ lineedit_address3_4->setText (add3_4);
+ lineedit_address3_5->setText (add3_5);
+ lineedit_address3_6->setText (add3_6);
- /* Loading fragment number, sequence number and athentication information */
- lineedit_frag_no->setText( fragno );
- lineedit_seq_no->setText( seqno );
+ /* Loading fragment number, sequence number and athentication information */
+ lineedit_frag_no->setText (fragno);
+ lineedit_seq_no->setText (seqno);
- /* determining algorithm for authentication */
- combobox_auth_algo->setCurrentItem( auth_algorithm );
- combobox_authen_seqno->setCurrentItem( auth_seq_no );
- /* Status Code Processing */
- if ( status_code==-1 )
- combobox_status_code->setEnabled( 0 );
- else
- combobox_status_code->setCurrentItem( status_code );
+ /* determining algorithm for authentication */
+ combobox_auth_algo->setCurrentItem (auth_algorithm);
+ combobox_authen_seqno->setCurrentItem (auth_seq_no);
+ /* Status Code Processing */
+ if (status_code == -1)
+ combobox_status_code->setEnabled (0);
+ else
+ combobox_status_code->setCurrentItem (status_code);
- if (( atoi( auth_algores ) )==0 )
- {
- lineedit_res_AAlgo->setText( "" );
- lineedit_res_AAlgo->setEnabled( 0 );
- }
- else
- lineedit_res_AAlgo->setText( auth_algores );
- if (( atoi( auth_seqnores ) )==0 )
- {
- lineedit_res_ASN->setText( "" );
- lineedit_res_ASN->setEnabled( 0 );
- }
- else
- lineedit_res_ASN->setText( auth_seqnores );
+ if ( (atoi (auth_algores)) == 0)
+ {
+ lineedit_res_AAlgo->setText ("");
+ lineedit_res_AAlgo->setEnabled (0);
+ }
+ else
+ lineedit_res_AAlgo->setText (auth_algores);
+ if ( (atoi (auth_seqnores)) == 0)
+ {
+ lineedit_res_ASN->setText ("");
+ lineedit_res_ASN->setEnabled (0);
+ }
+ else
+ lineedit_res_ASN->setText (auth_seqnores);
- if (( atoi( stat_cod ) )==0 )
- {
- lineedit_status_code->setText( "" );
- lineedit_status_code->setEnabled( 0 );
- }
- else
- lineedit_status_code->setText( stat_cod );
+ if ( (atoi (stat_cod)) == 0)
+ {
+ lineedit_status_code->setText ("");
+ lineedit_status_code->setEnabled (0);
+ }
+ else
+ lineedit_status_code->setText (stat_cod);
- if (( atoi( chall_txt ) )==0 )
- {
- challenge_text->setText( "" );
- challenge_text->setEnabled( 0 );
- }
- else
- challenge_text->setText( chall_txt );
- }
- fclose( file1 );
- }
+ if ( (atoi (chall_txt)) == 0)
+ {
+ challenge_text->setText ("");
+ challenge_text->setEnabled (0);
+ }
+ else
+ challenge_text->setText (chall_txt);
+ }
+ fclose (file1);
+ }
}
mgmt_authen_cpp::~mgmt_authen_cpp()
@@ -154,815 +154,716 @@
/*Event Invoked after changing items in combobox_status_code */
-
void mgmt_authen_cpp::auth_status_code_click()
{
- if ( combobox_status_code->currentText()=="Reserved (2-9)" || combobox_status_code->currentText()=="Reserved (27–31)" ||
- combobox_status_code->currentText()=="Reserved (36)" ||
- combobox_status_code->currentText()=="Reserved (52–65535)" )
- {
- lineedit_status_code->setEnabled( 1 );
- }
- else
- {
- lineedit_status_code->setEnabled( 0 );
- }
+ if (combobox_status_code->currentText() == "Reserved (2-9)" || combobox_status_code->currentText() == "Reserved (27–31)" ||
+ combobox_status_code->currentText() == "Reserved (36)" ||
+ combobox_status_code->currentText() == "Reserved (52–65535)")
+ {
+ lineedit_status_code->setEnabled (1);
+ }
+ else
+ {
+ lineedit_status_code->setEnabled (0);
+ }
}
/* Event Invoked after changing items in combobox_auth_seqno */
void mgmt_authen_cpp::auth_seqno_select()
{
- if ( combobox_authen_seqno->currentText()=="1" && combobox_auth_algo->currentText()=="Open" )
- {
- combobox_status_code->setEnabled( 0 );
- challenge_text->setEnabled( 0 );
- }
- else
- if ( combobox_authen_seqno->currentText()=="1" && combobox_auth_algo->currentText()=="Shared" )
- {
- combobox_status_code->setEnabled( 0 );
- challenge_text->setEnabled( 0 );
- }
- else
- if ( combobox_authen_seqno->currentText()=="3" && combobox_auth_algo->currentText()=="Shared" )
- {
- combobox_status_code->setEnabled( 0 );
- challenge_text->setEnabled( 1 );
- }
- else
- if ( combobox_auth_algo->currentText()=="Shared" && combobox_authen_seqno->currentText()=="2" )
- {
- combobox_status_code->setEnabled( 1 );
- challenge_text->setEnabled( 1 );
- }
- else
- if ( combobox_auth_algo->currentText()=="Open" && combobox_authen_seqno->currentText()=="4" )
- {
- combobox_status_code->setEnabled( 1 );
- challenge_text->setEnabled( 0 );
- }
- else
- if ( combobox_auth_algo->currentText()=="Shared" && combobox_authen_seqno->currentText()=="4" )
- {
- combobox_status_code->setEnabled( 1 );
- challenge_text->setEnabled( 0 );
- }
- else
- {
- combobox_status_code->setEnabled( 1 );
- challenge_text->setEnabled( 0 );
- }
- if ( combobox_authen_seqno->currentText()=="Reserved" )
- lineedit_res_ASN->setEnabled( 1 );
- else
- lineedit_res_ASN->setEnabled( 0 );
+ if (combobox_authen_seqno->currentText() == "1" && combobox_auth_algo->currentText() == "Open")
+ {
+ combobox_status_code->setEnabled (0);
+ challenge_text->setEnabled (0);
+ }
+ else
+ if (combobox_authen_seqno->currentText() == "1" && combobox_auth_algo->currentText() == "Shared")
+ {
+ combobox_status_code->setEnabled (0);
+ challenge_text->setEnabled (0);
+ }
+ else
+ if (combobox_authen_seqno->currentText() == "3" && combobox_auth_algo->currentText() == "Shared")
+ {
+ combobox_status_code->setEnabled (0);
+ challenge_text->setEnabled (1);
+ }
+ else
+ if (combobox_auth_algo->currentText() == "Shared" && combobox_authen_seqno->currentText() == "2")
+ {
+ combobox_status_code->setEnabled (1);
+ challenge_text->setEnabled (1);
+ }
+ else
+ if (combobox_auth_algo->currentText() == "Open" && combobox_authen_seqno->currentText() == "4")
+ {
+ combobox_status_code->setEnabled (1);
+ challenge_text->setEnabled (0);
+ }
+ else
+ if (combobox_auth_algo->currentText() == "Shared" && combobox_authen_seqno->currentText() == "4")
+ {
+ combobox_status_code->setEnabled (1);
+ challenge_text->setEnabled (0);
+ }
+ else
+ {
+ combobox_status_code->setEnabled (1);
+ challenge_text->setEnabled (0);
+ }
+ if (combobox_authen_seqno->currentText() == "Reserved")
+ lineedit_res_ASN->setEnabled (1);
+ else
+ lineedit_res_ASN->setEnabled (0);
}
/* Event Invoked after changing items in combobox_auth_algo */
void mgmt_authen_cpp::auth_algo_select()
{
- if ( combobox_auth_algo->currentText()=="Open" && combobox_authen_seqno->currentText()=="1" )
- {
- combobox_status_code->setEnabled( 0 );
- challenge_text->setEnabled( 0 );
- }
- else
- if ( combobox_auth_algo->currentText()=="Shared" && combobox_authen_seqno->currentText()=="1" )
- {
- combobox_status_code->setEnabled( 0 );
- challenge_text->setEnabled( 0 );
- }
- else
- if ( combobox_auth_algo->currentText()=="Shared" && combobox_authen_seqno->currentText()=="3" )
- {
- combobox_status_code->setEnabled( 0 );
- challenge_text->setEnabled( 1 );
- }
- else
- if ( combobox_auth_algo->currentText()=="Shared" && combobox_authen_seqno->currentText()=="2" )
- {
- combobox_status_code->setEnabled( 1 );
- challenge_text->setEnabled( 1 );
- }
- else
- if ( combobox_auth_algo->currentText()=="Open" && combobox_authen_seqno->currentText()=="4" )
- {
- combobox_status_code->setEnabled( 1 );
- challenge_text->setEnabled( 0 );
- }
- else
- if ( combobox_auth_algo->currentText()=="Shared" && combobox_authen_seqno->currentText()=="4" )
- {
- combobox_status_code->setEnabled( 1 );
- challenge_text->setEnabled( 0 );
- }
- else
- {
- combobox_status_code->setEnabled( 1 );
- challenge_text->setEnabled( 0 );
- }
+ if (combobox_auth_algo->currentText() == "Open" && combobox_authen_seqno->currentText() == "1")
+ {
+ combobox_status_code->setEnabled (0);
+ challenge_text->setEnabled (0);
+ }
+ else if (combobox_auth_algo->currentText() == "Shared" && combobox_authen_seqno->currentText() == "1")
+ {
+ combobox_status_code->setEnabled (0);
+ challenge_text->setEnabled (0);
+ }
+ else if (combobox_auth_algo->currentText() == "Shared" && combobox_authen_seqno->currentText() == "3")
+ {
+ combobox_status_code->setEnabled (0);
+ challenge_text->setEnabled (1);
+ }
+ else if (combobox_auth_algo->currentText() == "Shared" && combobox_authen_seqno->currentText() == "2")
+ {
+ combobox_status_code->setEnabled (1);
+ challenge_text->setEnabled (1);
+ }
+ else if (combobox_auth_algo->currentText() == "Open" && combobox_authen_seqno->currentText() == "4")
+ {
+ combobox_status_code->setEnabled (1);
+ challenge_text->setEnabled (0);
+ }
+ else if (combobox_auth_algo->currentText() == "Shared" && combobox_authen_seqno->currentText() == "4")
+ {
+ combobox_status_code->setEnabled (1);
+ challenge_text->setEnabled (0);
+ }
+ else
+ {
+ combobox_status_code->setEnabled (1);
+ challenge_text->setEnabled (0);
+ }
- if ( combobox_auth_algo->currentText()=="Reserved" )
- lineedit_res_AAlgo->setEnabled( 1 );
- else
- lineedit_res_AAlgo->setEnabled( 0 );
+ if (combobox_auth_algo->currentText() == "Reserved")
+ lineedit_res_AAlgo->setEnabled (1);
+ else
+ lineedit_res_AAlgo->setEnabled (0);
}
/* Event Invoked after pressing Main_win button */
void mgmt_authen_cpp::auth_main_window()
{
- authen_run_button->setEnabled( 1 );
- close();
+ authen_run_button->setEnabled (1);
+ close();
}
/* Event Invoked after pressing Clear button */
void mgmt_authen_cpp::auth_clear_click()
{
- reset_auth_frame();
- authen_run_button->setEnabled( 1 );
+ reset_auth_frame();
+ authen_run_button->setEnabled (1);
}
/* Event Invoked after pressing Run button */
void mgmt_authen_cpp::auth_run_click()
{
- global_auth_flag=1;
- func_auth_hex_convertion();
+ global_auth_flag = 1;
+ func_auth_hex_convertion();
}
/* Function for saving drafted frames with testid */
void mgmt_authen_cpp::auth_save_click()
{
- if ( lineedit_testid->text()!="" )
- {
- global_auth_flag=3;
- func_auth_hex_convertion();
- lineedit_testid->clear();
- }
- else
- QMessageBox::critical( this, tr( "Error" ), tr( "Test ID is empty" ) );
+ if (lineedit_testid->text() != "")
+ {
+ global_auth_flag = 3;
+ func_auth_hex_convertion();
+ lineedit_testid->clear();
+ }
+ else
+ QMessageBox::critical (this, tr ("Error"), tr ("Test ID is empty"));
}
/*Function for taking frame values and making it default */
void mgmt_authen_cpp::auth_default_click()
{
- global_auth_flag=2;
- func_auth_hex_convertion();
+ global_auth_flag = 2;
+ func_auth_hex_convertion();
}
void mgmt_authen_cpp::func_auth_hex_convertion()
{
- mac_80211 mac;
- bool ok;
- /*Qvalidator initialization */
- QRegExp rx( "[0-9A-Fa-f]{2}" );
- QRegExpValidator v( rx, this );
+ mac_80211 mac;
+ uint8_t *frame = msg;
+ memset (frame, 0, sizeof (msg));
+ bool ok;
+ /*Qvalidator initialization */
+ QRegExp rx ("[0-9A-Fa-f]{2}");
+ QRegExpValidator v (rx, this);
- lineedit_address1_1->setValidator( &v );
- lineedit_address1_2->setValidator( &v );
- lineedit_address1_3->setValidator( &v );
- lineedit_address1_4->setValidator( &v );
- lineedit_address1_5->setValidator( &v );
- lineedit_address1_6->setValidator( &v );
- lineedit_address2_1->setValidator( &v );
- lineedit_address2_2->setValidator( &v );
- lineedit_address2_3->setValidator( &v );
- lineedit_address2_4->setValidator( &v );
- lineedit_address2_5->setValidator( &v );
- lineedit_address2_6->setValidator( &v );
- lineedit_address3_1->setValidator( &v );
- lineedit_address3_2->setValidator( &v );
- lineedit_address3_3->setValidator( &v );
- lineedit_address3_4->setValidator( &v );
- lineedit_address3_5->setValidator( &v );
- lineedit_address3_6->setValidator( &v );
- // address fields values to local variable
- QString add1_1=lineedit_address1_1->text();
- QString add1_2=lineedit_address1_2->text();
- QString add1_3=lineedit_address1_3->text();
- QString add1_4=lineedit_address1_4->text();
- QString add1_5=lineedit_address1_5->text();
- QString add1_6=lineedit_address1_6->text();
- QString add2_1=lineedit_address2_1->text();
- QString add2_2=lineedit_address2_2->text();
- QString add2_3=lineedit_address2_3->text();
- QString add2_4=lineedit_address2_4->text();
- QString add2_5=lineedit_address2_5->text();
- QString add2_6=lineedit_address2_6->text();
- QString add3_1=lineedit_address3_1->text();
- QString add3_2=lineedit_address3_2->text();
- QString add3_3=lineedit_address3_3->text();
- QString add3_4=lineedit_address3_4->text();
- QString add3_5=lineedit_address3_5->text();
- QString add3_6=lineedit_address3_6->text();
+ lineedit_address1_1->setValidator (&v);
+ lineedit_address1_2->setValidator (&v);
+ lineedit_address1_3->setValidator (&v);
+ lineedit_address1_4->setValidator (&v);
+ lineedit_address1_5->setValidator (&v);
+ lineedit_address1_6->setValidator (&v);
+ lineedit_address2_1->setValidator (&v);
+ lineedit_address2_2->setValidator (&v);
+ lineedit_address2_3->setValidator (&v);
+ lineedit_address2_4->setValidator (&v);
+ lineedit_address2_5->setValidator (&v);
+ lineedit_address2_6->setValidator (&v);
+ lineedit_address3_1->setValidator (&v);
+ lineedit_address3_2->setValidator (&v);
+ lineedit_address3_3->setValidator (&v);
+ lineedit_address3_4->setValidator (&v);
+ lineedit_address3_5->setValidator (&v);
+ lineedit_address3_6->setValidator (&v);
+ // address fields values to local variable
+ QString add1_1 = lineedit_address1_1->text();
+ QString add1_2 = lineedit_address1_2->text();
+ QString add1_3 = lineedit_address1_3->text();
+ QString add1_4 = lineedit_address1_4->text();
+ QString add1_5 = lineedit_address1_5->text();
+ QString add1_6 = lineedit_address1_6->text();
+ QString add2_1 = lineedit_address2_1->text();
+ QString add2_2 = lineedit_address2_2->text();
+ QString add2_3 = lineedit_address2_3->text();
+ QString add2_4 = lineedit_address2_4->text();
+ QString add2_5 = lineedit_address2_5->text();
+ QString add2_6 = lineedit_address2_6->text();
+ QString add3_1 = lineedit_address3_1->text();
+ QString add3_2 = lineedit_address3_2->text();
+ QString add3_3 = lineedit_address3_3->text();
+ QString add3_4 = lineedit_address3_4->text();
+ QString add3_5 = lineedit_address3_5->text();
+ QString add3_6 = lineedit_address3_6->text();
- int pos=0;
- /* validating fields */
- if (( v.validate( add1_1, pos ) !=0 ) &&
- ( v.validate( add1_2, pos ) !=0 ) &&
- ( v.validate( add1_3, pos ) !=0 ) &&
- ( v.validate( add1_4, pos ) !=0 ) &&
- ( v.validate( add1_5, pos ) !=0 ) &&
- ( v.validate( add1_6, pos ) !=0 ) &&
- ( v.validate( add2_1, pos ) !=0 ) &&
- ( v.validate( add2_2, pos ) !=0 ) &&
- ( v.validate( add2_3, pos ) !=0 ) &&
- ( v.validate( add2_4, pos ) !=0 ) &&
- ( v.validate( add2_5, pos ) !=0 ) &&
- ( v.validate( add2_6, pos ) !=0 ) &&
- ( v.validate( add3_1, pos ) !=0 ) &&
- ( v.validate( add3_2, pos ) !=0 ) &&
- ( v.validate( add3_3, pos ) !=0 ) &&
- ( v.validate( add3_4, pos ) !=0 ) &&
- ( v.validate( add3_5, pos ) !=0 ) &&
- ( v.validate( add3_6, pos ) !=0 ) )
- {
+ int pos = 0;
+ /* validating fields */
+ if ( (v.validate (add1_1, pos) != 0) &&
+ (v.validate (add1_2, pos) != 0) &&
+ (v.validate (add1_3, pos) != 0) &&
+ (v.validate (add1_4, pos) != 0) &&
+ (v.validate (add1_5, pos) != 0) &&
+ (v.validate (add1_6, pos) != 0) &&
+ (v.validate (add2_1, pos) != 0) &&
+ (v.validate (add2_2, pos) != 0) &&
+ (v.validate (add2_3, pos) != 0) &&
+ (v.validate (add2_4, pos) != 0) &&
+ (v.validate (add2_5, pos) != 0) &&
+ (v.validate (add2_6, pos) != 0) &&
+ (v.validate (add3_1, pos) != 0) &&
+ (v.validate (add3_2, pos) != 0) &&
+ (v.validate (add3_3, pos) != 0) &&
+ (v.validate (add3_4, pos) != 0) &&
+ (v.validate (add3_5, pos) != 0) &&
+ (v.validate (add3_6, pos) != 0))
+ {
- /* validating frame control field values */
+ /* validating frame control field values */
- if ( lineedit_frame_1->text().toInt()<=1 && lineedit_frame_1->text()!="" && lineedit_frame_2->text().toInt()<=1 && lineedit_frame_2->text()!="" && lineedit_frame_3->text().toInt()<=1 && lineedit_frame_3->text()!="" && lineedit_frame_4->text().toInt()<=1 && lineedit_frame_4->text()!="" && lineedit_frame_5->text().toInt()<=1 && lineedit_frame_5->text()!="" && lineedit_frame_6->text().toInt()<=1 && lineedit_frame_6->text()!="" && lineedit_frame_7->text().toInt()<=1 && lineedit_frame_7->text()!="" && lineedit_frame_8->text().toInt()<=1 && lineedit_frame_8->text()!="" && lineedit_frame_9->text().toInt()<=1 && lineedit_frame_9->text()!="" && lineedit_frame_10->text().toInt()<=1 && lineedit_frame_10->text()!="" && lineedit_frame_11->text().toInt()<=1 && lineedit_frame_11->text()!="" && lineedit_frame_12->text().toInt()<=1 && lineedit_frame_12->text()!="" && lineedit_frame_13->text().toInt()<=1 && lineedit_frame_13->text()!="" && lineedit_frame_14->text().toInt()<=1 && lineedit_frame_14->text()!="" && lineedit_frame_15->text().toInt()<=1 && lineedit_frame_15->text()!="" && lineedit_frame_16->text().toInt()<=1 && lineedit_frame_16->text()!="" )
- {
- /* validating address fields to not have empty space */
+ if (lineedit_frame_1->text().toInt() <= 1 && lineedit_frame_1->text() != "" && lineedit_frame_2->text().toInt() <= 1 && lineedit_frame_2->text() != "" && lineedit_frame_3->text().toInt() <= 1 && lineedit_frame_3->text() != "" && lineedit_frame_4->text().toInt() <= 1 && lineedit_frame_4->text() != "" && lineedit_frame_5->text().toInt() <= 1 && lineedit_frame_5->text() != "" && lineedit_frame_6->text().toInt() <= 1 && lineedit_frame_6->text() != "" && lineedit_frame_7->text().toInt() <= 1 && lineedit_frame_7->text() != "" && lineedit_frame_8->text().toInt() <= 1 && lineedit_frame_8->text() != "" && lineedit_frame_9->text().toInt() <= 1 && lineedit_frame_9->text() != "" && lineedit_frame_10->text().toInt() <= 1 && lineedit_frame_10->text() != "" && lineedit_frame_11->text().toInt() <= 1 && lineedit_frame_11->text() != "" && lineedit_frame_12->text().toInt() <= 1 && lineedit_frame_12->text() != "" && lineedit_frame_13->text().toInt() <= 1 && lineedit_frame_13->text() != "" && lineedit_frame_14->text().toInt() <= 1 && lineedit_frame_14->text() != "" && lineedit_frame_15->text().toInt() <= 1 && lineedit_frame_15->text() != "" && lineedit_frame_16->text().toInt() <= 1 && lineedit_frame_16->text() != "")
+ {
+ /* validating address fields to not have empty space */
- if ( lineedit_address1_1->text()!="" && lineedit_address1_2->text()!="" && lineedit_address1_3->text()!="" && lineedit_address1_4->text()!="" && lineedit_address1_5->text()!="" && lineedit_address1_6->text()!="" && lineedit_address2_1->text()!="" && lineedit_address2_2->text()!="" && lineedit_address2_3->text()!="" && lineedit_address2_4->text()!="" && lineedit_address2_5->text()!="" && lineedit_address2_6->text()!="" && lineedit_address3_1->text()!="" && lineedit_address3_2->text()!="" && lineedit_address3_3->text()!="" && lineedit_address3_4->text()!="" && lineedit_address3_5->text()!="" && lineedit_address3_6->text()!="" )
- {
- uint16_t frag_no=lineedit_frag_no->text().toInt();
- uint16_t seq_no=lineedit_seq_no->text().toInt();
- uint16_t duration_id = lineedit_NAV->text().toInt();
+ if (lineedit_address1_1->text() != "" && lineedit_address1_2->text() != "" && lineedit_address1_3->text() != "" && lineedit_address1_4->text() != "" && lineedit_address1_5->text() != "" && lineedit_address1_6->text() != "" && lineedit_address2_1->text() != "" && lineedit_address2_2->text() != "" && lineedit_address2_3->text() != "" && lineedit_address2_4->text() != "" && lineedit_address2_5->text() != "" && lineedit_address2_6->text() != "" && lineedit_address3_1->text() != "" && lineedit_address3_2->text() != "" && lineedit_address3_3->text() != "" && lineedit_address3_4->text() != "" && lineedit_address3_5->text() != "" && lineedit_address3_6->text() != "")
+ {
+ uint16_t frag_no = lineedit_frag_no->text().toInt();
+ uint16_t seq_no = lineedit_seq_no->text().toInt();
+ uint16_t duration_id = lineedit_NAV->text().toInt();
- /* validating NAV */
- if ( duration_id<65535 && lineedit_NAV->text()!="" )
- {
- /* validating freq_no */
- if ( frag_no<16 && lineedit_frag_no->text()!="" )
- {
- /* validating seq_no */
- if ( seq_no<4096 && lineedit_seq_no->text()!="" )
- {
- uint16_t status_code = lineedit_status_code->text().toInt(), i;
- uint8_t frame_ctrl0 = 0x00, frame_ctrl1 = 0x00, duration_char[2];
- /* Form Frame control */
- frame_ctrl0 = mac.bits_to_byte( lineedit_frame_1->text(), lineedit_frame_2->text(), lineedit_frame_3->text(), lineedit_frame_4->text(), lineedit_frame_5->text(), lineedit_frame_6->text(), lineedit_frame_7->text(), lineedit_frame_8->text() );
+ /* validating NAV */
+ if (duration_id < 65535 && lineedit_NAV->text() != "")
+ {
+ /* validating freq_no */
+ if (frag_no < 16 && lineedit_frag_no->text() != "")
+ {
+ /* validating seq_no */
+ if (seq_no < 4096 && lineedit_seq_no->text() != "")
+ {
+ uint16_t i, status_code = lineedit_status_code->text().toInt();
+ uint8_t frame_ctrl[2], duration_char[2], addr1[6], addr2[6], addr3[6];
+ /* Form Frame control */
+ frame_ctrl[0] = mac.bits_to_byte (lineedit_frame_1->text(), lineedit_frame_2->text(), lineedit_frame_3->text(), lineedit_frame_4->text(), lineedit_frame_5->text(), lineedit_frame_6->text(), lineedit_frame_7->text(), lineedit_frame_8->text());
- /* Form Frame control (flags) */
- frame_ctrl1 = mac.bits_to_byte( lineedit_frame_9->text(), lineedit_frame_10->text(), lineedit_frame_11->text(), lineedit_frame_12->text(), lineedit_frame_13->text(), lineedit_frame_14->text(), lineedit_frame_15->text(), lineedit_frame_16->text() );
+ /* Form Frame control (flags) */
+ frame_ctrl[1] = mac.bits_to_byte (lineedit_frame_9->text(), lineedit_frame_10->text(), lineedit_frame_11->text(), lineedit_frame_12->text(), lineedit_frame_13->text(), lineedit_frame_14->text(), lineedit_frame_15->text(), lineedit_frame_16->text());
- for ( i=0;i<2;i++ )
- duration_char[i] = * ((( char* ) &duration_id ) +i );
+ for (i = 0;i < 2;i++)
+ duration_char[i] = * ( ( (unsigned char*) & duration_id) + i);
- uint8_t addr1_1 = ( unsigned char ) lineedit_address1_1->text().toInt( &ok ,16 );
- uint8_t addr1_2 = ( unsigned char ) lineedit_address1_2->text().toInt( &ok ,16 );
- uint8_t addr1_3 = ( unsigned char ) lineedit_address1_3->text().toInt( &ok ,16 );
- uint8_t addr1_4 = ( unsigned char ) lineedit_address1_4->text().toInt( &ok ,16 );
- uint8_t addr1_5 = ( unsigned char ) lineedit_address1_5->text().toInt( &ok ,16 );
- uint8_t addr1_6 = ( unsigned char ) lineedit_address1_6->text().toInt( &ok ,16 );
- uint8_t addr2_1 = ( unsigned char ) lineedit_address2_1->text().toInt( &ok ,16 );
- uint8_t addr2_2 = ( unsigned char ) lineedit_address2_2->text().toInt( &ok ,16 );
- uint8_t addr2_3 = ( unsigned char ) lineedit_address2_3->text().toInt( &ok ,16 );
- uint8_t addr2_4 = ( unsigned char ) lineedit_address2_4->text().toInt( &ok ,16 );
- uint8_t addr2_5 = ( unsigned char ) lineedit_address2_5->text().toInt( &ok ,16 );
- uint8_t addr2_6 = ( unsigned char ) lineedit_address2_6->text().toInt( &ok ,16 );
- uint8_t addr3_1 = ( unsigned char ) lineedit_address2_1->text().toInt( &ok ,16 );
- uint8_t addr3_2 = ( unsigned char ) lineedit_address2_2->text().toInt( &ok ,16 );
- uint8_t addr3_3 = ( unsigned char ) lineedit_address2_3->text().toInt( &ok ,16 );
- uint8_t addr3_4 = ( unsigned char ) lineedit_address2_4->text().toInt( &ok ,16 );
- uint8_t addr3_5 = ( unsigned char ) lineedit_address2_5->text().toInt( &ok ,16 );
- uint8_t addr3_6 = ( unsigned char ) lineedit_address2_6->text().toInt( &ok ,16 );
+ /* adress fields initializing to local variable */
+ addr1[0] = (unsigned char) lineedit_address1_1->text().toInt (&ok , 16);
+ addr1[1] = (unsigned char) lineedit_address1_2->text().toInt (&ok , 16);
+ addr1[2] = (unsigned char) lineedit_address1_3->text().toInt (&ok , 16);
+ addr1[3] = (unsigned char) lineedit_address1_4->text().toInt (&ok , 16);
+ addr1[4] = (unsigned char) lineedit_address1_5->text().toInt (&ok , 16);
+ addr1[5] = (unsigned char) lineedit_address1_6->text().toInt (&ok , 16);
+ addr2[0] = (unsigned char) lineedit_address2_1->text().toInt (&ok , 16);
+ addr2[1] = (unsigned char) lineedit_address2_2->text().toInt (&ok , 16);
+ addr2[2] = (unsigned char) lineedit_address2_3->text().toInt (&ok , 16);
+ addr2[3] = (unsigned char) lineedit_address2_4->text().toInt (&ok , 16);
+ addr2[4] = (unsigned char) lineedit_address2_5->text().toInt (&ok , 16);
+ addr2[5] = (unsigned char) lineedit_address2_6->text().toInt (&ok , 16);
+ addr3[0] = (unsigned char) lineedit_address3_1->text().toInt (&ok , 16);
+ addr3[1] = (unsigned char) lineedit_address3_2->text().toInt (&ok , 16);
+ addr3[2] = (unsigned char) lineedit_address3_3->text().toInt (&ok , 16);
+ addr3[3] = (unsigned char) lineedit_address3_4->text().toInt (&ok , 16);
+ addr3[4] = (unsigned char) lineedit_address3_5->text().toInt (&ok , 16);
+ addr3[5] = (unsigned char) lineedit_address3_6->text().toInt (&ok , 16);
+ /* fraq_no , seq_no to 2 bytes char array */
+ uint16_t seq_ctrl_int = 0X00;
+ uint8_t seq_ctrl_char[2];
- /* fraq_no , seq_no to 2 bytes char array */
- uint16_t seq_ctrl_int=0X00;
- uint8_t seq_ctrl_char[2];
+ seq_ctrl_int = seq_ctrl_int | seq_no;
+ seq_ctrl_int = seq_ctrl_int << 4;
+ seq_ctrl_int = seq_ctrl_int | frag_no;
- seq_ctrl_int=seq_ctrl_int | seq_no;
- seq_ctrl_int=seq_ctrl_int << 4;
- seq_ctrl_int=seq_ctrl_int | frag_no;
+ for (i = 0;i < 2;i++)
+ seq_ctrl_char[i] = * ( ( (unsigned char*) & seq_ctrl_int) + i);
- for ( i=0;i<2;i++ )
- seq_ctrl_char[i] = * ((( unsigned char* ) &seq_ctrl_int ) +i );
+ /* authentication algorithm operation */
+ uint8_t auth_algo_char[2];
+ uint16_t auth_algo;
- /* authentication algorithm operation */
- uint8_t tmp_auth_algo_char[2];
- uint16_t temp_auth_algo;
+ if (combobox_auth_algo->currentItem() == 2)
+ auth_algo = lineedit_res_AAlgo->text().toInt();
+ else
+ auth_algo = combobox_auth_algo->currentItem();
- if ( combobox_auth_algo->currentItem()==2 )
- temp_auth_algo=lineedit_res_AAlgo->text().toInt();
- else
- temp_auth_algo=combobox_auth_algo->currentItem();
+ for (i = 0;i < 2;i++)
+ auth_algo_char[i] = * ( ( (char*) & auth_algo) + i);
- for ( i=0;i<2;i++ )
- tmp_auth_algo_char[i] = * ((( char* ) &temp_auth_algo ) +i );
+ /* authentication sequence no operation */
+ uint8_t auth_seqno_char[2];
+ uint16_t auth_seq_no;
- /* authentication sequence no operation */
- uint8_t tmp_auth_seqno_char[2];
- uint16_t temp_auth_seqno;
+ if (combobox_authen_seqno->currentText() == "Reserved")
+ auth_seq_no = lineedit_res_ASN->text().toInt();
+ else
+ auth_seq_no = combobox_authen_seqno->currentText().toInt();
- if ( combobox_authen_seqno->currentText()=="Reserved" )
- temp_auth_seqno=lineedit_res_ASN->text().toInt();
- else
- temp_auth_seqno=combobox_authen_seqno->currentText().toInt();
+ for (i = 0;i < 2;i++)
+ auth_seqno_char[i] = * ( ( (unsigned char*) & auth_seq_no) + i);
- for ( i=0;i<2;i++ )
- tmp_auth_seqno_char[i] = * ((( char* ) &temp_auth_seqno ) +i );
+ /* status code operation */
+ uint16_t temp_status_code = mac.get_status_code (combobox_status_code->currentItem(), status_code);
- /* status code operation */
- uint16_t temp_status_code = mac.get_status_code( combobox_status_code->currentItem(), status_code );
+ uint8_t status_code_char[2];
+ for (i = 0;i < 2;i++)
+ status_code_char[i] = * ( ( (unsigned char*) & temp_status_code) + i);
- uint8_t temp_status_code_char[2];
- for ( i=0;i<2;i++ )
- temp_status_code_char[i] = *((( char* )&temp_status_code )+i );
+ int temp_challenge = challenge_text->text().length();
+ const char *str_challenge = challenge_text->text();
- int temp_challenge = challenge_text->text().length();
- const char *str_challenge=challenge_text->text();
+ memcpy (frame, &frame_ctrl, sizeof (frame_ctrl));
+ frame += sizeof (frame_ctrl);
- /* initializing dynamic char array */
- unsigned char control_header_arr1[] =
- {
- frame_ctrl0,
- frame_ctrl1,
- duration_char[0],
- duration_char[1],
- addr1_1,
- addr1_2,
- addr1_3,
- addr1_4,
- addr1_5,
- addr1_6,
- addr2_1,
- addr2_2,
- addr2_3,
- addr2_4,
- addr2_5,
- addr2_6,
- addr3_1,
- addr3_2,
- addr3_3,
- addr3_4,
- addr3_5,
- addr3_6,
- seq_ctrl_char[0],
- seq_ctrl_char[1],
- tmp_auth_algo_char[0],
- tmp_auth_algo_char[1],
- tmp_auth_seqno_char[0],
- tmp_auth_seqno_char[1]
- };
+ memcpy (frame, &duration_char, sizeof (duration_char));
+ frame += sizeof (duration_char);
- if ( combobox_status_code->isEnabled()==1 && challenge_text->isEnabled()==1 )
- {
- int size_ctrl_hdr_arr1= sizeof( control_header_arr1 );
- unsigned char *control_header_arr;
+ memcpy (frame, &addr1, MAC_ADDRESS_LEN);
+ frame += MAC_ADDRESS_LEN;
- control_header_arr=( unsigned char* ) malloc( size_ctrl_hdr_arr1* ( sizeof( unsigned char ) ) );
- if ( control_header_arr == NULL )
- {
- printf( "Unable to allocate memory...\n" );
- exit( 1 );
- }
+ memcpy (frame, &addr2, MAC_ADDRESS_LEN);
+ frame += MAC_ADDRESS_LEN;
- for ( i =0;i < size_ctrl_hdr_arr1; i++ )
- control_header_arr[i]=control_header_arr1[i];
+ memcpy (frame, &addr3, MAC_ADDRESS_LEN);
+ frame += MAC_ADDRESS_LEN;
- int temp_sum=size_ctrl_hdr_arr1+2;
- control_header_arr= ( unsigned char* ) realloc( control_header_arr, temp_sum * sizeof( unsigned char ) );
- if ( control_header_arr == NULL )
- {
- printf( "Unable to allocate memory...\n" );
- exit( 1 );
- }
+ memcpy (frame, &seq_ctrl_char, sizeof (seq_ctrl_char));
+ frame += sizeof (seq_ctrl_char);
- control_header_arr[size_ctrl_hdr_arr1]=temp_status_code_char[0];
- control_header_arr[size_ctrl_hdr_arr1+1]=temp_status_code_char[1];
+ memcpy (frame, &auth_algo_char, sizeof (auth_algo_char));
+ frame += sizeof (auth_algo_char);
- int temp_sum1=temp_sum+temp_challenge;
+ memcpy (frame, &auth_seqno_char, sizeof (auth_seqno_char));
+ frame += sizeof (auth_seqno_char);
- control_header_arr= ( unsigned char* ) realloc( control_header_arr, temp_sum1 * sizeof( unsigned char ) );
- if ( control_header_arr == NULL )
- {
- printf( "Unable to allocate memory...\n" );
- exit( 1 );
- }
+ int frame_len;
+ if (combobox_status_code->isEnabled() == 1 && challenge_text->isEnabled() == 1)
+ {
+ memcpy (frame, &status_code_char, sizeof (status_code_char));
+ frame += sizeof (status_code_char);
- for ( int r=0;r<temp_challenge;r++ )
- control_header_arr[temp_sum+r]=str_challenge[r];
+ memcpy (frame, str_challenge, sizeof (temp_challenge));
+ frame += sizeof (temp_challenge);
- if ( lineedit_status_code->isEnabled()==1 )
- {
- if ((( status_code>1 && status_code<10 ) || ( status_code>26 && status_code<32 ) || ( status_code==36 ) || ( status_code>51 && status_code<65536 ) ) && lineedit_status_code->text()!="" )
- {
- func_auth_call( control_header_arr,temp_sum1 );
- }
- else
- {
- KMessageBox::error( this,"invalid status code" );
- lineedit_status_code->setText( "" );
- }
- }
- else
- {
- func_auth_call( control_header_arr,temp_sum1 );
- }
- }
- else
- if ( combobox_status_code->isEnabled()==0 && challenge_text->isEnabled()==0 )
- {
- int size_ctrl_hdr_arr1= sizeof( control_header_arr1 );
- unsigned char *control_header_arr;
+ frame_len = frame - &msg[0];
+ if (lineedit_status_code->isEnabled() == 1)
+ {
+ if ( ( (status_code > 1 && status_code < 10) || (status_code > 26 && status_code < 32) || (status_code == 36) || (status_code > 51 && status_code < 65536)) && lineedit_status_code->text() != "")
+ {
+ func_auth_call (msg, frame_len);
+ }
+ else
+ {
+ KMessageBox::error (this, "invalid status code");
+ lineedit_status_code->setText ("");
+ }
+ }
+ else
+ func_auth_call (msg , frame_len);
+ }
+ else if (combobox_status_code->isEnabled() == 0 && challenge_text->isEnabled() == 0)
+ {
+ frame_len = frame - &msg[0];
- control_header_arr=( unsigned char* ) malloc( size_ctrl_hdr_arr1* ( sizeof( unsigned char ) ) );
- if ( control_header_arr == NULL )
- {
- printf( "Unable to allocate memory...\n" );
- exit( 1 );
- }
+ if (lineedit_status_code->isEnabled() == 1)
+ {
+ if ( ( ( (status_code > 1) && (status_code < 10)) || ( (status_code > 26) && (status_code < 32)) || (status_code == 36) || ( (status_code > 51) && (status_code < 65536))) && (lineedit_status_code->text() != ""))
+ func_auth_call (msg , frame_len);
+ else
+ {
+ KMessageBox::error (this, "invalid status code");
+ lineedit_status_code->setText ("");
+ }
+ }
+ else
+ func_auth_call (msg , frame_len);
+ }
+ else if (combobox_status_code->isEnabled() == 0 && challenge_text->isEnabled() == 1)
+ {
+ memcpy (frame, str_challenge, sizeof (temp_challenge));
+ frame += sizeof (temp_challenge);
+ frame_len = frame - &msg[0];
+ if (lineedit_status_code->isEnabled() == 1)
+ {
+ if ( ( (status_code > 1 && status_code < 10) || (status_code > 26 && status_code < 32) || (status_code == 36) || (status_code > 51 && status_code < 65536)) && lineedit_status_code->text() != "")
+ {
+ func_auth_call (msg, frame_len);
+ }
+ else
+ {
+ KMessageBox::error (this, "invalid status code");
+ lineedit_status_code->setText ("");
+ }
+ }
+ else
+ {
+ func_auth_call (msg, frame_len);
+ }
+ }
+ else if (challenge_text->isEnabled() == 0 && combobox_status_code->isEnabled() == 1)
+ {
+ memcpy (frame, &status_code_char, sizeof (status_code_char));
+ frame += sizeof (status_code_char);
- for ( int i =0;i < size_ctrl_hdr_arr1; i++ )
- control_header_arr[i]=control_header_arr1[i];
-
- if ( lineedit_status_code->isEnabled()==1 )
- {
- if (( ( (status_code>1) && (status_code<10) ) || ( (status_code>26) && (status_code<32) ) || ( status_code==36 ) || ( (status_code>51) && (status_code<65536) ) ) && (lineedit_status_code->text()!="") )
- func_auth_call( control_header_arr,size_ctrl_hdr_arr1 );
- else
- {
- KMessageBox::error( this,"invalid status code" );
- lineedit_status_code->setText( "" );
- }
- }
- else
- func_auth_call( control_header_arr,size_ctrl_hdr_arr1 );
- }
- else
- if ( combobox_status_code->isEnabled()==0 && challenge_text->isEnabled()==1 )
- {
- int size_ctrl_hdr_arr1= sizeof( control_header_arr1 );
- unsigned char *control_header_arr;
-
- control_header_arr=( unsigned char* ) malloc( size_ctrl_hdr_arr1* ( sizeof( unsigned char ) ) );
- if ( control_header_arr == NULL )
- {
- printf( "Unable to allocate memory...\n" );
- exit( 1 );
- }
-
- for ( i =0;i < size_ctrl_hdr_arr1; i++ )
- control_header_arr[i]=control_header_arr1[i];
-
- int temp_sum=size_ctrl_hdr_arr1+temp_challenge;
- control_header_arr= ( unsigned char* ) realloc( control_header_arr, temp_sum * sizeof( unsigned char ) );
- if ( control_header_arr == NULL )
- {
- printf( "Unable to allocate memory...\n" );
- exit( 1 );
- }
-
- for ( int r=0;r<temp_challenge;r++ )
- control_header_arr[size_ctrl_hdr_arr1+r]=str_challenge[r];
-
- if ( lineedit_status_code->isEnabled()==1 )
- {
- if ((( status_code>1 && status_code<10 ) || ( status_code>26 && status_code<32 ) || ( status_code==36 ) || ( status_code>51 && status_code<65536 ) ) && lineedit_status_code->text()!="" )
- {
- func_auth_call( control_header_arr,temp_sum );
- }
- else
- {
- KMessageBox::error( this,"invalid status code" );
- lineedit_status_code->setText( "" );
- }
- }
- else
- {
- func_auth_call( control_header_arr,temp_sum );
- }
- }
- else
- if ( challenge_text->isEnabled()==0 && combobox_status_code->isEnabled()==1 )
- {
- int size_ctrl_hdr_arr1= sizeof( control_header_arr1 );
- unsigned char *control_header_arr;
-
- control_header_arr=( unsigned char* ) malloc( size_ctrl_hdr_arr1* ( sizeof( unsigned char ) ) );
- if ( control_header_arr == NULL )
- {
- printf( "Unable to allocate memory...\n" );
- exit( 1 );
- }
-
- int i;
- for ( i =0;i < size_ctrl_hdr_arr1; i++ )
- control_header_arr[i]=control_header_arr1[i];
-
- int temp_sum=size_ctrl_hdr_arr1+2;
- control_header_arr= ( unsigned char* ) realloc( control_header_arr, temp_sum * sizeof( unsigned char ) );
- if ( control_header_arr == NULL )
- {
- printf( "Unable to allocate memory...\n" );
- exit( 1 );
- }
-
- control_header_arr[size_ctrl_hdr_arr1]=temp_status_code_char[0];
- control_header_arr[size_ctrl_hdr_arr1+1]=temp_status_code_char[1];
-
- if ( lineedit_status_code->isEnabled()==1 )
- {
- if ((( status_code>1 && status_code<10 ) || ( status_code>26 && status_code<32 ) || ( status_code==36 ) || ( status_code>51 && status_code<65536 ) ) && lineedit_status_code->text()!="" )
- {
- func_auth_call( control_header_arr,temp_sum );
- }
- else
- {
- KMessageBox::error( this,"invalid status code" );
- lineedit_status_code->setText( "" );
- }
- }
- else
- {
- func_auth_call( control_header_arr,temp_sum );
- }
- }
- }
- else
- {
- KMessageBox::error( this,"sequence number should be in the range 0 and 4095" );
- lineedit_seq_no->setText( "" );
- }
- }
- else
- {
- KMessageBox::error( this,"Fragment number should be in the range 0 and 15" );
- lineedit_frag_no->setText( "" );
- }
- }
- else
- KMessageBox::error( this,"NAV should be less than 65535" );
- }
- else
- KMessageBox::error( this,"Address field empty" );
- }
- else
- KMessageBox::error( this,"Check the frame control field" );
- }
- else
- KMessageBox::error( this,"Hexa decimal values only allowed in address field" );
+ frame_len = frame - &msg[0];
+ if (lineedit_status_code->isEnabled() == 1)
+ {
+ if ( ( (status_code > 1 && status_code < 10) || (status_code > 26 && status_code < 32) || (status_code == 36) || (status_code > 51 && status_code < 65536)) && lineedit_status_code->text() != "")
+ {
+ func_auth_call (msg , frame_len);
+ }
+ else
+ {
+ KMessageBox::error (this, "invalid status code");
+ lineedit_status_code->setText ("");
+ }
+ }
+ else
+ {
+ func_auth_call (msg , frame_len);
+ }
+ }
+ }
+ else
+ {
+ KMessageBox::error (this, "sequence number should be in the range 0 and 4095");
+ lineedit_seq_no->setText ("");
+ }
+ }
+ else
+ {
+ KMessageBox::error (this, "Fragment number should be in the range 0 and 15");
+ lineedit_frag_no->setText ("");
+ }
+ }
+ else
+ KMessageBox::error (this, "NAV should be less than 65535");
+ }
+ else
+ KMessageBox::error (this, "Address field empty");
+ }
+ else
+ KMessageBox::error (this...
[truncated message content] |
|
From: <sat...@us...> - 2010-03-20 06:22:52
|
Revision: 245
http://w-meter.svn.sourceforge.net/w-meter/?rev=245&view=rev
Author: sathakselva
Date: 2010-03-20 06:22:46 +0000 (Sat, 20 Mar 2010)
Log Message:
-----------
Fix the issue with clear button in main window and dynamic memory allocation removed
Modified Paths:
--------------
frame_injection_g/trunk/src/injection_main_cpp.cpp
frame_injection_g/trunk/src/mac_80211.h
frame_injection_g/trunk/src/mgmt_asso_req_cpp.cpp
frame_injection_g/trunk/src/mgmt_asso_res_cpp.cpp
Modified: frame_injection_g/trunk/src/injection_main_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/injection_main_cpp.cpp 2010-03-19 15:41:52 UTC (rev 244)
+++ frame_injection_g/trunk/src/injection_main_cpp.cpp 2010-03-20 06:22:46 UTC (rev 245)
@@ -101,8 +101,9 @@
combobox_channel->setCurrentItem(0);
combobox_bandwidth->setCurrentItem(0);
combobox_datarate->setCurrentItem(0);
- lineedit_frame_interval->setText("10000");
- lineedit_no_frames->setText("10");
+ lineedit_interface->setText("");
+ lineedit_frame_interval->setText("");
+ lineedit_no_frames->setText("");
}
/*Event invoked after pressing NEXT push button */
Modified: frame_injection_g/trunk/src/mac_80211.h
===================================================================
--- frame_injection_g/trunk/src/mac_80211.h 2010-03-19 15:41:52 UTC (rev 244)
+++ frame_injection_g/trunk/src/mac_80211.h 2010-03-20 06:22:46 UTC (rev 245)
@@ -22,6 +22,8 @@
#include <stdint.h>
#define MAC_ADDRESS_LEN 6
+#define MAX_LISTEN_INTERVAL 2000
+#define MAX_AID 2008
/**
@author root <ro...@lo...>
*/
Modified: frame_injection_g/trunk/src/mgmt_asso_req_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/mgmt_asso_req_cpp.cpp 2010-03-19 15:41:52 UTC (rev 244)
+++ frame_injection_g/trunk/src/mgmt_asso_req_cpp.cpp 2010-03-20 06:22:46 UTC (rev 245)
@@ -36,8 +36,8 @@
uint16_t global_assoreq_flag = 0;
char default_assoc_req[] = "default_AssocReq";
-//uint8_t msg[300];
+
mgmt_asso_req_cpp::mgmt_asso_req_cpp (QWidget* parent, const char* name, WFlags fl)
: inj_mgmt_association_form (parent, name, fl)
{
@@ -58,7 +58,7 @@
while (fscanf (file1, "%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s", &frame1[0], &frame2[0], &frame3[0], &frame4[0], &frame5[0], &frame6[0], &frame7[0], &frame8[0], &frame9[0], &frame10[0], &frame11[0], &frame12[0], &frame13[0], &frame14[0], &frame15[0], &frame16[0], &nav[0], &add1_1[0], &add1_2[0], &add1_3[0], &add1_4[0], &add1_5[0], &add1_6[0], &add2_1[0], &add2_2[0], &add2_3[0], &add2_4[0], &add2_5[0], &add2_6[0], &add3_1[0], &add3_2[0], &add3_3[0], &add3_4[0], &add3_5[0], &add3_6[0], &fragno[0], &seqno[0], &capinfo1[0], &capinfo2[0], &capinfo3[0], &capinfo4[0], &capinfo5[0], &capinfo6[0], &capinfo7[0], &capinfo8[0], &capinfo9[0], &capinfo10[0], &capinfo11[0], &capinfo12[0], &capinfo13[0], &capinfo14[0], &capinfo15[0], &capinfo16[0], &listenint[0], &ssid[0], &srate1[0], &srate2[0], &srate3[0], &srate4[0], &srate5[0], &srate6[0], &srate7[0], &srate8[0], &esrate1[0], &esrate2[0], &esrate3[0], &esrate4[0], &mand1[0], &mand2[0], &mand3[0], &mand4[0], &mand5[0], &mand6[0], &mand7[0], &mand8[0], &mand9[0], &mand10[0], &mand11[0], &mand12[0]) != EOF)
{
- /* Loading Frame Header details */
+ /* Set Frame control field details */
lineedit_frame_1->setText (frame1);
lineedit_frame_2->setText (frame2);
@@ -77,10 +77,10 @@
lineedit_frame_15->setText (frame15);
lineedit_frame_16->setText (frame16);
- /* Loading NAV Values */
+ /* Set NAV Value */
lineedit_NAV->setText (nav);
- /* Loading Address Values */
+ /* Set Receiver Address */
lineedit_address1_1->setText (add1_1);
lineedit_address1_2->setText (add1_2);
lineedit_address1_3->setText (add1_3);
@@ -88,6 +88,7 @@
lineedit_address1_5->setText (add1_5);
lineedit_address1_6->setText (add1_6);
+ /* Set Transmitter Address */
lineedit_address2_1->setText (add2_1);
lineedit_address2_2->setText (add2_2);
lineedit_address2_3->setText (add2_3);
@@ -95,6 +96,7 @@
lineedit_address2_5->setText (add2_5);
lineedit_address2_6->setText (add2_6);
+ /* Set BSSID Address */
lineedit_address3_1->setText (add3_1);
lineedit_address3_2->setText (add3_2);
lineedit_address3_3->setText (add3_3);
@@ -102,10 +104,11 @@
lineedit_address3_5->setText (add3_5);
lineedit_address3_6->setText (add3_6);
- /* Loading fragment number, sequence number and Capability information elements */
+ /* Set Sequence number */
lineedit_frag_no->setText (fragno);
lineedit_seq_no->setText (seqno);
+ /* Set Capability Information */
lineedit_cap_info_1->setText (capinfo1);
lineedit_cap_info_2->setText (capinfo2);
lineedit_cap_info_3->setText (capinfo3);
@@ -124,7 +127,7 @@
lineedit_cap_info_15->setText (capinfo15);
lineedit_cap_info_16->setText (capinfo16);
- /* Loading listen intervals and ssid */
+ /* Set listen interval and SSID */
lineedit_listen_interval->setText (listenint);
lineedit_ssid->setText (ssid);
@@ -192,7 +195,7 @@
else
checkbox_esrate_4->setChecked (0);
- /* Loading mandatory rates */
+ /* Set mandatory rates */
if (atoi (mand1))
checkbox_mand_1->setChecked (1);
@@ -340,6 +343,7 @@
lineedit_address3_4->setValidator (&v);
lineedit_address3_5->setValidator (&v);
lineedit_address3_6->setValidator (&v);
+
// address fields values to local variable
QString add1_1 = lineedit_address1_1->text();
QString add1_2 = lineedit_address1_2->text();
@@ -391,15 +395,14 @@
if (lineedit_address1_1->text() != "" && lineedit_address1_2->text() != "" && lineedit_address1_3->text() != "" && lineedit_address1_4->text() != "" && lineedit_address1_5->text() != "" && lineedit_address1_6->text() != "" && lineedit_address2_1->text() != "" && lineedit_address2_2->text() != "" && lineedit_address2_3->text() != "" && lineedit_address2_4->text() != "" && lineedit_address2_5->text() != "" && lineedit_address2_6->text() != "" && lineedit_address3_1->text() != "" && lineedit_address3_2->text() != "" && lineedit_address3_3->text() != "" && lineedit_address3_4->text() != "" && lineedit_address3_5->text() != "" && lineedit_address3_6->text() != "")
{
// inializing lineedit values to local variables
- uint16_t duration_id = lineedit_NAV->text().toInt();
+ uint16_t dur_int = lineedit_NAV->text().toInt();
uint16_t frag_no = lineedit_frag_no->text().toInt();
uint16_t seq_no = lineedit_seq_no->text().toInt();
uint16_t listen_intrvl_int = lineedit_listen_interval->text().toInt();
- /* validating lineedit values */
- /* validating NAV */
+ /* validating other fields */
- if (duration_id < 65535 && lineedit_NAV->text() != "")
+ if (dur_int < 65535 && lineedit_NAV->text() != "")
{
if (frag_no < 16 && lineedit_frag_no->text() != "")
{
@@ -424,10 +427,9 @@
lineedit_cap_info_16->text().toInt() <= 1 && lineedit_cap_info_16->text() != "")
{
/* validating Listen Interval field */
- if (lineedit_listen_interval->text() != "" && listen_intrvl_int > 0 && listen_intrvl_int < 2001)
+ if (lineedit_listen_interval->text() != "" && listen_intrvl_int > 0 && listen_intrvl_int < MAX_LISTEN_INTERVAL)
{
- uint8_t frame_ctrl[2], duration_char[2], listen_intrvl_char[2];
- uint8_t addr1[6], addr2[6], addr3[6];
+ uint8_t frame_ctrl[2], duration_char[2], listen_intrvl_char[2], addr1[6], addr2[6], addr3[6];
/* Form Frame control */
frame_ctrl[0] = mac.bits_to_byte (lineedit_frame_1->text(), lineedit_frame_2->text(), lineedit_frame_3->text(), lineedit_frame_4->text(), lineedit_frame_5->text(), lineedit_frame_6->text(), lineedit_frame_7->text(), lineedit_frame_8->text());
@@ -438,7 +440,7 @@
uint16_t i;
for (i = 0;i < 2;i++)
- duration_char[i] = * ( ( (char*) & duration_id) + i);
+ duration_char[i] = * ( ( (char*) & dur_int) + i);
/* adress fields initializing to local variable */
addr1[0] = (unsigned char) lineedit_address1_1->text().toInt (&ok , 16);
@@ -478,93 +480,91 @@
/* Listen Interval operation */
for (i = 0;i < 2;i++)
- listen_intrvl_char[i] = * ( ( (char*) & listen_intrvl_int) + i);
+ listen_intrvl_char[i] = * ( ( (unsigned char*) & listen_intrvl_int) + i);
- /* SSID operation */
uint8_t ssid_len = lineedit_ssid->text().length();
const char *str_ascii = lineedit_ssid->text();
- uint8_t element_id = 0X00;
+ uint8_t element_id = 0X00, srate_len = 0;
+ /* @srate : Maximum 8 data rates can be stored in suported rate. Remaining rates stored in extended supported rate. */
+ uint8_t index = 0, srate[8], srate_id = 0X01, hexrate;
- /* suported rate , Extended supported rate operation */
- uint8_t index = 0, tmp_val_char[10], srate_eleid = 0X01, hexrate;
-
if (checkbox_srate_1->isChecked() == 1)
{
hexrate = mac.map_rate (1, checkbox_mand_1->isChecked());
- tmp_val_char[index++] = * ( ( (char*) & hexrate) + 0);
+ srate[index++] = * ( ( (unsigned char*) & hexrate) + 0);
}
if (checkbox_srate_2->isChecked() == 1)
{
hexrate = mac.map_rate (2, checkbox_mand_2->isChecked());
- tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ srate[index++] = * ( (unsigned char*) & hexrate) ;
}
if (checkbox_srate_3->isChecked() == 1)
{
hexrate = mac.map_rate (5.5, checkbox_mand_3->isChecked());
- tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ srate[index++] = * ( (unsigned char*) & hexrate) ;
}
if (checkbox_srate_4->isChecked() == 1)
{
hexrate = mac.map_rate (11, checkbox_mand_4->isChecked());
- tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ srate[index++] = * ( (unsigned char*) & hexrate) ;
}
if (checkbox_srate_5->isChecked() == 1)
{
hexrate = mac.map_rate (6, checkbox_mand_5->isChecked());
- tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ srate[index++] = * ( (unsigned char*) & hexrate) ;
}
if (checkbox_srate_6->isChecked() == 1)
{
hexrate = mac.map_rate (9, checkbox_mand_6->isChecked());
- tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ srate[index++] = * ( (unsigned char*) & hexrate) ;
}
if (checkbox_srate_7->isChecked() == 1)
{
hexrate = mac.map_rate (12, checkbox_mand_7->isChecked());
- tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ srate[index++] = * ( (unsigned char*) & hexrate) ;
}
if (checkbox_srate_8->isChecked() == 1)
{
hexrate = mac.map_rate (18, checkbox_mand_8->isChecked());
- tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ srate[index++] = * ( (unsigned char*) & hexrate) ;
}
+ srate_len = index;
+ /*@erate: IEEE 802.11-2007 defines 12 data rates.
+ 8 as supported rate and 4 as extended suported rate */
+ uint8_t index1 = 0, erate[4], erate_id = 0X32, erate_len =0;
- uint8_t len_srate_arr = index;
- uint8_t index1 = 0, tmp_val_esrchar[4], esrate_eleid = 0X32;
-
if (checkbox_esrate_1->isChecked() == 1)
{
hexrate = mac.map_rate (24, checkbox_mand_9->isChecked());
- tmp_val_esrchar[index1++] = * ( (char*) & hexrate);
+ erate[index1++] = * ( (unsigned char*) & hexrate);
}
if (checkbox_esrate_2->isChecked() == 1)
{
hexrate = mac.map_rate (36, checkbox_mand_10->isChecked());
- tmp_val_esrchar[index1++] = * ( (char*) & hexrate) ;
+ erate[index1++] = * ( (unsigned char*) & hexrate) ;
}
if (checkbox_esrate_3->isChecked() == 1)
{
hexrate = mac.map_rate (48, checkbox_mand_11->isChecked());
- tmp_val_esrchar[index1++] = * ( (char*) & hexrate);
+ erate[index1++] = * ( (unsigned char*) & hexrate);
}
if (checkbox_esrate_4->isChecked() == 1)
{
hexrate = mac.map_rate (54, checkbox_mand_12->isChecked());
- tmp_val_esrchar[index1++] = * ( (char*) & hexrate);
+ erate[index1++] = * ( (unsigned char*) & hexrate);
}
+ erate_len = index1;
- uint8_t len_esrate_arr = index1;
-
// copy frame control field
memcpy (frame, &frame_ctrl, sizeof(frame_ctrl));
frame += sizeof(frame_ctrl);
@@ -593,7 +593,6 @@
// append SSID
*frame++ = element_id;
*frame++ = ssid_len;
-
if (ssid_len != 0)
{
memcpy (frame, str_ascii, ssid_len);
@@ -601,21 +600,21 @@
}
// Append supported rates
- if (len_srate_arr > 0)
+ if (srate_len > 0)
{
- *frame++ = srate_eleid;
- *frame++ = len_srate_arr;
- memcpy (frame, &tmp_val_char, len_srate_arr);
- frame += len_srate_arr;
+ *frame++ = srate_id;
+ *frame++ = srate_len;
+ memcpy (frame, &srate, srate_len);
+ frame += srate_len;
}
// append extended support rates
- if (len_esrate_arr > 0)
+ if (erate_len > 0)
{
- *frame++ = esrate_eleid;
- *frame++ = len_esrate_arr;
- memcpy (frame, &tmp_val_esrchar, len_esrate_arr);
- frame += len_esrate_arr;
+ *frame++ = erate_id;
+ *frame++ = erate_len;
+ memcpy (frame, &erate, erate_len);
+ frame += erate_len;
}
int frame_len = frame - &msg[0];
@@ -829,7 +828,6 @@
}
QString str_frm1 = lineedit_frame_1->text();
-
QString str_frm2 = lineedit_frame_2->text();
QString str_frm3 = lineedit_frame_3->text();
QString str_frm4 = lineedit_frame_4->text();
Modified: frame_injection_g/trunk/src/mgmt_asso_res_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/mgmt_asso_res_cpp.cpp 2010-03-19 15:41:52 UTC (rev 244)
+++ frame_injection_g/trunk/src/mgmt_asso_res_cpp.cpp 2010-03-20 06:22:46 UTC (rev 245)
@@ -58,7 +58,7 @@
while (fscanf (file1, "%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %d %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s", &frame1[0], &frame2[0], &frame3[0], &frame4[0], &frame5[0], &frame6[0], &frame7[0], &frame8[0], &frame9[0], &frame10[0], &frame11[0], &frame12[0], &frame13[0], &frame14[0], &frame15[0], &frame16[0], &nav[0], &add1_1[0], &add1_2[0], &add1_3[0], &add1_4[0], &add1_5[0], &add1_6[0], &add2_1[0], &add2_2[0], &add2_3[0], &add2_4[0], &add2_5[0], &add2_6[0], &add3_1[0], &add3_2[0], &add3_3[0], &add3_4[0], &add3_5[0], &add3_6[0], &fragno[0], &seqno[0], &capinfo1[0], &capinfo2[0], &capinfo3[0], &capinfo4[0], &capinfo5[0], &capinfo6[0], &capinfo7[0], &capinfo8[0], &capinfo9[0], &capinfo10[0], &capinfo11[0], &capinfo12[0], &capinfo13[0], &capinfo14[0], &capinfo15[0], &capinfo16[0], &statuscode, &associd[0], &stat_code[0], &srate1[0], &srate2[0], &srate3[0], &srate4[0], &srate5[0], &srate6[0], &srate7[0], &srate8[0], &esrate1[0], &esrate2[0], &esrate3[0], &esrate4[0], &mand1[0], &mand2[0], &mand3[0], &mand4[0], &mand5[0], &mand6[0], &mand7[0], &mand8[0], &mand9[0], &mand10[0], &mand11[0], &mand12[0]) != EOF)
{
- /* Loading Frame Header details */
+ /* Set Frame control field details */
lineedit_frame_1->setText (frame1);
lineedit_frame_2->setText (frame2);
@@ -77,10 +77,10 @@
lineedit_frame_15->setText (frame15);
lineedit_frame_16->setText (frame16);
- /* Loading NAV Values */
+ /* Set NAV Value */
lineedit_NAV->setText (nav);
- /* Loading Address Values */
+ /* Set Addresses */
lineedit_address1_1->setText (add1_1);
lineedit_address1_2->setText (add1_2);
lineedit_address1_3->setText (add1_3);
@@ -102,7 +102,7 @@
lineedit_address3_5->setText (add3_5);
lineedit_address3_6->setText (add3_6);
- /* Loading fragment number, sequence number and Capability information elements */
+ /* Set fragment number, sequence number and Capability information elements */
lineedit_frag_no->setText (fragno);
lineedit_seq_no->setText (seqno);
@@ -294,7 +294,6 @@
}
/* Saving sent frames as a testid for re-use */
-
void mgmt_asso_res_cpp::asso_res_save_click()
{
if (lineedit_testid->text() != "")
@@ -390,12 +389,12 @@
/* inializing lineedit values to local variables */
uint16_t frag_no = lineedit_frag_no->text().toInt();
uint16_t seq_no = lineedit_seq_no->text().toInt();
- uint16_t duration_id = lineedit_NAV->text().toInt();
+ uint16_t dur_int = lineedit_NAV->text().toInt();
uint16_t aid_int = lineedit_assoc_id->text().toInt();
- /* validating lineedit values */
- /* validating NAV */
- if (duration_id < 65535 && lineedit_NAV->text() != "")
+ /* validating other fields */
+
+ if (dur_int < 65535 && lineedit_NAV->text() != "")
{
/* validating fragmentation number */
if (frag_no < 16 && lineedit_frag_no->text() != "")
@@ -420,11 +419,10 @@
lineedit_cap_info_16->text().toInt() <= 1 && lineedit_cap_info_16->text() != "")
{
/*validating asso_id field */
- if (aid_int < 2008 && lineedit_assoc_id->text() != "")
+ if (aid_int < MAX_AID && lineedit_assoc_id->text() != "")
{
uint16_t status_code = lineedit_status_code->text().toInt(), i;
- uint8_t frame_ctrl[2], duration_char[2], aid_char[2];
- uint8_t addr1[6], addr2[6], addr3[6];
+ uint8_t frame_ctrl[2], duration_char[2], aid_char[2], addr1[6], addr2[6], addr3[6];
/* Form Frame control */
frame_ctrl[0] = mac.bits_to_byte (lineedit_frame_1->text(), lineedit_frame_2->text(), lineedit_frame_3->text(), lineedit_frame_4->text(), lineedit_frame_5->text(), lineedit_frame_6->text(), lineedit_frame_7->text(), lineedit_frame_8->text());
@@ -433,7 +431,7 @@
frame_ctrl[1] = mac.bits_to_byte (lineedit_frame_9->text(), lineedit_frame_10->text(), lineedit_frame_11->text(), lineedit_frame_12->text(), lineedit_frame_13->text(), lineedit_frame_14->text(), lineedit_frame_15->text(), lineedit_frame_16->text());
for (i = 0;i < 2;i++)
- duration_char[i] = * ( ( (char*) & duration_id) + i);
+ duration_char[i] = * ( ( (char*) & dur_int) + i);
/* adress fields initializing to local variable */
addr1[0] = (unsigned char) lineedit_address1_1->text().toInt (&ok , 16);
@@ -464,7 +462,7 @@
seq_ctrl_int = seq_ctrl_int | frag_no;
for (i = 0;i < 2;i++)
- seq_ctrl_char[i] = * ( ( (char*) & seq_ctrl_int) + i);
+ seq_ctrl_char[i] = * ( ( (unsigned char*) & seq_ctrl_int) + i);
/* Formatting Capability information */
uint8_t cap_info[2];
@@ -473,147 +471,126 @@
cap_info[1] = mac.bits_to_byte (lineedit_cap_info_9->text(), lineedit_cap_info_10->text(), lineedit_cap_info_11->text(), lineedit_cap_info_12->text(), lineedit_cap_info_13->text(), lineedit_cap_info_14->text(), lineedit_cap_info_15->text(), lineedit_cap_info_16->text());
for (i = 0;i < 2;i++)
- aid_char[i] = * ( ( (char*) & aid_int) + i);
+ aid_char[i] = * ( ( (unsigned char*) & aid_int) + i);
/* Status code formatting*/
uint8_t status_code_char[2];
- uint16_t temp_status_code = mac.get_status_code (combobox_status_code->currentItem(), status_code);
+ status_code = mac.get_status_code (combobox_status_code->currentItem(), status_code);
for (i = 0;i < 2;i++)
- status_code_char[i] = * ( ( (char*) & temp_status_code) + i);
+ status_code_char[i] = * ( ( (unsigned char*) & status_code) + i);
- /* typecasting suported rate , Extended supported rate */
+ /* Supported rate , Extended supported rate */
uint16_t index = 0, index1 = 0;
- uint8_t tmp_val_char[10], tmp_val_esrchar[4], hexrate;
+ uint8_t srate[8], erate[4], srate_len = 0, srate_id = 0X01, hexrate;
if (checkbox_srate_1->isChecked() == 1)
{
hexrate = mac.map_rate (1, checkbox_mand_1->isChecked());
- tmp_val_char[index++] = * ( ( (char*) & hexrate) + 0);
+ srate[index++] = * ( ( (char*) & hexrate) + 0);
}
if (checkbox_srate_2->isChecked() == 1)
{
hexrate = mac.map_rate (2, checkbox_mand_2->isChecked());
- tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ srate[index++] = * ( (char*) & hexrate) ;
}
if (checkbox_srate_3->isChecked() == 1)
{
hexrate = mac.map_rate (5.5, checkbox_mand_3->isChecked());
- tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ srate[index++] = * ( (char*) & hexrate) ;
}
if (checkbox_srate_4->isChecked() == 1)
{
hexrate = mac.map_rate (11, checkbox_mand_4->isChecked());
- tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ srate[index++] = * ( (char*) & hexrate) ;
}
if (checkbox_srate_5->isChecked() == 1)
{
hexrate = mac.map_rate (6, checkbox_mand_5->isChecked());
- tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ srate[index++] = * ( (char*) & hexrate) ;
}
if (checkbox_srate_6->isChecked() == 1)
{
hexrate = mac.map_rate (9, checkbox_mand_6->isChecked());
- tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ srate[index++] = * ( (char*) & hexrate) ;
}
if (checkbox_srate_7->isChecked() == 1)
{
hexrate = mac.map_rate (12, checkbox_mand_7->isChecked());
- tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ srate[index++] = * ( (char*) & hexrate) ;
}
if (checkbox_srate_8->isChecked() == 1)
{
hexrate = mac.map_rate (18, checkbox_mand_8->isChecked());
- tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ srate[index++] = * ( (char*) & hexrate) ;
}
+ srate_len = index;
- uint16_t len_srate_arr = index;
- uint8_t srate_eleid = 0X01;
-
if (checkbox_esrate_1->isChecked() == 1)
{
hexrate = mac.map_rate (24, checkbox_mand_9->isChecked());
- tmp_val_esrchar[index1++] = * ( (char*) & hexrate) ;
+ erate[index1++] = * ( (char*) & hexrate) ;
}
if (checkbox_esrate_2->isChecked() == 1)
{
hexrate = mac.map_rate (36, checkbox_mand_10->isChecked());
- tmp_val_esrchar[index1++] = * ( (char*) & hexrate) ;
+ erate[index1++] = * ( (char*) & hexrate) ;
}
if (checkbox_esrate_3->isChecked() == 1)
{
hexrate = mac.map_rate (48, checkbox_mand_11->isChecked());
- tmp_val_esrchar[index1++] = * ( (char*) & hexrate) ;
+ erate[index1++] = * ( (char*) & hexrate) ;
}
if (checkbox_esrate_4->isChecked() == 1)
{
hexrate = mac.map_rate (54, checkbox_mand_12->isChecked());
- tmp_val_esrchar[index1++] = * ( (char*) & hexrate) ;
+ erate[index1++] = * ( (char*) & hexrate) ;
}
- uint16_t len_esrate_arr = index1;
- uint8_t esrate_eleid = 0X32;
+ uint16_t erate_len = index1;
+ uint8_t erate_id = 0X32;
+ memcpy (frame, &frame_ctrl, sizeof(frame_ctrl));
+ frame += sizeof(frame_ctrl);
- memcpy (frame, &frame_ctrl, 2);
- frame += 2;
+ memcpy (frame, &duration_char, sizeof(duration_char));
+ frame += sizeof(duration_char);
- memcpy (frame, &duration_char, 2);
- frame += 2;
+ memcpy (frame, &addr1, MAC_ADDRESS_LEN);
+ frame += MAC_ADDRESS_LEN;
- memcpy (frame, &addr1, 6);
- frame += 6;
+ memcpy (frame, &addr2, MAC_ADDRESS_LEN);
+ frame += MAC_ADDRESS_LEN;
- memcpy (frame, &addr2, 6);
- frame += 6;
+ memcpy (frame, &addr3, MAC_ADDRESS_LEN);
+ frame += MAC_ADDRESS_LEN;
- memcpy (frame, &addr3, 6);
- frame += 6;
+ memcpy (frame, &seq_ctrl_char, sizeof(seq_ctrl_char));
+ frame += sizeof(seq_ctrl_char);
- memcpy (frame, &seq_ctrl_char, 2);
- frame += 2;
+ memcpy (frame, &cap_info, sizeof(cap_info));
+ frame += sizeof(cap_info);
- memcpy (frame, &cap_info, 2);
- frame += 2;
+ memcpy (frame, &status_code_char, sizeof(status_code_char));
+ frame += sizeof (status_code_char);
- memcpy (frame, &status_code_char, 2);
- frame += 2;
+ memcpy (frame, &aid_char, sizeof (aid_char));
+ frame += sizeof (aid_char);
- memcpy (frame, &aid_char, 2);
- frame += 2;
-
/* appending supported rate and extended supported rate to array */
- if (checkbox_srate_1->isChecked() == 0 &&
- checkbox_srate_2->isChecked() == 0 &&
- checkbox_srate_3->isChecked() == 0 &&
- checkbox_srate_4->isChecked() == 0 &&
- checkbox_srate_5->isChecked() == 0 &&
- checkbox_srate_6->isChecked() == 0 &&
- checkbox_srate_7->isChecked() == 0 &&
- checkbox_srate_8->isChecked() == 0)
+ if (srate_len > 0)
{
-
+ *frame++ = srate_id;
+ *frame++ = srate_len;
+ memcpy (frame, &srate, srate_len);
+ frame += srate_len;
}
- else
- {
- *frame++ = srate_eleid;
- *frame++ = len_srate_arr;
- memcpy (frame, &tmp_val_char, len_srate_arr);
- frame += len_srate_arr;
- }
- if (checkbox_esrate_1->isChecked() == 0 &&
- checkbox_esrate_2->isChecked() == 0 &&
- checkbox_esrate_3->isChecked() == 0 &&
- checkbox_esrate_4->isChecked() == 0)
+ if (erate_len > 0)
{
-
+ *frame++ = erate_id;
+ *frame++ = erate_len;
+ memcpy (frame, &erate, erate_len);
+ frame += erate_len;
}
- else
- {
- *frame++ = esrate_eleid;
- *frame++ = len_esrate_arr;
- memcpy (frame, &tmp_val_esrchar, len_esrate_arr);
- frame += len_esrate_arr;
- }
int frame_len = frame - &msg[0];
if (lineedit_status_code->isEnabled() == 1)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <sat...@us...> - 2010-03-19 15:41:58
|
Revision: 244
http://w-meter.svn.sourceforge.net/w-meter/?rev=244&view=rev
Author: sathakselva
Date: 2010-03-19 15:41:52 +0000 (Fri, 19 Mar 2010)
Log Message:
-----------
moc file removed from the version control
Removed Paths:
-------------
frame_injection_g/trunk/src/control_pspoll_cpp.moc
Deleted: frame_injection_g/trunk/src/control_pspoll_cpp.moc
===================================================================
--- frame_injection_g/trunk/src/control_pspoll_cpp.moc 2010-03-19 15:38:58 UTC (rev 243)
+++ frame_injection_g/trunk/src/control_pspoll_cpp.moc 2010-03-19 15:41:52 UTC (rev 244)
@@ -1,125 +0,0 @@
-/****************************************************************************
-** control_pspoll_cpp meta object code from reading C++ file 'control_pspoll_cpp.h'
-**
-** Created: Fri Mar 19 20:07:11 2010
-** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $)
-**
-** WARNING! All changes made in this file will be lost!
-*****************************************************************************/
-
-#undef QT_NO_COMPAT
-#include "control_pspoll_cpp.h"
-#include <qmetaobject.h>
-#include <qapplication.h>
-
-#include <private/qucomextra_p.h>
-#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
-#error "This file was generated using the moc from 3.3.8b. It"
-#error "cannot be used with the include files from this version of Qt."
-#error "(The moc has changed too much.)"
-#endif
-
-const char *control_pspoll_cpp::className() const
-{
- return "control_pspoll_cpp";
-}
-
-QMetaObject *control_pspoll_cpp::metaObj = 0;
-static QMetaObjectCleanUp cleanUp_control_pspoll_cpp( "control_pspoll_cpp", &control_pspoll_cpp::staticMetaObject );
-
-#ifndef QT_NO_TRANSLATION
-QString control_pspoll_cpp::tr( const char *s, const char *c )
-{
- if ( qApp )
- return qApp->translate( "control_pspoll_cpp", s, c, QApplication::DefaultCodec );
- else
- return QString::fromLatin1( s );
-}
-#ifndef QT_NO_TRANSLATION_UTF8
-QString control_pspoll_cpp::trUtf8( const char *s, const char *c )
-{
- if ( qApp )
- return qApp->translate( "control_pspoll_cpp", s, c, QApplication::UnicodeUTF8 );
- else
- return QString::fromUtf8( s );
-}
-#endif // QT_NO_TRANSLATION_UTF8
-
-#endif // QT_NO_TRANSLATION
-
-QMetaObject* control_pspoll_cpp::staticMetaObject()
-{
- if ( metaObj )
- return metaObj;
- QMetaObject* parentObject = inj_control_pspoll::staticMetaObject();
- static const QUMethod slot_0 = {"pspoll_main_win", 0, 0 };
- static const QUMethod slot_1 = {"pspoll_clear_click", 0, 0 };
- static const QUMethod slot_2 = {"pspoll_run_click", 0, 0 };
- static const QUMethod slot_3 = {"pspoll_save_click", 0, 0 };
- static const QUMethod slot_4 = {"pspoll_default_click", 0, 0 };
- static const QUMethod slot_5 = {"func_pspoll_hex_convertion", 0, 0 };
- static const QUMethod slot_6 = {"reset_ps_poll", 0, 0 };
- static const QUParameter param_slot_7[] = {
- { "file", &static_QUType_charstar, 0, QUParameter::In }
- };
- static const QUMethod slot_7 = {"save_in_txt", 1, param_slot_7 };
- static const QMetaData slot_tbl[] = {
- { "pspoll_main_win()", &slot_0, QMetaData::Public },
- { "pspoll_clear_click()", &slot_1, QMetaData::Public },
- { "pspoll_run_click()", &slot_2, QMetaData::Public },
- { "pspoll_save_click()", &slot_3, QMetaData::Public },
- { "pspoll_default_click()", &slot_4, QMetaData::Public },
- { "func_pspoll_hex_convertion()", &slot_5, QMetaData::Public },
- { "reset_ps_poll()", &slot_6, QMetaData::Public },
- { "save_in_txt(char*)", &slot_7, QMetaData::Public }
- };
- metaObj = QMetaObject::new_metaobject(
- "control_pspoll_cpp", parentObject,
- slot_tbl, 8,
- 0, 0,
-#ifndef QT_NO_PROPERTIES
- 0, 0,
- 0, 0,
-#endif // QT_NO_PROPERTIES
- 0, 0 );
- cleanUp_control_pspoll_cpp.setMetaObject( metaObj );
- return metaObj;
-}
-
-void* control_pspoll_cpp::qt_cast( const char* clname )
-{
- if ( !qstrcmp( clname, "control_pspoll_cpp" ) )
- return this;
- return inj_control_pspoll::qt_cast( clname );
-}
-
-bool control_pspoll_cpp::qt_invoke( int _id, QUObject* _o )
-{
- switch ( _id - staticMetaObject()->slotOffset() ) {
- case 0: pspoll_main_win(); break;
- case 1: pspoll_clear_click(); break;
- case 2: pspoll_run_click(); break;
- case 3: pspoll_save_click(); break;
- case 4: pspoll_default_click(); break;
- case 5: func_pspoll_hex_convertion(); break;
- case 6: reset_ps_poll(); break;
- case 7: save_in_txt((char*)static_QUType_charstar.get(_o+1)); break;
- default:
- return inj_control_pspoll::qt_invoke( _id, _o );
- }
- return TRUE;
-}
-
-bool control_pspoll_cpp::qt_emit( int _id, QUObject* _o )
-{
- return inj_control_pspoll::qt_emit(_id,_o);
-}
-#ifndef QT_NO_PROPERTIES
-
-bool control_pspoll_cpp::qt_property( int id, int f, QVariant* v)
-{
- return inj_control_pspoll::qt_property( id, f, v);
-}
-
-bool control_pspoll_cpp::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
-#endif // QT_NO_PROPERTIES
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <sat...@us...> - 2010-03-19 15:39:06
|
Revision: 243
http://w-meter.svn.sourceforge.net/w-meter/?rev=243&view=rev
Author: sathakselva
Date: 2010-03-19 15:38:58 +0000 (Fri, 19 Mar 2010)
Log Message:
-----------
Dynamic memory allocation is removed.
Modified Paths:
--------------
frame_injection_g/trunk/INSTALL
frame_injection_g/trunk/src/control_pspoll_cpp.moc
frame_injection_g/trunk/src/injection_main_cpp.cpp
frame_injection_g/trunk/src/mac_80211.h
frame_injection_g/trunk/src/mgmt_asso_req_cpp.cpp
frame_injection_g/trunk/src/mgmt_asso_req_cpp.h
frame_injection_g/trunk/src/mgmt_asso_res_cpp.cpp
frame_injection_g/trunk/src/mgmt_asso_res_cpp.h
Modified: frame_injection_g/trunk/INSTALL
===================================================================
--- frame_injection_g/trunk/INSTALL 2010-03-17 14:59:14 UTC (rev 242)
+++ frame_injection_g/trunk/INSTALL 2010-03-19 15:38:58 UTC (rev 243)
@@ -1,4 +1,4 @@
-We have tested the software on fedora based system using atheros based wireless devices. See list of supported hardware. There is no reason why it should not work on other distros but right now its fully functional on a fedora system. We plan to test it on other platforms and update the package.
+We have tested the software on fedora based system using atheros based wireless devices. See the list of supported hardwares.There is no reason why it should not work on other distros but right now its fully functional on a fedora system. We plan to test it on other platforms and update the package.
The dependencies of the w-meter package include the following
@@ -38,4 +38,4 @@
Have a look at the list of supported frames to know the type of frames that can be injected as of now.
-Send in your queries to w-m...@so...
+Send in your queries to w-m...@so...
Modified: frame_injection_g/trunk/src/control_pspoll_cpp.moc
===================================================================
--- frame_injection_g/trunk/src/control_pspoll_cpp.moc 2010-03-17 14:59:14 UTC (rev 242)
+++ frame_injection_g/trunk/src/control_pspoll_cpp.moc 2010-03-19 15:38:58 UTC (rev 243)
@@ -1,7 +1,7 @@
/****************************************************************************
** control_pspoll_cpp meta object code from reading C++ file 'control_pspoll_cpp.h'
**
-** Created: Mon Mar 15 20:19:01 2010
+** Created: Fri Mar 19 20:07:11 2010
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!
Modified: frame_injection_g/trunk/src/injection_main_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/injection_main_cpp.cpp 2010-03-17 14:59:14 UTC (rev 242)
+++ frame_injection_g/trunk/src/injection_main_cpp.cpp 2010-03-19 15:38:58 UTC (rev 243)
@@ -57,7 +57,7 @@
int frame_count;
int channel_index;
-char iface[5];
+char iface[6];
WLAN_inject inject;
/* initial values to be loaded in main form */
Modified: frame_injection_g/trunk/src/mac_80211.h
===================================================================
--- frame_injection_g/trunk/src/mac_80211.h 2010-03-17 14:59:14 UTC (rev 242)
+++ frame_injection_g/trunk/src/mac_80211.h 2010-03-19 15:38:58 UTC (rev 243)
@@ -20,6 +20,8 @@
#ifndef MAC_80211_H
#define MAC_80211_H
#include <stdint.h>
+
+#define MAC_ADDRESS_LEN 6
/**
@author root <ro...@lo...>
*/
Modified: frame_injection_g/trunk/src/mgmt_asso_req_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/mgmt_asso_req_cpp.cpp 2010-03-17 14:59:14 UTC (rev 242)
+++ frame_injection_g/trunk/src/mgmt_asso_req_cpp.cpp 2010-03-19 15:38:58 UTC (rev 243)
@@ -34,206 +34,231 @@
#include "mac_80211.h"
-uint16_t global_assoreq_flag=0;
+uint16_t global_assoreq_flag = 0;
char default_assoc_req[] = "default_AssocReq";
+//uint8_t msg[300];
-mgmt_asso_req_cpp::mgmt_asso_req_cpp( QWidget* parent, const char* name, WFlags fl )
- : inj_mgmt_association_form( parent,name,fl )
+mgmt_asso_req_cpp::mgmt_asso_req_cpp (QWidget* parent, const char* name, WFlags fl)
+ : inj_mgmt_association_form (parent, name, fl)
{
- char frame1[2], frame2[2], frame3[2], frame4[2], frame5[2], frame6[2], frame7[2], frame8[2], frame9[2], frame10[2], frame11[2], frame12[2], frame13[2], frame14[2], frame15[2], frame16[2], nav[6], add1_1[3], add1_2[3], add1_3[3], add1_4[3], add1_5[3], add1_6[3], add2_1[3], add2_2[3], add2_3[3], add2_4[3], add2_5[3], add2_6[3], add3_1[3], add3_2[3], add3_3[3], add3_4[3], add3_5[3], add3_6[3], fragno[3], seqno[5], capinfo1[2], capinfo2[2], capinfo3[2], capinfo4[2], capinfo5[2], capinfo6[2], capinfo7[2], capinfo8[2], capinfo9[2], capinfo10[2],capinfo11[2], capinfo12[2], capinfo13[2], capinfo14[2], capinfo15[2], capinfo16[2], listenint[10], ssid[35], srate1[2], srate2[2], srate3[2], srate4[2], srate5[2], srate6[2], srate7[2], srate8[2], esrate1[2], esrate2[2], esrate3[2], esrate4[2], mand1[2], mand2[2], mand3[2], mand4[2], mand5[2], mand6[2], mand7[2], mand8[2], mand9[2], mand10[2], mand11[2], mand12[2];
+ char frame1[2], frame2[2], frame3[2], frame4[2], frame5[2], frame6[2], frame7[2], frame8[2], frame9[2], frame10[2], frame11[2], frame12[2], frame13[2], frame14[2], frame15[2], frame16[2], nav[6], add1_1[3], add1_2[3], add1_3[3], add1_4[3], add1_5[3], add1_6[3], add2_1[3], add2_2[3], add2_3[3], add2_4[3], add2_5[3], add2_6[3], add3_1[3], add3_2[3], add3_3[3], add3_4[3], add3_5[3], add3_6[3], fragno[3], seqno[5], capinfo1[2], capinfo2[2], capinfo3[2], capinfo4[2], capinfo5[2], capinfo6[2], capinfo7[2], capinfo8[2], capinfo9[2], capinfo10[2], capinfo11[2], capinfo12[2], capinfo13[2], capinfo14[2], capinfo15[2], capinfo16[2], listenint[10], ssid[35], srate1[2], srate2[2], srate3[2], srate4[2], srate5[2], srate6[2], srate7[2], srate8[2], esrate1[2], esrate2[2], esrate3[2], esrate4[2], mand1[2], mand2[2], mand3[2], mand4[2], mand5[2], mand6[2], mand7[2], mand8[2], mand9[2], mand10[2], mand11[2], mand12[2];
- FILE *file1;
- file1=fopen( default_assoc_req,"r" );
- if ( file1==NULL )
- {
- KMessageBox::error( this,"Unable to open file.Loading initial values" );
- reset_assoc_req();
- }
- else
- {
- /* Reading from template files for filling default values */
+ FILE *file1;
+ file1 = fopen (default_assoc_req, "r");
- while ( fscanf( file1,"%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s", &frame1[0],&frame2[0],&frame3[0],&frame4[0],&frame5[0],&frame6[0],&frame7[0],&frame8[0],&frame9[0],&frame10[0],&frame11[0],&frame12[0],&frame13[0],&frame14[0],&frame15[0],&frame16[0],&nav[0],&add1_1[0],&add1_2[0],&add1_3[0],&add1_4[0],&add1_5[0],&add1_6[0],&add2_1[0],&add2_2[0],&add2_3[0],&add2_4[0],&add2_5[0],&add2_6[0],&add3_1[0],&add3_2[0],&add3_3[0],&add3_4[0],&add3_5[0],&add3_6[0],&fragno[0],&seqno[0],&capinfo1[0],&capinfo2[0],&capinfo3[0],&capinfo4[0],&capinfo5[0],&capinfo6[0],&capinfo7[0],&capinfo8[0],&capinfo9[0],&capinfo10[0],&capinfo11[0],&capinfo12[0],&capinfo13[0],&capinfo14[0],&capinfo15[0],&capinfo16[0],&listenint[0],&ssid[0],&srate1[0],&srate2[0],&srate3[0],&srate4[0],&srate5[0],&srate6[0],&srate7[0],&srate8[0],&esrate1[0],&esrate2[0],&esrate3[0],&esrate4[0],&mand1[0],&mand2[0],&mand3[0],&mand4[0],&mand5[0],&mand6[0],&mand7[0],&mand8[0],&mand9[0],&mand10[0],&mand11[0],&mand12[0] )!=EOF )
- {
- /* Loading Frame Header details */
+ if (file1 == NULL)
+ {
+ KMessageBox::error (this, "Unable to open file.Loading initial values");
+ reset_assoc_req();
+ }
+ else
+ {
+ /* Reading from template files for filling default values */
- lineedit_frame_1->setText( frame1 );
- lineedit_frame_2->setText( frame2 );
- lineedit_frame_3->setText( frame3 );
- lineedit_frame_4->setText( frame4 );
- lineedit_frame_5->setText( frame5 );
- lineedit_frame_6->setText( frame6 );
- lineedit_frame_7->setText( frame7 );
- lineedit_frame_8->setText( frame8 );
- lineedit_frame_9->setText( frame9 );
- lineedit_frame_10->setText( frame10 );
- lineedit_frame_11->setText( frame11 );
- lineedit_frame_12->setText( frame12 );
- lineedit_frame_13->setText( frame13 );
- lineedit_frame_14->setText( frame14 );
- lineedit_frame_15->setText( frame15 );
- lineedit_frame_16->setText( frame16 );
+ while (fscanf (file1, "%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s", &frame1[0], &frame2[0], &frame3[0], &frame4[0], &frame5[0], &frame6[0], &frame7[0], &frame8[0], &frame9[0], &frame10[0], &frame11[0], &frame12[0], &frame13[0], &frame14[0], &frame15[0], &frame16[0], &nav[0], &add1_1[0], &add1_2[0], &add1_3[0], &add1_4[0], &add1_5[0], &add1_6[0], &add2_1[0], &add2_2[0], &add2_3[0], &add2_4[0], &add2_5[0], &add2_6[0], &add3_1[0], &add3_2[0], &add3_3[0], &add3_4[0], &add3_5[0], &add3_6[0], &fragno[0], &seqno[0], &capinfo1[0], &capinfo2[0], &capinfo3[0], &capinfo4[0], &capinfo5[0], &capinfo6[0], &capinfo7[0], &capinfo8[0], &capinfo9[0], &capinfo10[0], &capinfo11[0], &capinfo12[0], &capinfo13[0], &capinfo14[0], &capinfo15[0], &capinfo16[0], &listenint[0], &ssid[0], &srate1[0], &srate2[0], &srate3[0], &srate4[0], &srate5[0], &srate6[0], &srate7[0], &srate8[0], &esrate1[0], &esrate2[0], &esrate3[0], &esrate4[0], &mand1[0], &mand2[0], &mand3[0], &mand4[0], &mand5[0], &mand6[0], &mand7[0], &mand8[0], &mand9[0], &mand10[0], &mand11[0], &mand12[0]) != EOF)
+ {
+ /* Loading Frame Header details */
- /* Loading NAV Values */
- lineedit_NAV->setText( nav );
+ lineedit_frame_1->setText (frame1);
+ lineedit_frame_2->setText (frame2);
+ lineedit_frame_3->setText (frame3);
+ lineedit_frame_4->setText (frame4);
+ lineedit_frame_5->setText (frame5);
+ lineedit_frame_6->setText (frame6);
+ lineedit_frame_7->setText (frame7);
+ lineedit_frame_8->setText (frame8);
+ lineedit_frame_9->setText (frame9);
+ lineedit_frame_10->setText (frame10);
+ lineedit_frame_11->setText (frame11);
+ lineedit_frame_12->setText (frame12);
+ lineedit_frame_13->setText (frame13);
+ lineedit_frame_14->setText (frame14);
+ lineedit_frame_15->setText (frame15);
+ lineedit_frame_16->setText (frame16);
- /* Loading Address Values */
- lineedit_address1_1->setText( add1_1 );
- lineedit_address1_2->setText( add1_2 );
- lineedit_address1_3->setText( add1_3 );
- lineedit_address1_4->setText( add1_4 );
- lineedit_address1_5->setText( add1_5 );
- lineedit_address1_6->setText( add1_6 );
+ /* Loading NAV Values */
+ lineedit_NAV->setText (nav);
- lineedit_address2_1->setText( add2_1 );
- lineedit_address2_2->setText( add2_2 );
- lineedit_address2_3->setText( add2_3 );
- lineedit_address2_4->setText( add2_4 );
- lineedit_address2_5->setText( add2_5 );
- lineedit_address2_6->setText( add2_6 );
+ /* Loading Address Values */
+ lineedit_address1_1->setText (add1_1);
+ lineedit_address1_2->setText (add1_2);
+ lineedit_address1_3->setText (add1_3);
+ lineedit_address1_4->setText (add1_4);
+ lineedit_address1_5->setText (add1_5);
+ lineedit_address1_6->setText (add1_6);
- lineedit_address3_1->setText( add3_1 );
- lineedit_address3_2->setText( add3_2 );
- lineedit_address3_3->setText( add3_3 );
- lineedit_address3_4->setText( add3_4 );
- lineedit_address3_5->setText( add3_5 );
- lineedit_address3_6->setText( add3_6 );
+ lineedit_address2_1->setText (add2_1);
+ lineedit_address2_2->setText (add2_2);
+ lineedit_address2_3->setText (add2_3);
+ lineedit_address2_4->setText (add2_4);
+ lineedit_address2_5->setText (add2_5);
+ lineedit_address2_6->setText (add2_6);
- /* Loading fragment number, sequence number and Capability information elements */
- lineedit_frag_no->setText( fragno );
- lineedit_seq_no->setText( seqno );
+ lineedit_address3_1->setText (add3_1);
+ lineedit_address3_2->setText (add3_2);
+ lineedit_address3_3->setText (add3_3);
+ lineedit_address3_4->setText (add3_4);
+ lineedit_address3_5->setText (add3_5);
+ lineedit_address3_6->setText (add3_6);
- lineedit_cap_info_1->setText( capinfo1 );
- lineedit_cap_info_2->setText( capinfo2 );
- lineedit_cap_info_3->setText( capinfo3 );
- lineedit_cap_info_4->setText( capinfo4 );
- lineedit_cap_info_5->setText( capinfo5 );
- lineedit_cap_info_6->setText( capinfo6 );
- lineedit_cap_info_7->setText( capinfo7 );
- lineedit_cap_info_8->setText( capinfo8 );
+ /* Loading fragment number, sequence number and Capability information elements */
+ lineedit_frag_no->setText (fragno);
+ lineedit_seq_no->setText (seqno);
- lineedit_cap_info_9->setText( capinfo9 );
- lineedit_cap_info_10->setText( capinfo10 );
- lineedit_cap_info_11->setText( capinfo11 );
- lineedit_cap_info_12->setText( capinfo12 );
- lineedit_cap_info_13->setText( capinfo13 );
- lineedit_cap_info_14->setText( capinfo14 );
- lineedit_cap_info_15->setText( capinfo15 );
- lineedit_cap_info_16->setText( capinfo16 );
+ lineedit_cap_info_1->setText (capinfo1);
+ lineedit_cap_info_2->setText (capinfo2);
+ lineedit_cap_info_3->setText (capinfo3);
+ lineedit_cap_info_4->setText (capinfo4);
+ lineedit_cap_info_5->setText (capinfo5);
+ lineedit_cap_info_6->setText (capinfo6);
+ lineedit_cap_info_7->setText (capinfo7);
+ lineedit_cap_info_8->setText (capinfo8);
- /* Loading listen intervals and ssid */
+ lineedit_cap_info_9->setText (capinfo9);
+ lineedit_cap_info_10->setText (capinfo10);
+ lineedit_cap_info_11->setText (capinfo11);
+ lineedit_cap_info_12->setText (capinfo12);
+ lineedit_cap_info_13->setText (capinfo13);
+ lineedit_cap_info_14->setText (capinfo14);
+ lineedit_cap_info_15->setText (capinfo15);
+ lineedit_cap_info_16->setText (capinfo16);
- lineedit_listen_interval->setText( listenint );
- lineedit_ssid->setText( ssid );
+ /* Loading listen intervals and ssid */
- /* Toggling checkboxes for various properties like rates etc based on values in files*/
+ lineedit_listen_interval->setText (listenint);
+ lineedit_ssid->setText (ssid);
- if ( atoi( srate1 ) )
- checkbox_srate_1->setChecked( 1 );
- else
- checkbox_srate_1->setChecked( 0 );
- if ( atoi( srate2 ) )
- checkbox_srate_2->setChecked( 1 );
- else
- checkbox_srate_2->setChecked( 0 );
- if ( atoi( srate3 ) )
- checkbox_srate_3->setChecked( 1 );
- else
- checkbox_srate_3->setChecked( 0 );
- if ( atoi( srate4 ) )
- checkbox_srate_4->setChecked( 1 );
- else
- checkbox_srate_4->setChecked( 0 );
- if ( atoi( srate5 ) )
- checkbox_srate_5->setChecked( 1 );
- else
- checkbox_srate_5->setChecked( 0 );
- if ( atoi( srate6 ) )
- checkbox_srate_6->setChecked( 1 );
- else
- checkbox_srate_6->setChecked( 0 );
- if ( atoi( srate7 ) )
- checkbox_srate_7->setChecked( 1 );
- else
- checkbox_srate_7->setChecked( 0 );
- if ( atoi( srate8 ) )
- checkbox_srate_8->setChecked( 1 );
- else
- checkbox_srate_8->setChecked( 0 );
+ /* Toggling checkboxes for various properties like rates etc based on values in files*/
+ if (atoi (srate1))
+ checkbox_srate_1->setChecked (1);
+ else
+ checkbox_srate_1->setChecked (0);
- if ( atoi( esrate1 ) )
- checkbox_esrate_1->setChecked( 1 );
- else
- checkbox_esrate_1->setChecked( 0 );
- if ( atoi( esrate2 ) )
- checkbox_esrate_2->setChecked( 1 );
- else
- checkbox_esrate_2->setChecked( 0 );
- if ( atoi( esrate3 ) )
- checkbox_esrate_3->setChecked( 1 );
- else
- checkbox_esrate_3->setChecked( 0 );
- if ( atoi( esrate4 ) )
- checkbox_esrate_4->setChecked( 1 );
- else
- checkbox_esrate_4->setChecked( 0 );
+ if (atoi (srate2))
+ checkbox_srate_2->setChecked (1);
+ else
+ checkbox_srate_2->setChecked (0);
- /* Loading mandatory rates */
+ if (atoi (srate3))
+ checkbox_srate_3->setChecked (1);
+ else
+ checkbox_srate_3->setChecked (0);
- if ( atoi( mand1 ) )
- checkbox_mand_1->setChecked( 1 );
- else
- checkbox_mand_1->setChecked( 0 );
- if ( atoi( mand2 ) )
- checkbox_mand_2->setChecked( 1 );
- else
- checkbox_mand_2->setChecked( 0 );
- if ( atoi( mand3 ) )
- checkbox_mand_3->setChecked( 1 );
- else
- checkbox_mand_3->setChecked( 0 );
- if ( atoi( mand4 ) )
- checkbox_mand_4->setChecked( 1 );
- else
- checkbox_mand_4->setChecked( 0 );
- if ( atoi( mand5 ) )
- checkbox_mand_5->setChecked( 1 );
- else
- checkbox_mand_5->setChecked( 0 );
- if ( atoi( mand6 ) )
- checkbox_mand_6->setChecked( 1 );
- else
- checkbox_mand_6->setChecked( 0 );
- if ( atoi( mand7 ) )
- checkbox_mand_7->setChecked( 1 );
- else
- checkbox_mand_7->setChecked( 0 );
- if ( atoi( mand8 ) )
- checkbox_mand_8->setChecked( 1 );
- else
- checkbox_mand_8->setChecked( 0 );
- if ( atoi( mand9 ) )
- checkbox_mand_9->setChecked( 1 );
- else
- checkbox_mand_9->setChecked( 0 );
- if ( atoi( mand10 ) )
- checkbox_mand_10->setChecked( 1 );
- else
- checkbox_mand_10->setChecked( 0 );
- if ( atoi( mand11 ) )
- checkbox_mand_11->setChecked( 1 );
- else
- checkbox_mand_11->setChecked( 0 );
- if ( atoi( mand12 ) )
- checkbox_mand_12->setChecked( 1 );
- else
- checkbox_mand_12->setChecked( 0 );
- }
- fclose( file1 );
- }
- assoreq_run_button->setEnabled( 1 );
+ if (atoi (srate4))
+ checkbox_srate_4->setChecked (1);
+ else
+ checkbox_srate_4->setChecked (0);
+
+ if (atoi (srate5))
+ checkbox_srate_5->setChecked (1);
+ else
+ checkbox_srate_5->setChecked (0);
+
+ if (atoi (srate6))
+ checkbox_srate_6->setChecked (1);
+ else
+ checkbox_srate_6->setChecked (0);
+
+ if (atoi (srate7))
+ checkbox_srate_7->setChecked (1);
+ else
+ checkbox_srate_7->setChecked (0);
+
+ if (atoi (srate8))
+ checkbox_srate_8->setChecked (1);
+ else
+ checkbox_srate_8->setChecked (0);
+
+
+ if (atoi (esrate1))
+ checkbox_esrate_1->setChecked (1);
+ else
+ checkbox_esrate_1->setChecked (0);
+
+ if (atoi (esrate2))
+ checkbox_esrate_2->setChecked (1);
+ else
+ checkbox_esrate_2->setChecked (0);
+
+ if (atoi (esrate3))
+ checkbox_esrate_3->setChecked (1);
+ else
+ checkbox_esrate_3->setChecked (0);
+
+ if (atoi (esrate4))
+ checkbox_esrate_4->setChecked (1);
+ else
+ checkbox_esrate_4->setChecked (0);
+
+ /* Loading mandatory rates */
+
+ if (atoi (mand1))
+ checkbox_mand_1->setChecked (1);
+ else
+ checkbox_mand_1->setChecked (0);
+
+ if (atoi (mand2))
+ checkbox_mand_2->setChecked (1);
+ else
+ checkbox_mand_2->setChecked (0);
+
+ if (atoi (mand3))
+ checkbox_mand_3->setChecked (1);
+ else
+ checkbox_mand_3->setChecked (0);
+
+ if (atoi (mand4))
+ checkbox_mand_4->setChecked (1);
+ else
+ checkbox_mand_4->setChecked (0);
+
+ if (atoi (mand5))
+ checkbox_mand_5->setChecked (1);
+ else
+ checkbox_mand_5->setChecked (0);
+
+ if (atoi (mand6))
+ checkbox_mand_6->setChecked (1);
+ else
+ checkbox_mand_6->setChecked (0);
+
+ if (atoi (mand7))
+ checkbox_mand_7->setChecked (1);
+ else
+ checkbox_mand_7->setChecked (0);
+
+ if (atoi (mand8))
+ checkbox_mand_8->setChecked (1);
+ else
+ checkbox_mand_8->setChecked (0);
+
+ if (atoi (mand9))
+ checkbox_mand_9->setChecked (1);
+ else
+ checkbox_mand_9->setChecked (0);
+
+ if (atoi (mand10))
+ checkbox_mand_10->setChecked (1);
+ else
+ checkbox_mand_10->setChecked (0);
+
+ if (atoi (mand11))
+ checkbox_mand_11->setChecked (1);
+ else
+ checkbox_mand_11->setChecked (0);
+
+ if (atoi (mand12))
+ checkbox_mand_12->setChecked (1);
+ else
+ checkbox_mand_12->setChecked (0);
+ }
+
+ fclose (file1);
+ }
+
+ assoreq_run_button->setEnabled (1);
}
@@ -245,833 +270,818 @@
/*$SPECIALIZATION$*/
void mgmt_asso_req_cpp::mainwin_click()
{
- assoreq_run_button->setEnabled( 1 );
- close();
+ assoreq_run_button->setEnabled (1);
+ close();
}
/* Clear button functionality - Similar to reset form */
void mgmt_asso_req_cpp::clear_button_click()
{
- reset_assoc_req();
- assoreq_run_button->setEnabled( 1 );
+ reset_assoc_req();
+ assoreq_run_button->setEnabled (1);
}
/* Event Invoked after pressing Run button */
void mgmt_asso_req_cpp::run_button_click()
{
- global_assoreq_flag=1;
- func_assoreq_hex_convertion();
+ global_assoreq_flag = 1;
+ func_assoreq_hex_convertion();
}
/* Procedure for saving used form values as a template */
void mgmt_asso_req_cpp::assoreq_save_click()
{
- if ( lineedit_testid->text()!="" )
- {
- global_assoreq_flag=3;
- func_assoreq_hex_convertion();
- lineedit_testid->clear();
- }
- else
- QMessageBox::critical( this, tr( "Error" ), tr( "Test ID is empty" ) );
+ if (lineedit_testid->text() != "")
+ {
+ global_assoreq_flag = 3;
+ func_assoreq_hex_convertion();
+ lineedit_testid->clear();
+ }
+ else
+ QMessageBox::critical (this, tr ("Error"), tr ("Test ID is empty"));
}
/* Function for changing default templates */
void mgmt_asso_req_cpp::assoreq_default_click()
{
- global_assoreq_flag=2;
- func_assoreq_hex_convertion();
+ global_assoreq_flag = 2;
+ func_assoreq_hex_convertion();
}
void mgmt_asso_req_cpp::func_assoreq_hex_convertion()
{
- mac_80211 mac;
- bool ok;
- // QReg validator initialization
- QRegExp rx( "[0-9A-Fa-f]{2}" );
- QRegExpValidator v( rx, this );
+ mac_80211 mac;
+ uint8_t *frame = msg;
+ memset(frame, 0, sizeof (msg));
+ bool ok;
+ // QReg validator initialization
+ QRegExp rx ("[0-9A-Fa-f]{2}");
+ QRegExpValidator v (rx, this);
- lineedit_address1_1->setValidator( &v );
- lineedit_address1_2->setValidator( &v );
- lineedit_address1_3->setValidator( &v );
- lineedit_address1_4->setValidator( &v );
- lineedit_address1_5->setValidator( &v );
- lineedit_address1_6->setValidator( &v );
- lineedit_address2_1->setValidator( &v );
- lineedit_address2_2->setValidator( &v );
- lineedit_address2_3->setValidator( &v );
- lineedit_address2_4->setValidator( &v );
- lineedit_address2_5->setValidator( &v );
- lineedit_address2_6->setValidator( &v );
- lineedit_address3_1->setValidator( &v );
- lineedit_address3_2->setValidator( &v );
- lineedit_address3_3->setValidator( &v );
- lineedit_address3_4->setValidator( &v );
- lineedit_address3_5->setValidator( &v );
- lineedit_address3_6->setValidator( &v );
- // address fields values to local variable
- QString add1_1=lineedit_address1_1->text();
- QString add1_2=lineedit_address1_2->text();
- QString add1_3=lineedit_address1_3->text();
- QString add1_4=lineedit_address1_4->text();
- QString add1_5=lineedit_address1_5->text();
- QString add1_6=lineedit_address1_6->text();
- QString add2_1=lineedit_address2_1->text();
- QString add2_2=lineedit_address2_2->text();
- QString add2_3=lineedit_address2_3->text();
- QString add2_4=lineedit_address2_4->text();
- QString add2_5=lineedit_address2_5->text();
- QString add2_6=lineedit_address2_6->text();
- QString add3_1=lineedit_address3_1->text();
- QString add3_2=lineedit_address3_2->text();
- QString add3_3=lineedit_address3_3->text();
- QString add3_4=lineedit_address3_4->text();
- QString add3_5=lineedit_address3_5->text();
- QString add3_6=lineedit_address3_6->text();
+ lineedit_address1_1->setValidator (&v);
+ lineedit_address1_2->setValidator (&v);
+ lineedit_address1_3->setValidator (&v);
+ lineedit_address1_4->setValidator (&v);
+ lineedit_address1_5->setValidator (&v);
+ lineedit_address1_6->setValidator (&v);
+ lineedit_address2_1->setValidator (&v);
+ lineedit_address2_2->setValidator (&v);
+ lineedit_address2_3->setValidator (&v);
+ lineedit_address2_4->setValidator (&v);
+ lineedit_address2_5->setValidator (&v);
+ lineedit_address2_6->setValidator (&v);
+ lineedit_address3_1->setValidator (&v);
+ lineedit_address3_2->setValidator (&v);
+ lineedit_address3_3->setValidator (&v);
+ lineedit_address3_4->setValidator (&v);
+ lineedit_address3_5->setValidator (&v);
+ lineedit_address3_6->setValidator (&v);
+ // address fields values to local variable
+ QString add1_1 = lineedit_address1_1->text();
+ QString add1_2 = lineedit_address1_2->text();
+ QString add1_3 = lineedit_address1_3->text();
+ QString add1_4 = lineedit_address1_4->text();
+ QString add1_5 = lineedit_address1_5->text();
+ QString add1_6 = lineedit_address1_6->text();
+ QString add2_1 = lineedit_address2_1->text();
+ QString add2_2 = lineedit_address2_2->text();
+ QString add2_3 = lineedit_address2_3->text();
+ QString add2_4 = lineedit_address2_4->text();
+ QString add2_5 = lineedit_address2_5->text();
+ QString add2_6 = lineedit_address2_6->text();
+ QString add3_1 = lineedit_address3_1->text();
+ QString add3_2 = lineedit_address3_2->text();
+ QString add3_3 = lineedit_address3_3->text();
+ QString add3_4 = lineedit_address3_4->text();
+ QString add3_5 = lineedit_address3_5->text();
+ QString add3_6 = lineedit_address3_6->text();
- int pos=0;
- // validating fields
- if (( v.validate( add1_1, pos ) !=0 ) &&
- ( v.validate( add1_2, pos ) !=0 ) &&
- ( v.validate( add1_3, pos ) !=0 ) &&
- ( v.validate( add1_4, pos ) !=0 ) &&
- ( v.validate( add1_5, pos ) !=0 ) &&
- ( v.validate( add1_6, pos ) !=0 ) &&
- ( v.validate( add2_1, pos ) !=0 ) &&
- ( v.validate( add2_2, pos ) !=0 ) &&
- ( v.validate( add2_3, pos ) !=0 ) &&
- ( v.validate( add2_4, pos ) !=0 ) &&
- ( v.validate( add2_5, pos ) !=0 ) &&
- ( v.validate( add2_6, pos ) !=0 ) &&
- ( v.validate( add3_1, pos ) !=0 ) &&
- ( v.validate( add3_2, pos ) !=0 ) &&
- ( v.validate( add3_3, pos ) !=0 ) &&
- ( v.validate( add3_4, pos ) !=0 ) &&
- ( v.validate( add3_5, pos ) !=0 ) &&
- ( v.validate( add3_6, pos ) !=0 ) )
- {
- //validating frame control fields and capability information fields
+ int pos = 0;
+ // validating fields
- if ( lineedit_frame_1->text().toInt()<=1 && lineedit_frame_1->text()!="" && lineedit_frame_2->text().toInt()<=1 && lineedit_frame_2->text()!="" && lineedit_frame_3->text().toInt()<=1 && lineedit_frame_3->text()!="" && lineedit_frame_4->text().toInt()<=1 && lineedit_frame_4->text()!="" && lineedit_frame_5->text().toInt()<=1 && lineedit_frame_5->text()!="" && lineedit_frame_6->text().toInt()<=1 && lineedit_frame_6->text()!="" && lineedit_frame_7->text().toInt()<=1 && lineedit_frame_7->text()!="" && lineedit_frame_8->text().toInt()<=1 && lineedit_frame_8->text()!="" && lineedit_frame_9->text().toInt()<=1 && lineedit_frame_9->text()!="" && lineedit_frame_10->text().toInt()<=1 && lineedit_frame_10->text()!="" && lineedit_frame_11->text().toInt()<=1 && lineedit_frame_11->text()!="" && lineedit_frame_12->text().toInt()<=1 && lineedit_frame_12->text()!="" && lineedit_frame_13->text().toInt()<=1 && lineedit_frame_13->text()!="" && lineedit_frame_14->text().toInt()<=1 && lineedit_frame_14->text()!="" && lineedit_frame_15->text().toInt()<=1 && lineedit_frame_15->text()!="" && lineedit_frame_16->text().toInt()<=1 && lineedit_frame_16->text()!="" )
- {
- // Validating Address feilds which should not be empty
+ if ( (v.validate (add1_1, pos) != 0) &&
+ (v.validate (add1_2, pos) != 0) &&
+ (v.validate (add1_3, pos) != 0) &&
+ (v.validate (add1_4, pos) != 0) &&
+ (v.validate (add1_5, pos) != 0) &&
+ (v.validate (add1_6, pos) != 0) &&
+ (v.validate (add2_1, pos) != 0) &&
+ (v.validate (add2_2, pos) != 0) &&
+ (v.validate (add2_3, pos) != 0) &&
+ (v.validate (add2_4, pos) != 0) &&
+ (v.validate (add2_5, pos) != 0) &&
+ (v.validate (add2_6, pos) != 0) &&
+ (v.validate (add3_1, pos) != 0) &&
+ (v.validate (add3_2, pos) != 0) &&
+ (v.validate (add3_3, pos) != 0) &&
+ (v.validate (add3_4, pos) != 0) &&
+ (v.validate (add3_5, pos) != 0) &&
+ (v.validate (add3_6, pos) != 0))
+ {
+ //validating frame control fields and capability information fields
- if ( lineedit_address1_1->text()!="" && lineedit_address1_2->text()!="" && lineedit_address1_3->text()!="" && lineedit_address1_4->text()!="" && lineedit_address1_5->text()!="" && lineedit_address1_6->text()!="" && lineedit_address2_1->text()!="" && lineedit_address2_2->text()!="" && lineedit_address2_3->text()!="" && lineedit_address2_4->text()!="" && lineedit_address2_5->text()!="" && lineedit_address2_6->text()!="" && lineedit_address3_1->text()!="" && lineedit_address3_2->text()!="" && lineedit_address3_3->text()!="" && lineedit_address3_4->text()!="" && lineedit_address3_5->text()!="" && lineedit_address3_6->text()!="" )
- {
- // inializing lineedit values to local variables
- uint16_t duration_id = lineedit_NAV->text().toInt();
- uint16_t frag_no=lineedit_frag_no->text().toInt();
- uint16_t seq_no=lineedit_seq_no->text().toInt();
- uint16_t listen_intrvl_int = lineedit_listen_interval->text().toInt();
+ if (lineedit_frame_1->text().toInt() <= 1 && lineedit_frame_1->text() != "" && lineedit_frame_2->text().toInt() <= 1 && lineedit_frame_2->text() != "" && lineedit_frame_3->text().toInt() <= 1 && lineedit_frame_3->text() != "" && lineedit_frame_4->text().toInt() <= 1 && lineedit_frame_4->text() != "" && lineedit_frame_5->text().toInt() <= 1 && lineedit_frame_5->text() != "" && lineedit_frame_6->text().toInt() <= 1 && lineedit_frame_6->text() != "" && lineedit_frame_7->text().toInt() <= 1 && lineedit_frame_7->text() != "" && lineedit_frame_8->text().toInt() <= 1 && lineedit_frame_8->text() != "" && lineedit_frame_9->text().toInt() <= 1 && lineedit_frame_9->text() != "" && lineedit_frame_10->text().toInt() <= 1 && lineedit_frame_10->text() != "" && lineedit_frame_11->text().toInt() <= 1 && lineedit_frame_11->text() != "" && lineedit_frame_12->text().toInt() <= 1 && lineedit_frame_12->text() != "" && lineedit_frame_13->text().toInt() <= 1 && lineedit_frame_13->text() != "" && lineedit_frame_14->text().toInt() <= 1 && lineedit_frame_14->text() != "" && lineedit_frame_15->text().toInt() <= 1 && lineedit_frame_15->text() != "" && lineedit_frame_16->text().toInt() <= 1 && lineedit_frame_16->text() != "")
+ {
+ // Validating Address feilds which should not be empty
- /* validating lineedit values */
- /* validating NAV */
- if ( duration_id<65535 && lineedit_NAV->text()!="" )
- {
- if ( frag_no<16 && lineedit_frag_no->text()!="" )
- {
- if ( seq_no<4096 && lineedit_seq_no->text()!="" )
- {
- /* validating capability info field values */
- if ( lineedit_cap_info_1->text().toInt()<=1&& lineedit_cap_info_1->text()!="" &&
- lineedit_cap_info_2->text().toInt()<=1&& lineedit_cap_info_2->text()!="" &&
- lineedit_cap_info_3->text().toInt()<=1&& lineedit_cap_info_3->text()!="" &&
- lineedit_cap_info_4->text().toInt()<=1&& lineedit_cap_info_4->text()!="" &&
- lineedit_cap_info_5->text().toInt()<=1&& lineedit_cap_info_5->text()!="" &&
- lineedit_cap_info_6->text().toInt()<=1&& lineedit_cap_info_6->text()!="" &&
- lineedit_cap_info_7->text().toInt()<=1&& lineedit_cap_info_7->text()!="" &&
- lineedit_cap_info_8->text().toInt()<=1&& lineedit_cap_info_8->text()!="" &&
- lineedit_cap_info_9->text().toInt()<=1&& lineedit_cap_info_9->text()!="" &&
- lineedit_cap_info_10->text().toInt()<=1&& lineedit_cap_info_10->text()!="" &&
- lineedit_cap_info_11->text().toInt()<=1&& lineedit_cap_info_11->text()!="" &&
- lineedit_cap_info_12->text().toInt()<=1&& lineedit_cap_info_12->text()!="" &&
- lineedit_cap_info_13->text().toInt()<=1&& lineedit_cap_info_13->text()!="" &&
- lineedit_cap_info_14->text().toInt()<=1 && lineedit_cap_info_14->text()!="" &&
- lineedit_cap_info_15->text().toInt()<=1&& lineedit_cap_info_15->text()!="" &&
- lineedit_cap_info_16->text().toInt()<=1 && lineedit_cap_info_16->text()!="" )
- {
- /* validating Listen Interval field */
- if ( lineedit_listen_interval->text()!="" && listen_intrvl_int >0 && listen_intrvl_int < 2001 )
- {
- uint8_t frame_ctrl0 = 0X00, frame_ctrl1 = 0X00, duration_char[2], listen_intrvl_char[2];
- /* Form Frame control */
- frame_ctrl0 = mac.bits_to_byte( lineedit_frame_1->text(), lineedit_frame_2->text(), lineedit_frame_3->text(), lineedit_frame_4->text(), lineedit_frame_5->text(), lineedit_frame_6->text(), lineedit_frame_7->text(), lineedit_frame_8->text() );
+ if (lineedit_address1_1->text() != "" && lineedit_address1_2->text() != "" && lineedit_address1_3->text() != "" && lineedit_address1_4->text() != "" && lineedit_address1_5->text() != "" && lineedit_address1_6->text() != "" && lineedit_address2_1->text() != "" && lineedit_address2_2->text() != "" && lineedit_address2_3->text() != "" && lineedit_address2_4->text() != "" && lineedit_address2_5->text() != "" && lineedit_address2_6->text() != "" && lineedit_address3_1->text() != "" && lineedit_address3_2->text() != "" && lineedit_address3_3->text() != "" && lineedit_address3_4->text() != "" && lineedit_address3_5->text() != "" && lineedit_address3_6->text() != "")
+ {
+ // inializing lineedit values to local variables
+ uint16_t duration_id = lineedit_NAV->text().toInt();
+ uint16_t frag_no = lineedit_frag_no->text().toInt();
+ uint16_t seq_no = lineedit_seq_no->text().toInt();
+ uint16_t listen_intrvl_int = lineedit_listen_interval->text().toInt();
- /* Form Frame control (flags) */
- frame_ctrl1 = mac.bits_to_byte( lineedit_frame_9->text(), lineedit_frame_10->text(), lineedit_frame_11->text(), lineedit_frame_12->text(), lineedit_frame_13->text(), lineedit_frame_14->text(), lineedit_frame_15->text(), lineedit_frame_16->text() );
+ /* validating lineedit values */
+ /* validating NAV */
- uint16_t i;
- for ( i=0;i<2;i++ )
- duration_char[i] = * ((( char* ) &duration_id ) +i );
+ if (duration_id < 65535 && lineedit_NAV->text() != "")
+ {
+ if (frag_no < 16 && lineedit_frag_no->text() != "")
+ {
+ if (seq_no < 4096 && lineedit_seq_no->text() != "")
+ {
+ /* validating capability info field values */
+ if (lineedit_cap_info_1->text().toInt() <= 1 && lineedit_cap_info_1->text() != "" &&
+ lineedit_cap_info_2->text().toInt() <= 1 && lineedit_cap_info_2->text() != "" &&
+ lineedit_cap_info_3->text().toInt() <= 1 && lineedit_cap_info_3->text() != "" &&
+ lineedit_cap_info_4->text().toInt() <= 1 && lineedit_cap_info_4->text() != "" &&
+ lineedit_cap_info_5->text().toInt() <= 1 && lineedit_cap_info_5->text() != "" &&
+ lineedit_cap_info_6->text().toInt() <= 1 && lineedit_cap_info_6->text() != "" &&
+ lineedit_cap_info_7->text().toInt() <= 1 && lineedit_cap_info_7->text() != "" &&
+ lineedit_cap_info_8->text().toInt() <= 1 && lineedit_cap_info_8->text() != "" &&
+ lineedit_cap_info_9->text().toInt() <= 1 && lineedit_cap_info_9->text() != "" &&
+ lineedit_cap_info_10->text().toInt() <= 1 && lineedit_cap_info_10->text() != "" &&
+ lineedit_cap_info_11->text().toInt() <= 1 && lineedit_cap_info_11->text() != "" &&
+ lineedit_cap_info_12->text().toInt() <= 1 && lineedit_cap_info_12->text() != "" &&
+ lineedit_cap_info_13->text().toInt() <= 1 && lineedit_cap_info_13->text() != "" &&
+ lineedit_cap_info_14->text().toInt() <= 1 && lineedit_cap_info_14->text() != "" &&
+ lineedit_cap_info_15->text().toInt() <= 1 && lineedit_cap_info_15->text() != "" &&
+ lineedit_cap_info_16->text().toInt() <= 1 && lineedit_cap_info_16->text() != "")
+ {
+ /* validating Listen Interval field */
+ if (lineedit_listen_interval->text() != "" && listen_intrvl_int > 0 && listen_intrvl_int < 2001)
+ {
+ uint8_t frame_ctrl[2], duration_char[2], listen_intrvl_char[2];
+ uint8_t addr1[6], addr2[6], addr3[6];
- /* adress fields initializing to local variable */
- uint8_t addr1_1 = ( unsigned char ) lineedit_address1_1->text().toInt( &ok ,16 );
- uint8_t addr1_2 = ( unsigned char ) lineedit_address1_2->text().toInt( &ok ,16 );
- uint8_t addr1_3 = ( unsigned char ) lineedit_address1_3->text().toInt( &ok ,16 );
- uint8_t addr1_4 = ( unsigned char ) lineedit_address1_4->text().toInt( &ok ,16 );
- uint8_t addr1_5 = ( unsigned char ) lineedit_address1_5->text().toInt( &ok ,16 );
- uint8_t addr1_6 = ( unsigned char ) lineedit_address1_6->text().toInt( &ok ,16 );
- uint8_t addr2_1 = ( unsigned char ) lineedit_address2_1->text().toInt( &ok ,16 );
- uint8_t addr2_2 = ( unsigned char ) lineedit_address2_2->text().toInt( &ok ,16 );
- uint8_t addr2_3 = ( unsigned char ) lineedit_address2_3->text().toInt( &ok ,16 );
- uint8_t addr2_4 = ( unsigned char ) lineedit_address2_4->text().toInt( &ok ,16 );
- uint8_t addr2_5 = ( unsigned char ) lineedit_address2_5->text().toInt( &ok ,16 );
- uint8_t addr2_6 = ( unsigned char ) lineedit_address2_6->text().toInt( &ok ,16 );
- uint8_t addr3_1 = ( unsigned char ) lineedit_address3_1->text().toInt( &ok ,16 );
- uint8_t addr3_2 = ( unsigned char ) lineedit_address3_2->text().toInt( &ok ,16 );
- uint8_t addr3_3 = ( unsigned char ) lineedit_address3_3->text().toInt( &ok ,16 );
- uint8_t addr3_4 = ( unsigned char ) lineedit_address3_4->text().toInt( &ok ,16 );
- uint8_t addr3_5 = ( unsigned char ) lineedit_address3_5->text().toInt( &ok ,16 );
- uint8_t addr3_6 = ( unsigned char ) lineedit_address3_6->text().toInt( &ok ,16 );
+ /* Form Frame control */
+ frame_ctrl[0] = mac.bits_to_byte (lineedit_frame_1->text(), lineedit_frame_2->text(), lineedit_frame_3->text(), lineedit_frame_4->text(), lineedit_frame_5->text(), lineedit_frame_6->text(), lineedit_frame_7->text(), lineedit_frame_8->text());
- uint16_t seq_ctrl_int=0X00;
- uint8_t seq_ctrl_char[2];
+ /* Form Frame control (flags) */
+ frame_ctrl[1] = mac.bits_to_byte (lineedit_frame_9->text(), lineedit_frame_10->text(), lineedit_frame_11->text(), lineedit_frame_12->text(), lineedit_frame_13->text(), lineedit_frame_14->text(), lineedit_frame_15->text(), lineedit_frame_16->text());
- seq_ctrl_int = seq_ctrl_int | seq_no;
- seq_ctrl_int = seq_ctrl_int << 4;
- seq_ctrl_int = seq_ctrl_int | frag_no;
+ uint16_t i;
- for ( i=0;i<2;i++ )
- seq_ctrl_char[i] = * ((( char* ) &seq_ctrl_int ) +i );
+ for (i = 0;i < 2;i++)
+ duration_char[i] = * ( ( (char*) & duration_id) + i);
- /* cap_info fields to bytes */
- uint8_t cap_info1=0X00, cap_info2=0X00;
+ /* adress fields initializing to local variable */
+ addr1[0] = (unsigned char) lineedit_address1_1->text().toInt (&ok , 16);
+ addr1[1] = (unsigned char) lineedit_address1_2->text().toInt (&ok , 16);
+ addr1[2] = (unsigned char) lineedit_address1_3->text().toInt (&ok , 16);
+ addr1[3] = (unsigned char) lineedit_address1_4->text().toInt (&ok , 16);
+ addr1[4] = (unsigned char) lineedit_address1_5->text().toInt (&ok , 16);
+ addr1[5] = (unsigned char) lineedit_address1_6->text().toInt (&ok , 16);
+ addr2[0] = (unsigned char) lineedit_address2_1->text().toInt (&ok , 16);
+ addr2[1] = (unsigned char) lineedit_address2_2->text().toInt (&ok , 16);
+ addr2[2] = (unsigned char) lineedit_address2_3->text().toInt (&ok , 16);
+ addr2[3] = (unsigned char) lineedit_address2_4->text().toInt (&ok , 16);
+ addr2[4] = (unsigned char) lineedit_address2_5->text().toInt (&ok , 16);
+ addr2[5] = (unsigned char) lineedit_address2_6->text().toInt (&ok , 16);
+ addr3[0] = (unsigned char) lineedit_address3_1->text().toInt (&ok , 16);
+ addr3[1] = (unsigned char) lineedit_address3_2->text().toInt (&ok , 16);
+ addr3[2] = (unsigned char) lineedit_address3_3->text().toInt (&ok , 16);
+ addr3[3] = (unsigned char) lineedit_address3_4->text().toInt (&ok , 16);
+ addr3[4] = (unsigned char) lineedit_address3_5->text().toInt (&ok , 16);
+ addr3[5] = (unsigned char) lineedit_address3_6->text().toInt (&ok , 16);
- cap_info1 = mac.bits_to_byte( lineedit_cap_info_1->text(), lineedit_cap_info_2->text(), lineedit_cap_info_3->text(), lineedit_cap_info_4->text(), lineedit_cap_info_5->text(), lineedit_cap_info_6->text(), lineedit_cap_info_7->text(), lineedit_cap_info_8->text() );
- cap_info2 = mac.bits_to_byte( lineedit_cap_info_9->text(), lineedit_cap_info_10->text(), lineedit_cap_info_11->text(), lineedit_cap_info_12->text(), lineedit_cap_info_13->text(), lineedit_cap_info_14->text(), lineedit_cap_info_15->text(), lineedit_cap_info_16->text() );
+ uint16_t seq_ctrl_int = 0X00;
+ uint8_t seq_ctrl_char[2];
- /* Listen Interval operation */
- for ( i=0;i<2;i++ )
- listen_intrvl_char[i] = * ((( char* ) &listen_intrvl_int ) +i );
+ seq_ctrl_int = seq_ctrl_int | seq_no;
+ seq_ctrl_int = seq_ctrl_int << 4;
+ seq_ctrl_int = seq_ctrl_int | frag_no;
- /* SSID operation */
- uint8_t ssid_len = lineedit_ssid->text().length();
- const char *str_ascii=lineedit_ssid->text();
- uint8_t element_id=0X00;
+ for (i = 0;i < 2;i++)
+ seq_ctrl_char[i] = * ( ( (char*) & seq_ctrl_int) + i);
- /* suported rate , Extended supported rate operation */
- uint8_t index=0, tmp_val_char[10], srate_eleid=0X01, hexrate;
+ /* cap_info fields to bytes */
+ uint8_t cap_info[2];
- if ( checkbox_srate_1->isChecked()==1 )
- {
- hexrate = mac.map_rate( 1,checkbox_mand_1->isChecked() );
- tmp_val_char[index++] = * ((( char* ) &hexrate ) +0 );
- }
+ cap_info[0] = mac.bits_to_byte (lineedit_cap_info_1->text(), lineedit_cap_info_2->text(), lineedit_cap_info_3->text(), lineedit_cap_info_4->text(), lineedit_cap_info_5->text(), lineedit_cap_info_6->text(), lineedit_cap_info_7->text(), lineedit_cap_info_8->text());
+ cap_info[1] = mac.bits_to_byte (lineedit_cap_info_9->text(), lineedit_cap_info_10->text(), lineedit_cap_info_11->text(), lineedit_cap_info_12->text(), lineedit_cap_info_13->text(), lineedit_cap_info_14->text(), lineedit_cap_info_15->text(), lineedit_cap_info_16->text());
- if ( checkbox_srate_2->isChecked()==1 )
- {
- hexrate = mac.map_rate( 2,checkbox_mand_2->isChecked() );
- tmp_val_char[index++] = * (( char* ) &hexrate ) ;
- }
- if ( checkbox_srate_3->isChecked()==1 )
- {
- hexrate = mac.map_rate( 5.5,checkbox_mand_3->isChecked() );
- tmp_val_char[index++] = * (( char* ) &hexrate ) ;
- }
- if ( checkbox_srate_4->isChecked()==1 )
- {
- hexrate = mac.map_rate( 11,checkbox_mand_4->isChecked() );
- tmp_val_char[index++] = * (( char* ) &hexrate ) ;
- }
- if ( checkbox_srate_5->isChecked()==1 )
- {
- hexrate = mac.map_rate( 6,checkbox_mand_5->isChecked() );
- tmp_val_char[index++] = * (( char* ) &hexrate ) ;
- }
- if ( checkbox_srate_6->isChecked()==1 )
- {
- hexrate = mac.map_rate( 9,checkbox_mand_6->isChecked() );
- tmp_val_char[index++] = * (( char* ) &hexrate ) ;
- }
- if ( checkbox_srate_7->isChecked()==1 )
- {
- hexrate = mac.map_rate( 12,checkbox_mand_7->isChecked() );
- tmp_val_char[index++] = * (( char* ) &hexrate ) ;
- }
- if ( checkbox_srate_8->isChecked()==1 )
- {
- hexrate = mac.map_rate( 18,checkbox_mand_8->isChecked() );
- tmp_val_char[index++] = * (( char* ) &hexrate ) ;
- }
+ /* Listen Interval operation */
+ for (i = 0;i < 2;i++)
+ listen_intrvl_char[i] = * ( ( (char*) & listen_intrvl_int) + i);
- uint8_t len_srate_arr=index;
- uint8_t index1=0, tmp_val_esrchar[4], esrate_eleid=0X32;
+ /* SSID operation */
+ uint8_t ssid_len = lineedit_ssid->text().length();
+ const char *str_ascii = lineedit_ssid->text();
+ uint8_t element_id = 0X00;
- if ( checkbox_esrate_1->isChecked()==1 )
- {
- hexrate = mac.map_rate( 24,checkbox_mand_9->isChecked() );
- tmp_val_esrchar[index1++] = * (( char* ) &hexrate );
- }
- if ( checkbox_esrate_2->isChecked()==1 )
- {
- hexrate = mac.map_rate( 36,checkbox_mand_10->isChecked() );
- tmp_val_esrchar[index1++] = * (( char* ) &hexrate ) ;
- }
- if ( checkbox_esrate_3->isChecked()==1 )
- {
- hexrate = mac.map_rate( 48,checkbox_mand_11->isChecked() );
- tmp_val_esrchar[index1++] = * (( char* ) &hexrate );
- }
- if ( checkbox_esrate_4->isChecked()==1 )
- {
- hexrate = mac.map_rate( 54,checkbox_mand_12->isChecked() );
- tmp_val_esrchar[index1++] = * (( char* ) &hexrate );
- }
+ /* suported rate , Extended supported rate operation */
+ uint8_t index = 0, tmp_val_char[10], srate_eleid = 0X01, hexrate;
- uint8_t len_esrate_arr=index1;
+ if (checkbox_srate_1->isChecked() == 1)
+ {
+ hexrate = mac.map_rate (1, checkbox_mand_1->isChecked());
+ tmp_val_char[index++] = * ( ( (char*) & hexrate) + 0);
+ }
- /* values initializing in a dynamic array */
- uint8_t control_header_arr1[] =
- {
- frame_ctrl0,
- frame_ctrl1,
- duration_char[0],
- duration_char[1],
- addr1_1,
- addr1_2,
- addr1_3,
- addr1_4,
- addr1_5,
- addr1_6,
- addr2_1,
- addr2_2,
- addr2_3,
- addr2_4,
- addr2_5,
- addr2_6,
- addr3_1,
- addr3_2,
- addr3_3,
- addr3_4,
- addr3_5,
- addr3_6,
- seq_ctrl_char[0],
- seq_ctrl_char[1],
- cap_info1,
- cap_info2,
- listen_intrvl_char[0],
- listen_intrvl_char[1],
- element_id,
- ssid_len
- };
+ if (checkbox_srate_2->isChecked() == 1)
+ {
+ hexrate = mac.map_rate (2, checkbox_mand_2->isChecked());
+ tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ }
- uint16_t size_ctrl_hdr_arr1 = sizeof( control_header_arr1 ) / sizeof( unsigned char );
- unsigned char *control_header_arr;
+ if (checkbox_srate_3->isChecked() == 1)
+ {
+ hexrate = mac.map_rate (5.5, checkbox_mand_3->isChecked());
+ tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ }
- control_header_arr=( unsigned char* ) malloc( size_ctrl_hdr_arr1* ( sizeof( unsigned char ) ) );
- if ( control_header_arr == NULL )
- {
- printf( "Unable to allocate memory...\n" );
- exit( 1 );
- }
+ if (checkbox_srate_4->isChecked() == 1)
+ {
+ hexrate = mac.map_rate (11, checkbox_mand_4->isChecked());
+ tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ }
- for ( i =0;i < size_ctrl_hdr_arr1; i++ )
- control_header_arr[i]=control_header_arr1[i];
+ if (checkbox_srate_5->isChecked() == 1)
+ {
+ hexrate = mac.map_rate (6, checkbox_mand_5->isChecked());
+ tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ }
- uint16_t temp_sum = size_ctrl_hdr_arr1 + ssid_len;
+ if (checkbox_srate_6->isChecked() == 1)
+ {
+ hexrate = mac.map_rate (9, checkbox_mand_6->isChecked());
+ tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ }
- /* appending ssid */
- if ( ssid_len!=0 )
- {
- /* reallocation of control_header_arr array */
- control_header_arr= ( unsigned char* ) realloc( control_header_arr, temp_sum * sizeof( unsigned char ) );
- if ( control_header_arr == NULL )
- {
- printf( "Unable to allocate memory...\n" );
- exit( 1 );
- }
- for ( uint16_t r=0;r<ssid_len;r++ )
- control_header_arr[size_ctrl_hdr_arr1+r]=str_ascii[r];
- }
+ if (checkbox_srate_7->isChecked() == 1)
+ {
+ hexrate = mac.map_rate (12, checkbox_mand_7->isChecked());
+ tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ }
- uint16_t temp_sum1, temp_sum2;
+ if (checkbox_srate_8->isChecked() == 1)
+ {
+ hexrate = mac.map_rate (18, checkbox_mand_8->isChecked());
+ tmp_val_char[index++] = * ( (char*) & hexrate) ;
+ }
- /* appending supported rate and extended supported rate to array */
+ uint8_t len_srate_arr = index;
+ uint8_t index1 = 0, tmp_val_esrchar[4], esrate_eleid = 0X32;
- if ( checkbox_srate_1->isChecked()==0 &&
- checkbox_srate_2->isChecked()==0 &&
- checkbox_srate_3->isChecked()==0 &&
- checkbox_srate_4->isChecked()==0 &&
- checkbox_srate_5->isChecked()==0 &&
- checkbox_srate_6->isChecked()==0 &&
- checkbox_srate_7->isChecked()==0 &&
- checkbox_srate_8->isChecked()==0 &&
- checkbox_srate_1->isChecked()==0 )
- {
- temp_sum1=temp_sum;
- }
- else
- {
- temp_sum1=( temp_sum + 2 + len_srate_arr );
- //reallocation of control_header_arr array
- control_header_arr= ( unsigned char* ) realloc( control_header_arr, temp_sum1 * sizeof( unsigned char ) );
- if ( control_header_arr == NULL )
- {
- printf( "Unable to allocate memory...\n" );
- exit( 1 );
- }
+ if (checkbox_esrate_1->isChecked() == 1)
+ {
+ hexrate = mac.map_rate (24, checkbox_mand_9->isChecked());
+ tmp_val_esrchar[index1++] = * ( (char*) & hexrate);
+ }
- control_header_arr[temp_sum]=srate_eleid;
- control_header_arr[temp_sum+1]=len_srate_arr;
+ if (checkbox_esrate_2->isChecked() == 1)
+ {
+ hexrate = mac.map_rate (36, checkbox_mand_10->isChecked());
+ tmp_val_esrchar[index1++] = * ( (char*) & hexrate) ;
+ }
- for ( int r=0;r<len_srate_arr;r++ )
- control_header_arr[temp_sum+2+r]=tmp_val_char[r];
- }
+ if (checkbox_esrate_3->isChecked() == 1)
+ {
+ hexrate = mac.map_rate (48, checkbox_mand_11->isChecked());
+ tmp_val_esrchar[index1++] = * ( (char*) & hexrate);
+ }
- if ( checkbox_esrate_1->isChecked()==0 &&
- checkbox_esrate_2->isChecked()==0 &&
- checkbox_esrate_3->isChecked()==0 &&
- checkbox_esrate_4->isChecked()==0 )
+ if (checkbox_esrate_4->isChecked() == 1)
+ {
+ hexrate = mac.map_rate (54, checkbox_mand_12->isChecked());
+ tmp_val_esrchar[index1++] = * ( (char*) & hexrate);
+ }
+
+ uint8_t len_esrate_arr = index1;
+
+ // copy frame control field
+ memcpy (frame, &frame_ctrl, sizeof(frame_ctrl));
+ frame += sizeof(frame_ctrl);
+
+ memcpy (frame, &duration_char, sizeof(duration_char));
+ frame += sizeof(duration_char);
+
+ memcpy (frame, &addr1, MAC_ADDRESS_LEN);
+ frame += MAC_ADDRESS_LEN;
+
+ memcpy (frame, &addr2, MAC_ADDRESS_LEN);
+ frame += MAC_ADDRESS_LEN;
+
+ memcpy (frame, &addr3, MAC_ADDRESS_LEN);
+ frame += MAC_ADDRESS_LEN;
+
+ memcpy (frame, &seq_ctrl_char, sizeof(seq_ctrl_char));
+ frame += sizeof(seq_ctrl_char);
+
+ memcpy (frame, &cap_info, sizeof(cap_info));
+ frame += sizeof(cap_info);
+
+ memcpy (frame, &listen_intrvl_char, sizeof(listen_intrvl_char));
+ frame += sizeof(listen_intrvl_char);
+
+ // append SSID
+ *frame++ = element_id;
+ *frame++ = ssid_len;
+
+ if (ssid_len != 0)
+ {
+ memcpy (frame, str_ascii, ssid_len);
+ frame += ssid_len;
+ }
+
+ // Append supported rates
+ if (len_srate_arr > 0)
{
- temp_sum2=temp_sum1;
- }
- else
+ *frame++ = srate_eleid;
+ *frame++ = len_srate_arr;
+ memcpy (frame, &tmp_val_char, len_srate_arr);
+ frame += len_srate_arr;
+ }
+
+ // append extended support rates
+ if (len_esrate_arr > 0)
{
- temp_sum2=( temp_sum1 + 2 + len_esrate_arr );
- control_header_arr= ( unsigned char* ) realloc( control_header_arr, temp_sum2 * sizeof( unsigned char ) );
+ *frame++ = esrate_eleid;
+ *frame++ = len_esrate_arr;
+ memcpy (frame, &tmp_val_esrchar, len_esrate_arr);
+ frame += len_esrate_arr;
+ }
- control_header_arr[temp_sum1] = esrate_eleid;
- control_header_arr[temp_sum1+1] = len_esrate_arr;
-
- for ( int r=0;r<len_esrate_arr;r++ )
- control_header_arr[temp_sum1+2+r]=tmp_val_esrchar[r];
- }
- func_assoreq_call( control_header_arr,temp_sum2 );
- }
- ...
[truncated message content] |
|
From: <sat...@us...> - 2010-03-17 14:59:22
|
Revision: 242
http://w-meter.svn.sourceforge.net/w-meter/?rev=242&view=rev
Author: sathakselva
Date: 2010-03-17 14:59:14 +0000 (Wed, 17 Mar 2010)
Log Message:
-----------
LLC header added in QoS Data frame and some code cleanup
Modified Paths:
--------------
frame_injection_g/trunk/src/data_dataframe_cpp.cpp
frame_injection_g/trunk/src/data_qos_data_cpp.cpp
frame_injection_g/trunk/src/inj_control_ack_cpp.cpp
frame_injection_g/trunk/src/inj_control_cts_cpp.cpp
frame_injection_g/trunk/src/inj_control_form_cpp.cpp
frame_injection_g/trunk/src/mgmt_asso_req_cpp.cpp
frame_injection_g/trunk/src/mgmt_asso_res_cpp.cpp
frame_injection_g/trunk/src/mgmt_authen_cpp.cpp
frame_injection_g/trunk/src/mgmt_beacon_cpp.cpp
frame_injection_g/trunk/src/mgmt_deauth_cpp.cpp
frame_injection_g/trunk/src/mgmt_diasso_cpp.cpp
frame_injection_g/trunk/src/mgmt_probe_req_cpp.cpp
frame_injection_g/trunk/src/mgmt_probe_res_cpp.cpp
frame_injection_g/trunk/src/mgmt_reasso_req_cpp.cpp
frame_injection_g/trunk/src/mgmt_reasso_res_cpp.cpp
Modified: frame_injection_g/trunk/src/data_dataframe_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/data_dataframe_cpp.cpp 2010-03-15 15:55:40 UTC (rev 241)
+++ frame_injection_g/trunk/src/data_dataframe_cpp.cpp 2010-03-17 14:59:14 UTC (rev 242)
@@ -26,93 +26,86 @@
#include <kmessagebox.h>
#include <qvalidator.h>
#include <qstring.h>
-#include <string.h>
#include <stdlib.h>
#include <qcheckbox.h>
#include <qradiobutton.h>
#include <qpushbutton.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <qvalidator.h>
-#include <qpushbutton.h>
#include <qfile.h>
-#include <qvaluelist.h>
-#include <iostream>
#include <arpa/inet.h>
-#include <stdint.h>
#include "mac_80211.h"
-uint16_t global_data_flag=0;
+uint16_t global_data_flag = 0;
char default_data_file[] = "default_data";
-data_dataframe_cpp::data_dataframe_cpp( QWidget* parent, const char* name, WFlags fl )
- : data_dataFrame( parent,name,fl )
+data_dataframe_cpp::data_dataframe_cpp(QWidget* parent, const char* name, WFlags fl)
+ : data_dataFrame(parent, name, fl)
{
- char frame1[2], frame2[2], frame3[2], frame4[2], frame5[2], frame6[2], frame7[2], frame8[2], frame9[2], frame10[2], frame11[2], frame12[2], frame13[2], frame14[2], frame15[2], frame16[2], nav[6], add1_1[3], add1_2[3], add1_3[3], add1_4[3], add1_5[3], add1_6[3], add2_1[3], add2_2[3], add2_3[3], add2_4[3], add2_5[3], add2_6[3], add3_1[3], add3_2[3], add3_3[3], add3_4[3], add3_5[3], add3_6[3],fragno[3], seqno[5], msdu_size[5];
+ char frame1[2], frame2[2], frame3[2], frame4[2], frame5[2], frame6[2], frame7[2], frame8[2], frame9[2], frame10[2], frame11[2], frame12[2], frame13[2], frame14[2], frame15[2], frame16[2], nav[6], add1_1[3], add1_2[3], add1_3[3], add1_4[3], add1_5[3], add1_6[3], add2_1[3], add2_2[3], add2_3[3], add2_4[3], add2_5[3], add2_6[3], add3_1[3], add3_2[3], add3_3[3], add3_4[3], add3_5[3], add3_6[3], fragno[3], seqno[5], msdu_size[5];
FILE *file1;
- file1=fopen( default_data_file,"r" );
+ file1 = fopen(default_data_file, "r");
- if ( file1==NULL )
+ if (file1 == NULL)
{
- KMessageBox::error( this,"Unable to open file. Loading initial values" );
+ KMessageBox::error(this, "Unable to open file. Loading initial values");
reset_data();
}
else
{
- while ( fscanf( file1,"%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s", &frame1[0],&frame2[0],&frame3[0],&frame4[0],&frame5[0],&frame6[0],&frame7[0],&frame8[0],&frame9[0],&frame10[0],&frame11[0],&frame12[0],&frame13[0],&frame14[0],&frame15[0],&frame16[0],&nav[0],&add1_1[0],&add1_2[0],&add1_3[0],&add1_4[0],&add1_5[0],&add1_6[0],&add2_1[0],&add2_2[0],&add2_3[0],&add2_4[0],&add2_5[0],&add2_6[0],&add3_1[0],&add3_2[0],&add3_3[0],&add3_4[0],&add3_5[0],&add3_6[0],&fragno[0],&seqno[0],&msdu_size[0] )!=EOF )
+ while (fscanf(file1, "%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s", &frame1[0], &frame2[0], &frame3[0], &frame4[0], &frame5[0], &frame6[0], &frame7[0], &frame8[0], &frame9[0], &frame10[0], &frame11[0], &frame12[0], &frame13[0], &frame14[0], &frame15[0], &frame16[0], &nav[0], &add1_1[0], &add1_2[0], &add1_3[0], &add1_4[0], &add1_5[0], &add1_6[0], &add2_1[0], &add2_2[0], &add2_3[0], &add2_4[0], &add2_5[0], &add2_6[0], &add3_1[0], &add3_2[0], &add3_3[0], &add3_4[0], &add3_5[0], &add3_6[0], &fragno[0], &seqno[0], &msdu_size[0]) != EOF)
{
- lineedit_frame_1->setText( frame1 );
- lineedit_frame_2->setText( frame2 );
- lineedit_frame_3->setText( frame3 );
- lineedit_frame_4->setText( frame4 );
- lineedit_frame_5->setText( frame5 );
- lineedit_frame_6->setText( frame6 );
- lineedit_frame_7->setText( frame7 );
- lineedit_frame_8->setText( frame8 );
- lineedit_frame_9->setText( frame9 );
- lineedit_frame_10->setText( frame10 );
- lineedit_frame_11->setText( frame11 );
- lineedit_frame_12->setText( frame12 );
- lineedit_frame_13->setText( frame13 );
- lineedit_frame_14->setText( frame14 );
- lineedit_frame_15->setText( frame15 );
- lineedit_frame_16->setText( frame16 );
+ lineedit_frame_1->setText(frame1);
+ lineedit_frame_2->setText(frame2);
+ lineedit_frame_3->setText(frame3);
+ lineedit_frame_4->setText(frame4);
+ lineedit_frame_5->setText(frame5);
+ lineedit_frame_6->setText(frame6);
+ lineedit_frame_7->setText(frame7);
+ lineedit_frame_8->setText(frame8);
+ lineedit_frame_9->setText(frame9);
+ lineedit_frame_10->setText(frame10);
+ lineedit_frame_11->setText(frame11);
+ lineedit_frame_12->setText(frame12);
+ lineedit_frame_13->setText(frame13);
+ lineedit_frame_14->setText(frame14);
+ lineedit_frame_15->setText(frame15);
+ lineedit_frame_16->setText(frame16);
- lineedit_NAV->setText( nav );
+ lineedit_NAV->setText(nav);
- lineedit_address1_1->setText( add1_1 );
- lineedit_address1_2->setText( add1_2 );
- lineedit_address1_3->setText( add1_3 );
- lineedit_address1_4->setText( add1_4 );
- lineedit_address1_5->setText( add1_5 );
- lineedit_address1_6->setText( add1_6 );
+ lineedit_address1_1->setText(add1_1);
+ lineedit_address1_2->setText(add1_2);
+ lineedit_address1_3->setText(add1_3);
+ lineedit_address1_4->setText(add1_4);
+ lineedit_address1_5->setText(add1_5);
+ lineedit_address1_6->setText(add1_6);
- lineedit_address2_1->setText( add2_1 );
- lineedit_address2_2->setText( add2_2 );
- lineedit_address2_3->setText( add2_3 );
- lineedit_address2_4->setText( add2_4 );
- lineedit_address2_5->setText( add2_5 );
- lineedit_address2_6->setText( add2_6 );
+ lineedit_address2_1->setText(add2_1);
+ lineedit_address2_2->setText(add2_2);
+ lineedit_address2_3->setText(add2_3);
+ lineedit_address2_4->setText(add2_4);
+ lineedit_address2_5->setText(add2_5);
+ lineedit_address2_6->setText(add2_6);
- lineedit_address3_1->setText( add3_1 );
- lineedit_address3_2->setText( add3_2 );
- lineedit_address3_3->setText( add3_3 );
- lineedit_address3_4->setText( add3_4 );
- lineedit_address3_5->setText( add3_5 );
- lineedit_address3_6->setText( add3_6 );
+ lineedit_address3_1->setText(add3_1);
+ lineedit_address3_2->setText(add3_2);
+ lineedit_address3_3->setText(add3_3);
+ lineedit_address3_4->setText(add3_4);
+ lineedit_address3_5->setText(add3_5);
+ lineedit_address3_6->setText(add3_6);
- lineedit_frag_no->setText( fragno );
- lineedit_seq_no->setText( seqno );
- lineedit_msdu_size->setText( msdu_size );
+ lineedit_frag_no->setText(fragno);
+ lineedit_seq_no->setText(seqno);
+ lineedit_msdu_size->setText(msdu_size);
}
- fclose( file1 );
+ fclose(file1);
}
- data_run_button->setEnabled( 1 );
- radiobutton_user_defined->setChecked( 1 );
+ data_run_button->setEnabled(1);
+
+ radiobutton_user_defined->setChecked(1);
}
@@ -124,27 +117,27 @@
/*$SPECIALIZATION$*/
void data_dataframe_cpp::buttongroup_click()
{
- if ( radiobutton_user_defined->isChecked()==1 )
- lineedit_payload->setEnabled( 1 );
+ if (radiobutton_user_defined->isChecked() == 1)
+ lineedit_payload->setEnabled(1);
else
- if ( radiobutton_auto->isChecked()==1 )
+ if (radiobutton_auto->isChecked() == 1)
{
- lineedit_payload->setText( "" );
- lineedit_payload->setEnabled( 0 );
+ lineedit_payload->setText("");
+ lineedit_payload->setEnabled(0);
}
}
void data_dataframe_cpp::msdu_size_lineedit_select()
{
- uint16_t size=lineedit_msdu_size->text().toInt();
- lineedit_payload->setMaxLength( size ); //setting msdu size to payload field
+ uint16_t size = lineedit_msdu_size->text().toInt();
+ lineedit_payload->setMaxLength(size); //setting msdu size to payload field
}
void data_dataframe_cpp::data_main_win_click()
{
- data_run_button->setEnabled( 1 );
+ data_run_button->setEnabled(1);
close();
}
@@ -152,35 +145,35 @@
void data_dataframe_cpp::data_clear_click()
{
reset_data();
- radiobutton_user_defined->setChecked( 1 );
- lineedit_payload->setEnabled( 1 );
- data_run_button->setEnabled( 1 );
+ radiobutton_user_defined->setChecked(1);
+ lineedit_payload->setEnabled(1);
+ data_run_button->setEnabled(1);
}
void data_dataframe_cpp::data_run_click()
{
- global_data_flag=1;
+ global_data_flag = 1;
func_data_hex_convertion();
}
void data_dataframe_cpp::data_save_click()
{
- if ( lineedit_testid->text()!="" )
+ if (lineedit_testid->text() != "")
{
- global_data_flag=3;
+ global_data_flag = 3;
func_data_hex_convertion();
lineedit_testid->clear();
}
else
- QMessageBox::critical( this, tr( "Error" ), tr( "Test ID is empty" ) );
+ QMessageBox::critical(this, tr("Error"), tr("Test ID is empty"));
}
void data_dataframe_cpp::data_default_click()
{
- global_data_flag=2;
+ global_data_flag = 2;
func_data_hex_convertion();
}
@@ -190,168 +183,193 @@
mac_80211 mac;
bool ok;
//Qvalidator initialization
- QRegExp rx( "[0-9A-Fa-f]{2}" );
- QRegExpValidator v( rx, this );
+ QRegExp rx("[0-9A-Fa-f]{2}");
+ QRegExpValidator v(rx, this);
- lineedit_address1_1->setValidator( &v );
- lineedit_address1_2->setValidator( &v );
- lineedit_address1_3->setValidator( &v );
- lineedit_address1_4->setValidator( &v );
- lineedit_address1_5->setValidator( &v );
- lineedit_address1_6->setValidator( &v );
- lineedit_address2_1->setValidator( &v );
- lineedit_address2_2->setValidator( &v );
- lineedit_address2_3->setValidator( &v );
- lineedit_address2_4->setValidator( &v );
- lineedit_address2_5->setValidator( &v );
- lineedit_address2_6->setValidator( &v );
- lineedit_address3_1->setValidator( &v );
- lineedit_address3_2->setValidator( &v );
- lineedit_address3_3->setValidator( &v );
- lineedit_address3_4->setValidator( &v );
- lineedit_address3_5->setValidator( &v );
- lineedit_address3_6->setValidator( &v );
+ lineedit_address1_1->setValidator(&v);
+ lineedit_address1_2->setValidator(&v);
+ lineedit_address1_3->setValidator(&v);
+ lineedit_address1_4->setValidator(&v);
+ lineedit_address1_5->setValidator(&v);
+ lineedit_address1_6->setValidator(&v);
+ lineedit_address2_1->setValidator(&v);
+ lineedit_address2_2->setValidator(&v);
+ lineedit_address2_3->setValidator(&v);
+ lineedit_address2_4->setValidator(&v);
+ lineedit_address2_5->setValidator(&v);
+ lineedit_address2_6->setValidator(&v);
+ lineedit_address3_1->setValidator(&v);
+ lineedit_address3_2->setValidator(&v);
+ lineedit_address3_3->setValidator(&v);
+ lineedit_address3_4->setValidator(&v);
+ lineedit_address3_5->setValidator(&v);
+ lineedit_address3_6->setValidator(&v);
// address fields values to local variable
- QString add1_1=lineedit_address1_1->text();
- QString add1_2=lineedit_address1_2->text();
- QString add1_3=lineedit_address1_3->text();
- QString add1_4=lineedit_address1_4->text();
- QString add1_5=lineedit_address1_5->text();
- QString add1_6=lineedit_address1_6->text();
+ QString add1_1 = lineedit_address1_1->text();
+ QString add1_2 = lineedit_address1_2->text();
+ QString add1_3 = lineedit_address1_3->text();
+ QString add1_4 = lineedit_address1_4->text();
+ QString add1_5 = lineedit_address1_5->text();
+ QString add1_6 = lineedit_address1_6->text();
- QString add2_1=lineedit_address2_1->text();
- QString add2_2=lineedit_address2_2->text();
- QString add2_3=lineedit_address2_3->text();
- QString add2_4=lineedit_address2_4->text();
- QString add2_5=lineedit_address2_5->text();
- QString add2_6=lineedit_address2_6->text();
+ QString add2_1 = lineedit_address2_1->text();
+ QString add2_2 = lineedit_address2_2->text();
+ QString add2_3 = lineedit_address2_3->text();
+ QString add2_4 = lineedit_address2_4->text();
+ QString add2_5 = lineedit_address2_5->text();
+ QString add2_6 = lineedit_address2_6->text();
- QString add3_1=lineedit_address3_1->text();
- QString add3_2=lineedit_address3_2->text();
- QString add3_3=lineedit_address3_3->text();
- QString add3_4=lineedit_address3_4->text();
- QString add3_5=lineedit_address3_5->text();
- QString add3_6=lineedit_address3_6->text();
+ QString add3_1 = lineedit_address3_1->text();
+ QString add3_2 = lineedit_address3_2->text();
+ QString add3_3 = lineedit_address3_3->text();
+ QString add3_4 = lineedit_address3_4->text();
+ QString add3_5 = lineedit_address3_5->text();
+ QString add3_6 = lineedit_address3_6->text();
- int pos=0;
+ int pos = 0;
// validating fields
- if (( v.validate( add1_1, pos ) !=0 ) &&
- ( v.validate( add1_2, pos ) !=0 ) &&
- ( v.validate( add1_3, pos ) !=0 ) &&
- ( v.validate( add1_4, pos ) !=0 ) &&
- ( v.validate( add1_5, pos ) !=0 ) &&
- ( v.validate( add1_6, pos ) !=0 ) &&
- ( v.validate( add2_1, pos ) !=0 ) &&
- ( v.validate( add2_2, pos ) !=0 ) &&
- ( v.validate( add2_3, pos ) !=0 ) &&
- ( v.validate( add2_4, pos ) !=0 ) &&
- ( v.validate( add2_5, pos ) !=0 ) &&
- ( v.validate( add2_6, pos ) !=0 ) &&
- ( v.validate( add3_1, pos ) !=0 ) &&
- ( v.validate( add3_2, pos ) !=0 ) &&
- ( v.validate( add3_3, pos ) !=0 ) &&
- ( v.validate( add3_4, pos ) !=0 ) &&
- ( v.validate( add3_5, pos ) !=0 ) &&
- ( v.validate( add3_6, pos ) !=0 ) )
+ if ((v.validate(add1_1, pos) != 0) &&
+ (v.validate(add1_2, pos) != 0) &&
+ (v.validate(add1_3, pos) != 0) &&
+ (v.validate(add1_4, pos) != 0) &&
+ (v.validate(add1_5, pos) != 0) &&
+ (v.validate(add1_6, pos) != 0) &&
+ (v.validate(add2_1, pos) != 0) &&
+ (v.validate(add2_2, pos) != 0) &&
+ (v.validate(add2_3, pos) != 0) &&
+ (v.validate(add2_4, pos) != 0) &&
+ (v.validate(add2_5, pos) != 0) &&
+ (v.validate(add2_6, pos) != 0) &&
+ (v.validate(add3_1, pos) != 0) &&
+ (v.validate(add3_2, pos) != 0) &&
+ (v.validate(add3_3, pos) != 0) &&
+ (v.validate(add3_4, pos) != 0) &&
+ (v.validate(add3_5, pos) != 0) &&
+ (v.validate(add3_6, pos) != 0))
{
// validating frame control field values
- if ( lineedit_frame_1->text().toInt()<=1 && lineedit_frame_1->text()!="" && lineedit_frame_2->text().toInt()<=1 && lineedit_frame_2->text()!="" && lineedit_frame_3->text().toInt()<=1 && lineedit_frame_3->text()!="" && lineedit_frame_4->text().toInt()<=1 && lineedit_frame_4->text()!="" && lineedit_frame_5->text().toInt()<=1 && lineedit_frame_5->text()!="" && lineedit_frame_6->text().toInt()<=1 && lineedit_frame_6->text()!="" && lineedit_frame_7->text().toInt()<=1 && lineedit_frame_7->text()!="" && lineedit_frame_8->text().toInt()<=1 && lineedit_frame_8->text()!="" && lineedit_frame_9->text().toInt()<=1 && lineedit_frame_9->text()!="" && lineedit_frame_10->text().toInt()<=1 && lineedit_frame_10->text()!="" && lineedit_frame_11->text().toInt()<=1 && lineedit_frame_11->text()!="" && lineedit_frame_12->text().toInt()<=1 && lineedit_frame_12->text()!="" && lineedit_frame_13->text().toInt()<=1 && lineedit_frame_13->text()!="" && lineedit_frame_14->text().toInt()<=1 && lineedit_frame_14->text()!="" && lineedit_frame_15->text().toInt()<=1 && lineedit_frame_15->text()!="" && lineedit_frame_16->text().toInt()<=1 && lineedit_frame_16->text()!="" )
+ if (lineedit_frame_1->text().toInt() <= 1 && lineedit_frame_1->text() != "" && lineedit_frame_2->text().toInt() <= 1 && lineedit_frame_2->text() != "" && lineedit_frame_3->text().toInt() <= 1 && lineedit_frame_3->text() != "" && lineedit_frame_4->text().toInt() <= 1 && lineedit_frame_4->text() != "" && lineedit_frame_5->text().toInt() <= 1 && lineedit_frame_5->text() != "" && lineedit_frame_6->text().toInt() <= 1 && lineedit_frame_6->text() != "" && lineedit_frame_7->text().toInt() <= 1 && lineedit_frame_7->text() != "" && lineedit_frame_8->text().toInt() <= 1 && lineedit_frame_8->text() != "" && lineedit_frame_9->text().toInt() <= 1 && lineedit_frame_9->text() != "" && lineedit_frame_10->text().toInt() <= 1 && lineedit_frame_10->text() != "" && lineedit_frame_11->text().toInt() <= 1 && lineedit_frame_11->text() != "" && lineedit_frame_12->text().toInt() <= 1 && lineedit_frame_12->text() != "" && lineedit_frame_13->text().toInt() <= 1 && lineedit_frame_13->text() != "" && lineedit_frame_14->text().toInt() <= 1 && lineedit_frame_14->text() != "" && lineedit_frame_15->text().toInt() <= 1 && lineedit_frame_15->text() != "" && lineedit_frame_16->text().toInt() <= 1 && lineedit_frame_16->text() != "")
{
// validating address fields to not have empty space
- if ( lineedit_address1_1->text()!="" && lineedit_address1_2->text()!="" && lineedit_address1_3->text()!="" && lineedit_address1_4->text()!="" && lineedit_address1_5->text()!="" && lineedit_address1_6->text()!="" && lineedit_address2_1->text()!="" && lineedit_address2_2->text()!="" && lineedit_address2_3->text()!="" && lineedit_address2_4->text()!="" && lineedit_address2_5->text()!="" && lineedit_address2_6->text()!="" && lineedit_address3_1->text()!="" && lineedit_address3_2->text()!="" && lineedit_address3_3->text()!="" && lineedit_address3_4->text()!="" && lineedit_address3_5->text()!="" && lineedit_address3_6->text()!="" )
+ if (lineedit_address1_1->text() != "" && lineedit_address1_2->text() != "" && lineedit_address1_3->text() != "" && lineedit_address1_4->text() != "" && lineedit_address1_5->text() != "" && lineedit_address1_6->text() != "" && lineedit_address2_1->text() != "" && lineedit_address2_2->text() != "" && lineedit_address2_3->text() != "" && lineedit_address2_4->text() != "" && lineedit_address2_5->text() != "" && lineedit_address2_6->text() != "" && lineedit_address3_1->text() != "" && lineedit_address3_2->text() != "" && lineedit_address3_3->text() != "" && lineedit_address3_4->text() != "" && lineedit_address3_5->text() != "" && lineedit_address3_6->text() != "")
{
uint16_t duration_id = lineedit_NAV->text().toInt();
- uint16_t frag_no=lineedit_frag_no->text().toInt();
- uint16_t seq_no=lineedit_seq_no->text().toInt();
- uint16_t size=lineedit_msdu_size->text().toInt();
+ uint16_t frag_no = lineedit_frag_no->text().toInt();
+ uint16_t seq_no = lineedit_seq_no->text().toInt();
+ uint16_t size = lineedit_msdu_size->text().toInt();
- if ( duration_id<32768 && lineedit_NAV->text()!="" )
+ if (duration_id < 32768 && lineedit_NAV->text() != "")
{
- if ( frag_no<16 && lineedit_frag_no->text()!="" )
+ if (frag_no < 16 && lineedit_frag_no->text() != "")
{
- if ( seq_no<4096 && lineedit_seq_no->text()!="" )
+ if (seq_no < 4096 && lineedit_seq_no->text() != "")
{
- if ( size<=2304 && lineedit_msdu_size->text()!="" )
+ if (size <= 2304 && lineedit_msdu_size->text() != "")
{
- uint8_t frame_ctrl0 =0X00, frame_ctrl1 = 0x00, duration_char[2];
+ uint8_t frame_ctrl0 = 0X00, frame_ctrl1 = 0x00, duration_char[2];
// Form Frame control
- frame_ctrl0 = mac.bits_to_byte( lineedit_frame_1->text(), lineedit_frame_2->text(), lineedit_frame_3->text(), lineedit_frame_4->text(), lineedit_frame_5->text(), lineedit_frame_6->text(), lineedit_frame_7->text(), lineedit_frame_8->text() );
+ frame_ctrl0 = mac.bits_to_byte(lineedit_frame_1->text(), lineedit_frame_2->text(), lineedit_frame_3->text(), lineedit_frame_4->text(), lineedit_frame_5->text(), lineedit_frame_6->text(), lineedit_frame_7->text(), lineedit_frame_8->text());
// Form Frame control (flags)
- frame_ctrl1 = mac.bits_to_byte( lineedit_frame_9->text(), lineedit_frame_10->text(), lineedit_frame_11->text(), lineedit_frame_12->text(), lineedit_frame_13->text(), lineedit_frame_14->text(), lineedit_frame_15->text(), lineedit_frame_16->text() );
+ frame_ctrl1 = mac.bits_to_byte(lineedit_frame_9->text(), lineedit_frame_10->text(), lineedit_frame_11->text(), lineedit_frame_12->text(), lineedit_frame_13->text(), lineedit_frame_14->text(), lineedit_frame_15->text(), lineedit_frame_16->text());
//type casting int to array for NAV
uint16_t i;
- for ( i=0;i<2;i++ )
- duration_char[i] = * ((( char* ) &duration_id ) +i );
+ for (i = 0;i < 2;i++)
+ duration_char[i] = * (((char*) & duration_id) + i);
// address field values to local variable
- uint8_t addr1_1 = ( unsigned char ) lineedit_address1_1->text().toInt( &ok ,16 );
- uint8_t addr1_2 = ( unsigned char ) lineedit_address1_2->text().toInt( &ok ,16 );
- uint8_t addr1_3 = ( unsigned char ) lineedit_address1_3->text().toInt( &ok ,16 );
- uint8_t addr1_4 = ( unsigned char ) lineedit_address1_4->text().toInt( &ok ,16 );
- uint8_t addr1_5 = ( unsigned char ) lineedit_address1_5->text().toInt( &ok ,16 );
- uint8_t addr1_6 = ( unsigned char ) lineedit_address1_6->text().toInt( &ok ,16 );
- uint8_t addr2_1 = ( unsigned char ) lineedit_address2_1->text().toInt( &ok ,16 );
- uint8_t addr2_2 = ( unsigned char ) lineedit_address2_2->text().toInt( &ok ,16 );
- uint8_t addr2_3 = ( unsigned char ) lineedit_address2_3->text().toInt( &ok ,16 );
- uint8_t addr2_4 = ( unsigned char ) lineedit_address2_4->text().toInt( &ok ,16 );
- uint8_t addr2_5 = ( unsigned char ) lineedit_address2_5->text().toInt( &ok ,16 );
- uint8_t addr2_6 = ( unsigned char ) lineedit_address2_6->text().toInt( &ok ,16 );
- uint8_t addr3_1 = ( unsigned char ) lineedit_address2_1->text().toInt( &ok ,16 );
- uint8_t addr3_2 = ( unsigned char ) lineedit_address2_2->text().toInt( &ok ,16 );
- uint8_t addr3_3 = ( unsigned char ) lineedit_address2_3->text().toInt( &ok ,16 );
- uint8_t addr3_4 = ( unsigned char ) lineedit_address2_4->text().toInt( &ok ,16 );
- uint8_t addr3_5 = ( unsigned char ) lineedit_address2_5->text().toInt( &ok ,16 );
- uint8_t addr3_6 = ( unsigned char ) lineedit_address2_6->text().toInt( &ok ,16 );
+ uint8_t addr1_1 = (unsigned char) lineedit_address1_1->text().toInt(&ok , 16);
- uint16_t seq_ctrl_int=0X00;
+ uint8_t addr1_2 = (unsigned char) lineedit_address1_2->text().toInt(&ok , 16);
+
+ uint8_t addr1_3 = (unsigned char) lineedit_address1_3->text().toInt(&ok , 16);
+
+ uint8_t addr1_4 = (unsigned char) lineedit_address1_4->text().toInt(&ok , 16);
+
+ uint8_t addr1_5 = (unsigned char) lineedit_address1_5->text().toInt(&ok , 16);
+
+ uint8_t addr1_6 = (unsigned char) lineedit_address1_6->text().toInt(&ok , 16);
+
+ uint8_t addr2_1 = (unsigned char) lineedit_address2_1->text().toInt(&ok , 16);
+
+ uint8_t addr2_2 = (unsigned char) lineedit_address2_2->text().toInt(&ok , 16);
+
+ uint8_t addr2_3 = (unsigned char) lineedit_address2_3->text().toInt(&ok , 16);
+
+ uint8_t addr2_4 = (unsigned char) lineedit_address2_4->text().toInt(&ok , 16);
+
+ uint8_t addr2_5 = (unsigned char) lineedit_address2_5->text().toInt(&ok , 16);
+
+ uint8_t addr2_6 = (unsigned char) lineedit_address2_6->text().toInt(&ok , 16);
+
+ uint8_t addr3_1 = (unsigned char) lineedit_address2_1->text().toInt(&ok , 16);
+
+ uint8_t addr3_2 = (unsigned char) lineedit_address2_2->text().toInt(&ok , 16);
+
+ uint8_t addr3_3 = (unsigned char) lineedit_address2_3->text().toInt(&ok , 16);
+
+ uint8_t addr3_4 = (unsigned char) lineedit_address2_4->text().toInt(&ok , 16);
+
+ uint8_t addr3_5 = (unsigned char) lineedit_address2_5->text().toInt(&ok , 16);
+
+ uint8_t addr3_6 = (unsigned char) lineedit_address2_6->text().toInt(&ok , 16);
+
+ uint16_t seq_ctrl_int = 0X00;
+
uint8_t seq_ctrl_char[2];
//frag_no and seq_no to 2 bytes
- seq_ctrl_int=seq_ctrl_int | seq_no;
- seq_ctrl_int=seq_ctrl_int << 4;
- seq_ctrl_int=seq_ctrl_int | frag_no;
+ seq_ctrl_int = seq_ctrl_int | seq_no;
- for ( i=0;i<2;i++ )
- seq_ctrl_char[i] = * ((( unsigned char* ) &seq_ctrl_int ) +i );
+ seq_ctrl_int = seq_ctrl_int << 4;
+ seq_ctrl_int = seq_ctrl_int | frag_no;
+
+ for (i = 0;i < 2;i++)
+ seq_ctrl_char[i] = * (((unsigned char*) & seq_ctrl_int) + i);
+
uint16_t temp_payload_size = lineedit_payload->text().length();
+
const char *str_payload = lineedit_payload->text();
QString str_ipsource = lineedit_ip_source->text();
- QString str_ipdest = lineedit_ip_dest->text();
+ QString str_ipdest = lineedit_ip_dest->text();
+
unsigned long ip;
+
uint8_t src_ip[4], dest_ip[4];
- ip=inet_addr( str_ipsource );
+ ip = inet_addr(str_ipsource);
- int run, shift = 24;
-
- for (run = 3; run >=0; run--)
- {
- src_ip[run] = ( ip >> shift ) & 0xff;
- shift -= 8;
- }
+ int run, shift = 24;
- printf("%02x %02x %02x %02x\n", src_ip[0], src_ip[1], src_ip[2], src_ip[3]);
+ for (run = 3; run >= 0; run--)
+ {
+ src_ip[run] = (ip >> shift) & 0xff;
+ shift -= 8;
+ }
- ip=inet_addr( str_ipdest );
- for (run = 3, shift = 24; run >=0; run--)
- {
- dest_ip[run] = ( ip >> shift ) & 0xff;
- shift -= 8;
- }
- uint8_t llc_hdr[8] = {0xaa, 0xaa, 0x03,0x00,0x00,0x00,0x08,0x00};
+ printf("%02x %02x %02x %02x\n", src_ip[0], src_ip[1], src_ip[2], src_ip[3]);
+
+ ip = inet_addr(str_ipdest);
+
+ for (run = 3, shift = 24; run >= 0; run--)
+ {
+ dest_ip[run] = (ip >> shift) & 0xff;
+ shift -= 8;
+ }
+
+ uint8_t llc_hdr[8] = {0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00, 0x08, 0x00};
//values initializing in a dynamic array
uint8_t control_header_arr1[] =
{
@@ -381,350 +399,363 @@
seq_ctrl_char[1]
};
- uint16_t frame_len = sizeof( control_header_arr1 );
+ uint16_t frame_len = sizeof(control_header_arr1);
unsigned char *control_header_arr;
- control_header_arr=( unsigned char* ) malloc( frame_len * ( sizeof( unsigned char ) ) );
+ control_header_arr = (unsigned char*) malloc(frame_len * (sizeof(unsigned char)));
- if ( control_header_arr == NULL )
+ if (control_header_arr == NULL)
{
- printf( "Unable to allocate memory...\n" );
- exit( 1 );
+ printf("Unable to allocate memory...\n");
+ exit(1);
}
- for ( i =0;i < frame_len; i++ )
- control_header_arr[i]=control_header_arr1[i];
-
- int msdu_size=lineedit_msdu_size->text().toInt();
- if (msdu_size == 0 )
- {
- /* Payload size is 0, then make it NULL frame */
- control_header_arr[0] |= 0x40;
- func_data_call( control_header_arr, frame_len );
- }
- else
- {
- /* Otherwise increase the variable size to append LLC header */
- int llc_hdr_len = sizeof(llc_hdr)/sizeof(llc_hdr[0]);
- control_header_arr=( unsigned char* ) realloc( control_header_arr, (frame_len + llc_hdr_len) * ( sizeof( unsigned char ) ) );
- if ( control_header_arr == NULL )
- {
- printf( "Unable to allocate memory...\n" );
- exit( 1 );
- }
- for ( i=0; i<llc_hdr_len; i++)
- control_header_arr[frame_len+i] = llc_hdr[i];
+ for (i = 0;i < frame_len; i++)
+ control_header_arr[i] = control_header_arr1[i];
- frame_len = frame_len + llc_hdr_len;
- /* Add IP header
- This part is very ugly. Need to modify */
- unsigned char ip_hdr[] = {
- 0x45, 0x00, 0x00, 0x54, 0x00, 0x00, 0x40, 0x00, 0x40, 0x01, 0xb7, 0x44, src_ip[0], src_ip[1], src_ip[2], src_ip[3], dest_ip[0], dest_ip[1], dest_ip[2], dest_ip[3]
- };
+ int msdu_size = lineedit_msdu_size->text().toInt();
- int ip_hdr_len = sizeof(ip_hdr)/sizeof(ip_hdr[0]);
-
- control_header_arr= ( unsigned char* ) realloc( control_header_arr, (frame_len + ip_hdr_len ) * ( sizeof( unsigned char ) ) );
- for ( i=0; i<ip_hdr_len; i++)
- control_header_arr[frame_len+i] = ip_hdr[i];
- frame_len = frame_len + ip_hdr_len;
+ if (msdu_size == 0)
+ {
+ /* Payload size is 0, then make it NULL frame */
+ control_header_arr[0] |= 0x40;
+ func_data_call(control_header_arr, frame_len);
+ }
+ else
+ {
+ /* Otherwise increase the variable size to append LLC header */
+ int llc_hdr_len = sizeof(llc_hdr) / sizeof(llc_hdr[0]);
+ control_header_arr = (unsigned char*) realloc(control_header_arr, (frame_len + llc_hdr_len) * (sizeof(unsigned char)));
- unsigned char icmp_hdr[] = {0x08, 0x00, 0xd5, 0x1a, 0x7b, 0x0e, 0x01, 0x30};
- int icmp_hdr_len = sizeof(icmp_hdr)/sizeof(icmp_hdr[0]);
+ if (control_header_arr == NULL)
+ {
+ printf("Unable to allocate memory...\n");
+ exit(1);
+ }
- control_header_arr= ( unsigned char* ) realloc( control_header_arr, (frame_len + icmp_hdr_len ) * ( sizeof( unsigned char ) ) );
+ for (i = 0; i < llc_hdr_len; i++)
+ control_header_arr[frame_len+i] = llc_hdr[i];
- for ( i=0; i<icmp_hdr_len; i++)
- control_header_arr[frame_len+i] = icmp_hdr[i];
- frame_len = frame_len + icmp_hdr_len;
+ frame_len = frame_len + llc_hdr_len;
- if ( radiobutton_user_defined->isChecked()==1 )
- {
- uint16_t temp_sum = frame_len + temp_payload_size;
- //reallocation of control_header_arr
+ /* Add IP header
+ This part is very ugly. Need to modify */
+ unsigned char ip_hdr[] =
+ {
+ 0x45, 0x00, 0x00, 0x54, 0x00, 0x00, 0x40, 0x00, 0x40, 0x01, 0xb7, 0x44, src_ip[0], src_ip[1], src_ip[2], src_ip[3], dest_ip[0], dest_ip[1], dest_ip[2], dest_ip[3]
+ };
- control_header_arr= ( unsigned char* ) realloc( control_header_arr, temp_sum * sizeof( unsigned char ) );
+ int ip_hdr_len = sizeof(ip_hdr) / sizeof(ip_hdr[0]);
- if ( control_header_arr == NULL )
- {
- printf( "Unable to allocate memory...\n" );
- exit( 1 );
- }
+ control_header_arr = (unsigned char*) realloc(control_header_arr, (frame_len + ip_hdr_len) * (sizeof(unsigned char)));
- //initializing payload to control_header_arr array
- for ( int r=0;r<temp_payload_size;r++ )
- control_header_arr[frame_len + r]= str_payload[r];
+ for (i = 0; i < ip_hdr_len; i++)
+ control_header_arr[frame_len+i] = ip_hdr[i];
- func_data_call( control_header_arr,temp_sum );
- }
- else if ( radiobutton_user_defined->isChecked()==0 )
- {
- unsigned char temp_char_arr[msdu_size];
-
- for ( int i=0; i<msdu_size; i++ )
- temp_char_arr[i]='a';
-
- uint16_t temp_sum = frame_len + msdu_size;
-
- //reallocation of control_header_arr
- control_header_arr= ( unsigned char* ) realloc( control_header_arr, temp_sum * sizeof( unsigned char ) );
-
- if ( control_header_arr == NULL )
- {
- printf( "Unable to allocate memory...\n" );
- exit( 1 );
- }
-
- //initializing default values to array
- for ( int r=0; r<msdu_size; r++ )
- control_header_arr[frame_len + r]=temp_char_arr[r];
-
- func_data_call( control_header_arr,temp_sum );
- }
- }
+ frame_len = frame_len + ip_hdr_len;
+
+ unsigned char icmp_hdr[] = {0x08, 0x00, 0xd5, 0x1a, 0x7b, 0x0e, 0x01, 0x30};
+
+ int icmp_hdr_len = sizeof(icmp_hdr) / sizeof(icmp_hdr[0]);
+
+ control_header_arr = (unsigned char*) realloc(control_header_arr, (frame_len + icmp_hdr_len) * (sizeof(unsigned char)));
+
+ for (i = 0; i < icmp_hdr_len; i++)
+ control_header_arr[frame_len+i] = icmp_hdr[i];
+
+ frame_len = frame_len + icmp_hdr_len;
+
+ if (radiobutton_user_defined->isChecked() == 1)
+ {
+ uint16_t temp_sum = frame_len + temp_payload_size;
+ //reallocation of control_header_arr
+
+ control_header_arr = (unsigned char*) realloc(control_header_arr, temp_sum * sizeof(unsigned char));
+
+ if (control_header_arr == NULL)
+ {
+ printf("Unable to allocate memory...\n");
+ exit(1);
+ }
+
+ //initializing payload to control_header_arr array
+ for (int r = 0;r < temp_payload_size;r++)
+ control_header_arr[frame_len + r] = str_payload[r];
+
+ func_data_call(control_header_arr, temp_sum);
+ }
+ else if (radiobutton_user_defined->isChecked() == 0)
+ {
+ unsigned char temp_char_arr[msdu_size];
+
+ for (int i = 0; i < msdu_size; i++)
+ temp_char_arr[i] = 'a';
+
+ uint16_t temp_sum = frame_len + msdu_size;
+
+ //reallocation of control_header_arr
+ control_header_arr = (unsigned char*) realloc(control_header_arr, temp_sum * sizeof(unsigned char));
+
+ if (control_header_arr == NULL)
+ {
+ printf("Unable to allocate memory...\n");
+ exit(1);
+ }
+
+ //initializing default values to array
+ for (int r = 0; r < msdu_size; r++)
+ control_header_arr[frame_len + r] = temp_char_arr[r];
+
+ func_data_call(control_header_arr, temp_sum);
+ }
+ }
}
else
- KMessageBox::error( this,"MSDU size should be from 0 to 2305 Bytes" );
+ KMessageBox::error(this, "MSDU size should be from 0 to 2305 Bytes");
}
else
{
- KMessageBox::error( this,"sequence number should be in the range 0 and 4095" );
- lineedit_seq_no->setText( "" );
+ KMessageBox::error(this, "sequence number should be in the range 0 and 4095");
+ lineedit_seq_no->setText("");
}
}
else
{
- KMessageBox::error( this,"Fragment number should be in the range 0 and 15" );
- lineedit_frag_no->setText( "" );
+ KMessageBox::error(this, "Fragment number should be in the range 0 and 15");
+ lineedit_frag_no->setText("");
}
}
else
- KMessageBox::error( this,"NAV should be less than 32786" );
+ KMessageBox::error(this, "NAV should be less than 32786");
}
else
- KMessageBox::error( this,"Address field empty" );
+ KMessageBox::error(this, "Address field empty");
}
else
- KMessageBox::error( this,"Check the frame control fields" );
+ KMessageBox::error(this, "Check the frame control fields");
}
else
- KMessageBox::error( this,"Hexa decimal values only allowed in address field" );
+ KMessageBox::error(this, "Hexa decimal values only allowed in address field");
}
-void data_dataframe_cpp::func_data_call( unsigned char *ctrlhdr,int len )
+void data_dataframe_cpp::func_data_call(unsigned char *ctrlhdr, int len)
{
mac_80211 mac;
int file_exists = 0;
- switch ( global_data_flag )
+ switch (global_data_flag)
{
- case 1:
- {
- static injection_main_cpp *obj=new injection_main_cpp();
- obj->func_call( ctrlhdr,len );
- data_run_button->setEnabled( 0 );
- break;
- }
-
- case 2:
- {
- save_in_txt( default_data_file );
- break;
- }
-
- case 3:
- {
- QString test_id=lineedit_testid->text();
- char save_file[15] = "TestId_";
- char hex_file[15], txt_file[15];
-
- strcat( &save_file[0], test_id.latin1() );
- strcpy( &hex_file[0], &save_file[0] );
- strcpy( &txt_file[0], &save_file[0] );
- strcat( &hex_file[0], ".hex" );
- strcat( &txt_file[0], ".txt" );
-
- if ( QFile::exists( &hex_file[0] ) &&
- QMessageBox::question( this, tr( "Overwrite File?" ),
- tr( "%1 : Already exists. Do you want to overwrite it?" )
- .arg( &hex_file[0] ),
- tr( "&Yes" ), tr( "&No" ),
- QString::null, 0, 1 ) )
+ case 1:
{
- file_exists = 1;
+ static injection_main_cpp *obj = new injection_main_cpp();
+ obj->func_call(ctrlhdr, len);
+ data_run_button->setEnabled(0);
+ break;
}
- if ( file_exists!=1 )
+ case 2:
{
- mac.save_in_hex( &hex_file[0], ctrlhdr, len );
- file_exists = 0;
+ save_in_txt(default_data_file);
+ break;
}
- if ( QFile::exists( &txt_file[0] ) &&
- QMessageBox::question( this, tr( "Overwrite File?" ),
- tr( "%1 : Already exists. Do you want to overwrite it?" )
- .arg( &txt_file[0] ),
- tr( "&Yes" ), tr( "&No" ),
- QString::null, 0, 1 ) )
+ case 3:
{
- file_exists = 1;
- }
+ QString test_id = lineedit_testid->text();
+ char save_file[15] = "TestId_";
+ char hex_file[15], txt_file[15];
- if ( file_exists!=1 )
- {
- save_in_txt( &txt_file[0] );
- QMessageBox::about( this, tr( "Template Saved" ),
- tr( "Template saved successfully" ) );
+ strcat(&save_file[0], test_id.latin1());
+ strcpy(&hex_file[0], &save_file[0]);
+ strcpy(&txt_file[0], &save_file[0]);
+ strcat(&hex_file[0], ".hex");
+ strcat(&txt_file[0], ".txt");
+
+ if (QFile::exists(&hex_file[0]) &&
+ QMessageBox::question(this, tr("Overwrite File?"),
+ tr("%1 : Already exists. Do you want to overwrite it?")
+ .arg(&hex_file[0]),
+ tr("&Yes"), tr("&No"),
+ QString::null, 0, 1))
+ {
+ file_exists = 1;
+ }
+
+ if (file_exists != 1)
+ {
+ mac.save_in_hex(&hex_file[0], ctrlhdr, len);
+ file_exists = 0;
+ }
+
+ if (QFile::exists(&txt_file[0]) &&
+ QMessageBox::question(this, tr("Overwrite File?"),
+ tr("%1 : Already exists. Do you want to overwrite it?")
+ .arg(&txt_file[0]),
+ tr("&Yes"), tr("&No"),
+ QString::null, 0, 1))
+ {
+ file_exists = 1;
+ }
+
+ if (file_exists != 1)
+ {
+ save_in_txt(&txt_file[0]);
+ QMessageBox::about(this, tr("Template Saved"),
+ tr("Template saved successfully"));
+ }
+
+ break;
}
-
- break;
}
- }
}
void data_dataframe_cpp::reset_data()
{
- lineedit_frame_1->setText( "0" );
- lineedit_frame_2->setText( "0" );
- lineedit_frame_3->setText( "0" );
- lineedit_frame_4->setText( "1" );
- lineedit_frame_5->setText( "0" );
- lineedit_frame_6->setText( "0" );
- lineedit_frame_7->setText( "0" );
- lineedit_frame_8->setText( "0" );
+ lineedit_frame_1->setText("0");
+ lineedit_frame_2->setText("0");
+ lineedit_frame_3->setText("0");
+ lineedit_frame_4->setText("1");
+ lineedit_frame_5->setText("0");
+ lineedit_frame_6->setText("0");
+ lineedit_frame_7->setText("0");
+ lineedit_frame_8->setText("0");
- lineedit_frame_9->setText( "0" );
- lineedit_frame_10->setText( "0" );
- lineedit_frame_11->setText( "0" );
- lineedit_frame_12->setText( "0" );
- lineedit_frame_13->setText( "0" );
- lineedit_frame_14->setText( "0" );
- lineedit_frame_15->setText( "0" );
- lineedit_frame_16->setText( "0" );
+ lineedit_frame_9->setText("0");
+ lineedit_frame_10->setText("0");
+ lineedit_frame_11->setText("0");
+ lineedit_frame_12->setText("0");
+ lineedit_frame_13->setText("0");
+ lineedit_frame_14->setText("0");
+ lineedit_frame_15->setText("0");
+ lineedit_frame_16->setText("0");
- lineedit_NAV->setText( "0" );
+ lineedit_NAV->setText("0");
- lineedit_address1_1->setText( "FF" );
- lineedit_address1_2->setText( "FF" );
- lineedit_address1_3->setText( "FF" );
- lineedit_address1_4->setText( "FF" );
- lineedit_address1_5->setText( "FF" );
- lineedit_address1_6->setText( "FF" );
+ lineedit_address1_1->setText("FF");
+ lineedit_address1_2->setText("FF");
+ lineedit_address1_3->setText("FF");
+ lineedit_address1_4->setText("FF");
+ lineedit_address1_5->setText("FF");
+ lineedit_address1_6->setText("FF");
- lineedit_address2_1->setText( "FF" );
- lineedit_address2_2->setText( "FF" );
- lineedit_address2_3->setText( "FF" );
- lineedit_address2_4->setText( "FF" );
- lineedit_address2_5->setText( "FF" );
- lineedit_address2_6->setText( "FF" );
+ lineedit_address2_1->setText("FF");
+ lineedit_address2_2->setText("FF");
+ lineedit_address2_3->setText("FF");
+ lineedit_address2_4->setText("FF");
+ lineedit_address2_5->setText("FF");
+ lineedit_address2_6->setText("FF");
- lineedit_address3_1->setText( "FF" );
- lineedit_address3_2->setText( "FF" );
- lineedit_address3_3->setText( "FF" );
- lineedit_address3_4->setText( "FF" );
- lineedit_address3_5->setText( "FF" );
- lineedit_address3_6->setText( "FF" );
+ lineedit_address3_1->setText("FF");
+ lineedit_address3_2->setText("FF");
+ lineedit_address3_3->setText("FF");
+ lineedit_address3_4->setText("FF");
+ lineedit_address3_5->setText("FF");
+ lineedit_address3_6->setText("FF");
- lineedit_frag_no->setText( "0" );
- lineedit_seq_no->setText( "0" );
- lineedit_msdu_size->setText( "0" );
+ lineedit_frag_no->setText("0");
+ lineedit_seq_no->setText("0");
+ lineedit_msdu_size->setText("0");
}
-void data_dataframe_cpp::save_in_txt( char *file )
+void data_dataframe_cpp::save_in_txt(char *file)
{
FILE *fptr;
- fptr=fopen( file,"w" );
+ fptr = fopen(file, "w");
- if ( fptr==NULL )
+ if (fptr == NULL)
{
- KMessageBox::error( this,"Unable to open setup file" );
- exit( 1 );
+ KMessageBox::error(this, "Unable to open setup file");
+ exit(1);
}
- QString str_frm1=lineedit_frame_1->text();
+ QString str_frm1 = lineedit_frame_1->text();
+ QString str_frm2 = lineedit_frame_2->text();
+ QString str_frm3 = lineedit_frame_3->text();
+ QString str_frm4 = lineedit_frame_4->text();
+ QString str_frm5 = lineedit_frame_5->text();
+ QString str_frm6 = lineedit_frame_6->text();
+ QString str_frm7 = lineedit_frame_7->text();
+ QString str_frm8 = lineedit_frame_8->text();
+ QString str_frm9 = lineedit_frame_9->text();
+ QString str_frm10 = lineedit_frame_10->text();
+ QString str_frm11 = lineedit_frame_11->text();
+ QString str_frm12 = lineedit_frame_12->text();
+ QString str_frm13 = lineedit_frame_13->text();
+ QString str_frm14 = lineedit_frame_14->text();
+ QString str_frm15 = lineedit_frame_15->text();
+ QString str_frm16 = lineedit_frame_16->text();
- QString str_frm2=lineedit_frame_2->text();
- QString str_frm3=lineedit_frame_3->text();
- QString str_frm4=lineedit_frame_4->text();
- QString str_frm5=lineedit_frame_5->text();
- QString str_frm6=lineedit_frame_6->text();
- QString str_frm7=lineedit_frame_7->text();
- QString str_frm8=lineedit_frame_8->text();
- QString str_frm9=lineedit_frame_9->text();
- QString str_frm10=lineedit_frame_10->text();
- QString str_frm11=lineedit_frame_11->text();
- QString str_frm12=lineedit_frame_12->text();
- QString str_frm13=lineedit_frame_13->text();
- QString str_frm14=lineedit_frame_14->text();
- QString str_frm15=lineedit_frame_15->text();
- QString str_frm16=lineedit_frame_16->text();
- QString str_nav=lineedit_NAV->text();
- QString str_add1=lineedit_address1_1->text();
- QString str_add2=lineedit_address1_2->text();
- QString str_add3=lineedit_address1_3->text();
- QString str_add4=lineedit_address1_4->text();
- QString str_add5=lineedit_address1_5->text();
- QString str_add6=lineedit_address1_6->text();
- QString str_add2_1=lineedit_address2_1->text();
- QString str_add2_2=lineedit_address2_2->text();
- QString str_add2_3=lineedit_address2_3->text();
- QString str_add2_4=lineedit_address2_4->text();
- QString str_add2_5=lineedit_address2_5->text();
- QString str_add2_6=lineedit_address2_6->text();
- QString str_add3_1=lineedit_address3_1->text();
- QString str_add3_2=lineedit_address3_2->text();
- QString str_add3_3=lineedit_address3_3->text();
- QString str_add3_4=lineedit_address3_4->text();
- QString str_add3_5=lineedit_address3_5->text();
- QString str_add3_6=lineedit_address3_6->text();
- QString str_frag_no=lineedit_frag_no->text();
- QString str_seq_no=lineedit_seq_no->text();
- QString str_msdu_size=lineedit_msdu_size->text();
+ QString str_nav = lineedit_NAV->text();
+ QString str_add1 = lineedit_address1_1->text();
+ QString str_add2 = lineedit_address1_2->text();
+ QString str_add3 = lineedit_address1_3->text();
+ QString str_add4 = lineedit_address1_4->text();
+ QString str_add5 = lineedit_address1_5->text();
+ QString str_add6 = lineedit_address1_6->text();
- fprintf( fptr,"%s\t",str_frm1.latin1() );
- fprintf( fptr,"%s\t",str_frm2.latin1() );
- fprintf( fptr,"%s\t",str_frm3.latin1() );
- fprintf( fptr,"%s\t",str_frm4.latin1() );
- fprintf( fptr,"%s\t",str_frm5.latin1() );
- fprintf( fptr,"%s\t",str_frm6.latin1() );
- fprintf( fptr,"%s\t",str_frm7.latin1() );
- fprintf( fptr,"%s\t",str_frm8.latin1() );
- fprintf( fptr,"%s\t",str_frm9.latin1() );
- fprintf( fptr,"%s\t",str_frm10.latin1() );
- fprintf( fptr,"%s\t",str_frm11.latin1() );
- fprintf( fptr,"%s\t",str_frm12.latin1() );
- fprintf( fptr,"%s\t",str_frm13.latin1() );
- fprintf( fptr,"%s\t",str_frm14.latin1() );
- fprintf( fptr,"%s\t",str_frm15.latin1() );
- fprintf( fptr,"%s\t",str_frm16.latin1() );
+ QString str_add2_1 = lineedit_address2_1->text();
+ QString str_add2_2 = lineedit_address2_2->text();
+ QString str_add2_3 = lineedit_address2_3->text();
+ QString str_add2_4 = lineedit_address2_4->text();
+ QString str_add2_5 = lineedit_address2_5->text();
+ QString str_add2_6 = lineedit_address2_6->text();
- fprintf( fptr,"%s\t",str_nav.latin1() );
+ QString str_add3_1 = lineedit_address3_1->text();
+ QString str_add3_2 = lineedit_address3_2->text();
+ QString str_add3_3 = lineedit_address3_3->text();
+ QString str_add3_4 = lineedit_address3_4->text();
+ QString str_add3_5 = lineedit_address3_5->text();
+ QString str_add3_6 = lineedit_address3_6->text();
- fprintf( fptr,"%s\t",str_add1.latin1() );
- fprintf( fptr,"%s\t",str_add2.latin1() );
- fprintf( fptr,"%s\t",str_add3.latin1() );
- fprintf( fptr,"%s\t",str_add4.latin1() );
- fprintf( fptr,"%s\t",str_add5.latin1() );
- fprintf( fptr,"%s\t",str_add6.latin1() );
- fprintf( fptr,"%s\t",str_add2_1.latin1() );
- fprintf( fptr,"%s\t",str_add2_2.latin1() );
- fprintf( fptr,"%s\t",str_add2_3.latin1() );
- fprintf( fptr,"%s\t",str_add2_4.latin1() );
- fprintf( fptr,"%s\t",str_add2_5.latin1() );
- fprintf( fptr,"%s\t",str_add2_6.latin1() );
- fprintf( fptr,"%s\t",str_add3_1.latin1() );
- fprintf( fptr,"%s\t",str_add3_2.latin1() );
- fprintf( fptr,"%s\t",str_add3_3.latin1() );
- fprintf( fptr,"%s\t",str_add3_4.latin1() );
- fprintf( fptr,"%s\t",str_add3_5.latin1() );
- fprintf( fptr,"%s\t",str_add3_6.latin1() );
+ QString str_frag_no = lineedit_frag_no->text();
+ QString str_seq_no = lineedit_seq_no->text();
- fprintf( fptr,"%s\t",str_frag_no.latin1() );
- fprintf( fptr,"%s\t",str_seq_no.latin1() );
- fprintf( fptr,"%s\t",str_msdu_size.latin1() );
+ QString str_msdu_size = lineedit_msdu_size->text();
- fclose( fptr );
+ fprintf(fptr, "%s\t", str_frm1.latin1());
+ fprintf(fptr, "%s\t", str_frm2.latin1());
+ fprintf(fptr, "%s\t", str_frm3.latin1());
+ fprintf(fptr, "%s\t", str_frm4.latin1());
+ fprintf(fptr, "%s\t", str_frm5.latin1());
+ fprintf(fptr, "%s\t", str_frm6.latin1());
+ fprintf(fptr, "%s\t", str_frm7.latin1());
+ fprintf(fptr, "%s\t", str_frm8.latin1());
+ fprintf(fptr, "%s\t", str_frm9.latin1());
+ fprintf(fptr, "%s\t", str_frm10.latin1());
+ fprintf(fptr, "%s\t", str_frm11.latin1());
+ fprintf(fptr, "%s\t", str_frm12.latin1());
+ fprintf(fptr, "%s\t", str_frm13.latin1());
+ fprintf(fptr, "%s\t", str_frm14.latin1());
+ fprintf(fptr, "%s\t", str_frm15.latin1());
+ fprintf(fptr, "%s\t", str_frm16.latin1());
+
+ fprintf(fptr, "%s\t", str_nav.latin1());
+
+ fprintf(fptr, "%s\t", str_add1.latin1());
+ fprintf(fptr, "%s\t", str_add2.latin1());
+ fprintf(fptr, "%s\t", str_add3.latin1());
+ fprintf(fptr, "%s\t", str_add4.latin1());
+ fprintf(fptr, "%s\t", str_add5.latin1());
+ fprintf(fptr, "%s\t", str_add6.latin1());
+ fprintf(fptr, "%s\t", str_add2_1.latin1());
+ fprintf(fptr, "%s\t", str_add2_2.latin1());
+ fprintf(fptr, "%s\t", str_add2_3.latin1());
+ fprintf(fptr, "%s\t", str_add2_4.latin1());
+ fprintf(fptr, "%s\t", str_add2_5.latin1());
+ fprintf(fptr, "%s\t", str_add2_6.latin1());
+ fprintf(fptr, "%s\t", str_add3_1.latin1());
+ fprintf(fptr, "%s\t", str_add3_2.latin1());
+ fprintf(fptr, "%s\t", str_add3_3.latin1());
+ fprintf(fptr, "%s\t", str_add3_4.latin1());
+ fprintf(fptr, "%s\t", str_add3_5.latin1());
+ fprintf(fptr, "%s\t", str_add3_6.latin1());
+
+ fprintf(fptr, "%s\t", str_frag_no.latin1());
+ fprintf(fptr, "%s\t", str_seq_no.latin1());
+ fprintf(fptr, "%s\t", str_msdu_size.latin1());
+
+ fclose(fptr);
}
#include "data_dataframe_cpp.moc"
Modified: frame_injection_g/trunk/src/data_qos_data_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/data_qos_data_cpp.cpp 2010-03-15 15:55:40 UTC (rev 241)
+++ frame_injection_g/trunk/src/data_qos_data_cpp.cpp 2010-03-17 14:59:14 UTC (rev 242)
@@ -26,11 +26,9 @@
#include <kmessagebox.h>
#include <qvalidator.h>
#include <qstring.h>
-#include <string.h>
#include <qcheckbox.h>
#include <qradiobutton.h>
#include <qpushbutton.h>
-#include <unistd.h>
#include <qfile.h>
#include <stdlib.h>
#include "mac_80211.h"
@@ -379,17 +377,17 @@
temp_txop_char[0]
};
- int size_ctrl_hdr_arr1= sizeof( control_header_arr1 );
+ int frame_len = sizeof( control_header_arr1 );
unsigned char *control_header_arr;
- control_header_arr=( unsigned char* ) malloc( size_ctrl_hdr_arr1* ( sizeof( unsigned char ) ) );
+ control_header_arr=( unsigned char* ) malloc( frame_len* ( sizeof( unsigned char ) ) );
if ( control_header_arr == NULL )
{
printf( "Unable to allocate memory...\n" );
exit( 1 );
}
- for ( i =0;i < size_ctrl_hdr_arr1; i++ )
+ for ( i =0;i < frame_len; i++ )
control_header_arr[i]=control_header_arr1[i];
int msdu_size=lineedit_msdu_size->text().toInt();
@@ -397,14 +395,30 @@
{
/* Payload size is 0, then make it NULL frame */
control_header_arr[0] |= 0x40;
- func_qos_call( control_header_arr, size_ctrl_hdr_arr1 );
+ func_qos_call( control_header_arr, frame_len );
}
else
{
// Payload is...
[truncated message content] |
|
From: <sat...@us...> - 2010-03-15 15:55:53
|
Revision: 241
http://w-meter.svn.sourceforge.net/w-meter/?rev=241&view=rev
Author: sathakselva
Date: 2010-03-15 15:55:40 +0000 (Mon, 15 Mar 2010)
Log Message:
-----------
Makefile.in added
Added Paths:
-----------
frame_injection_g/trunk/Makefile.in
Added: frame_injection_g/trunk/Makefile.in
===================================================================
--- frame_injection_g/trunk/Makefile.in (rev 0)
+++ frame_injection_g/trunk/Makefile.in 2010-03-15 15:55:40 UTC (rev 241)
@@ -0,0 +1,732 @@
+# Makefile.in generated by automake 1.6.3 from Makefile.am.
+# KDE tags expanded automatically by am_edit - $Revision: 483858 $
+# @configure_input@
+
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+# Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+SHELL = @SHELL@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = .
+
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOMAKE = @AUTOMAKE@
+AUTOHEADER = @AUTOHEADER@
+
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = @program_transform_name@
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_alias = @build_alias@
+build_triplet = @build@
+host_alias = @host_alias@
+host_triplet = @host@
+target_alias = @target_alias@
+target_triplet = @target@
+
+EXEEXT = @EXEEXT@
+OBJEXT = @OBJEXT@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTSCCONFIG = @ARTSCCONFIG@
+AS = @AS@
+AUTODIRS = @AUTODIRS@
+AWK = @AWK@
+CC = @CC@
+CONF_FILES = @CONF_FILES@
+CPP = @CPP@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+DCOPIDL = @DCOPIDL@
+DCOPIDL2CPP = @DCOPIDL2CPP@
+DCOPIDLNG = @DCOPIDLNG@
+DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DOXYGEN_PROJECT_NAME = @DOXYGEN_PROJECT_NAME@
+DOXYGEN_PROJECT_NUMBER = @DOXYGEN_PROJECT_NUMBER@
+DPMSINC = @DPMSINC@
+DPMSLIB = @DPMSLIB@
+ECHO = @ECHO@
+EGREP = @EGREP@
+ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
+EXR_FLAGS = @EXR_FLAGS@
+F77 = @F77@
+FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+GCJ = @GCJ@
+GCJFLAGS = @GCJFLAGS@
+GLINC = @GLINC@
+GLLIB = @GLLIB@
+GMSGFMT = @GMSGFMT@
+HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+JAR = @JAR@
+JAVAC = @JAVAC@
+JAVAH = @JAVAH@
+JVMLIBS = @JVMLIBS@
+KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
+KCONFIG_COMPILER = @KCONFIG_COMPILER@
+KDECONFIG = @KDECONFIG@
+KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
+KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+KDE_HAS_DOXYGEN = @KDE_HAS_DOXYGEN@
+KDE_HAVE_DOT = @KDE_HAVE_DOT@
+KDE_INCLUDES = @KDE_INCLUDES@
+KDE_LDFLAGS = @KDE_LDFLAGS@
+KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
+KDE_MT_LIBS = @KDE_MT_LIBS@
+KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@
+KDE_PLUGIN = @KDE_PLUGIN@
+KDE_RPATH = @KDE_RPATH@
+KDE_USE_CLOSURE_FALSE = @KDE_USE_CLOSURE_FALSE@
+KDE_USE_CLOSURE_TRUE = @KDE_USE_CLOSURE_TRUE@
+KDE_USE_FINAL_FALSE = @KDE_USE_FINAL_FALSE@
+KDE_USE_FINAL_TRUE = @KDE_USE_FINAL_TRUE@
+KDE_USE_FPIE = @KDE_USE_FPIE@
+KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@
+KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
+KDE_USE_PIE = @KDE_USE_PIE@
+KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
+LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
+LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
+LEX = @LEX@
+LEXLIB = @LEXLIB@
+LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBBZ2 = @LIBBZ2@
+LIBCOMPAT = @LIBCOMPAT@
+LIBCRYPT = @LIBCRYPT@
+LIBDL = @LIBDL@
+LIBGEN = @LIBGEN@
+LIBJPEG = @LIBJPEG@
+LIBOBJS = @LIBOBJS@
+LIBPNG = @LIBPNG@
+LIBPTHREAD = @LIBPTHREAD@
+LIBPYTHON = @LIBPYTHON@
+LIBQIMGIO = @LIBQIMGIO@
+LIBRESOLV = @LIBRESOLV@
+LIBSHADOW = @LIBSHADOW@
+LIBSM = @LIBSM@
+LIBSOCKET = @LIBSOCKET@
+LIBSSL = @LIBSSL@
+LIBTIFF = @LIBTIFF@
+LIBTOOL = @LIBTOOL@
+LIBUCB = @LIBUCB@
+LIBUTIL = @LIBUTIL@
+LIBZ = @LIBZ@
+LIB_EXR = @LIB_EXR@
+LIB_JASPER = @LIB_JASPER@
+LIB_KAB = @LIB_KAB@
+LIB_KABC = @LIB_KABC@
+LIB_KDECORE = @LIB_KDECORE@
+LIB_KDED = @LIB_KDED@
+LIB_KDEPIM = @LIB_KDEPIM@
+LIB_KDEPRINT = @LIB_KDEPRINT@
+LIB_KDEUI = @LIB_KDEUI@
+LIB_KDNSSD = @LIB_KDNSSD@
+LIB_KFILE = @LIB_KFILE@
+LIB_KFM = @LIB_KFM@
+LIB_KHTML = @LIB_KHTML@
+LIB_KIMPROXY = @LIB_KIMPROXY@
+LIB_KIO = @LIB_KIO@
+LIB_KJS = @LIB_KJS@
+LIB_KNEWSTUFF = @LIB_KNEWSTUFF@
+LIB_KPARTS = @LIB_KPARTS@
+LIB_KSPELL = @LIB_KSPELL@
+LIB_KSYCOCA = @LIB_KSYCOCA@
+LIB_KUNITTEST = @LIB_KUNITTEST@
+LIB_KUTILS = @LIB_KUTILS@
+LIB_POLL = @LIB_POLL@
+LIB_QPE = @LIB_QPE@
+LIB_QT = @LIB_QT@
+LIB_QTOPIA = @LIB_QTOPIA@
+LIB_SMB = @LIB_SMB@
+LIB_X11 = @LIB_X11@
+LIB_XEXT = @LIB_XEXT@
+LIB_XRENDER = @LIB_XRENDER@
+LN_S = @LN_S@
+MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
+MCOPIDL = @MCOPIDL@
+MEINPROC = @MEINPROC@
+MOC = @MOC@
+MSGFMT = @MSGFMT@
+NOOPT_CFLAGS = @NOOPT_CFLAGS@
+NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
+OBJC = @OBJC@
+OBJCFLAGS = @OBJCFLAGS@
+OBJDUMP = @OBJDUMP@
+PACKAGE = @PACKAGE@
+PAMLIBS = @PAMLIBS@
+PASSWDLIBS = @PASSWDLIBS@
+PERL = @PERL@
+PKG_CONFIG = @PKG_CONFIG@
+PYTHONINC = @PYTHONINC@
+PYTHONLIB = @PYTHONLIB@
+PYTHONMODDIR = @PYTHONMODDIR@
+QTDOCDIR = @QTDOCDIR@
+QTE_NORTTI = @QTE_NORTTI@
+QTOPIA_INCLUDES = @QTOPIA_INCLUDES@
+QT_INCLUDES = @QT_INCLUDES@
+QT_LDFLAGS = @QT_LDFLAGS@
+RANLIB = @RANLIB@
+RC = @RC@
+SETUIDFLAGS = @SETUIDFLAGS@
+SSL_INCLUDES = @SSL_INCLUDES@
+SSL_LDFLAGS = @SSL_LDFLAGS@
+STRIP = @STRIP@
+TOPSUBDIRS = @TOPSUBDIRS@
+UIC = @UIC@
+UIC_TR = @UIC_TR@
+USER_INCLUDES = @USER_INCLUDES@
+USER_LDFLAGS = @USER_LDFLAGS@
+USE_EXCEPTIONS = @USE_EXCEPTIONS@
+USE_RTTI = @USE_RTTI@
+USE_THREADS = @USE_THREADS@
+VERSION = @VERSION@
+WOVERLOADED_VIRTUAL = @WOVERLOADED_VIRTUAL@
+XGETTEXT = @XGETTEXT@
+XMLLINT = @XMLLINT@
+XPMINC = @XPMINC@
+XPMLIB = @XPMLIB@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_INCLUDES = @X_INCLUDES@
+X_LDFLAGS = @X_LDFLAGS@
+X_PRE_LIBS = @X_PRE_LIBS@
+X_RPATH = @X_RPATH@
+all_includes = @all_includes@
+all_libraries = @all_libraries@
+am__include = @am__include@
+am__quote = @am__quote@
+install_sh = @install_sh@
+jni_includes = @jni_includes@
+kde_appsdir = @kde_appsdir@
+kde_bindir = @kde_bindir@
+kde_confdir = @kde_confdir@
+kde_datadir = @kde_datadir@
+kde_htmldir = @kde_htmldir@
+kde_icondir = @kde_icondir@
+kde_includes = @kde_includes@
+kde_kcfgdir = @kde_kcfgdir@
+kde_libraries = @kde_libraries@
+kde_libs_htmldir = @kde_libs_htmldir@
+kde_libs_prefix = @kde_libs_prefix@
+kde_locale = @kde_locale@
+kde_mimedir = @kde_mimedir@
+kde_moduledir = @kde_moduledir@
+kde_qtver = @kde_qtver@
+kde_servicesdir = @kde_servicesdir@
+kde_servicetypesdir = @kde_servicetypesdir@
+kde_sounddir = @kde_sounddir@
+kde_styledir = @kde_styledir@
+kde_templatesdir = @kde_templatesdir@
+kde_wallpaperdir = @kde_wallpaperdir@
+kde_widgetdir = @kde_widgetdir@
+kdeinitdir = @kdeinitdir@
+qt_includes = @qt_includes@
+qt_libraries = @qt_libraries@
+x_includes = @x_includes@
+x_libraries = @x_libraries@
+xdg_appsdir = @xdg_appsdir@
+xdg_directorydir = @xdg_directorydir@
+xdg_menudir = @xdg_menudir@
+SUBDIRS = $(TOPSUBDIRS)
+
+MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
+
+EXTRA_DIST = admin COPYING configure.in.in
+subdir = .
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = config.h
+CONFIG_CLEAN_FILES =
+DIST_SOURCES =
+
+#>- RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
+#>- uninstall-info-recursive all-recursive install-data-recursive \
+#>- install-exec-recursive installdirs-recursive install-recursive \
+#>- uninstall-recursive check-recursive installcheck-recursive
+#>+ 4
+RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
+ uninstall-info-recursive all-recursive install-data-recursive \
+ install-exec-recursive installdirs-recursive install-recursive \
+ uninstall-recursive check-recursive installcheck-recursive nmcheck-recursive bcheck-recursive
+DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
+ Makefile.in NEWS TODO acinclude.m4 aclocal.m4 admin/compile \
+ admin/config.guess admin/config.sub admin/depcomp \
+ admin/install-sh admin/ltmain.sh admin/missing \
+ admin/mkinstalldirs admin/ylwrap config.h.in configure \
+ configure.in
+DIST_SUBDIRS = $(SUBDIRS)
+#>- all: config.h
+#>+ 1
+all: docs-am config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+.SUFFIXES:
+
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
+#>- cd $(top_srcdir) && \
+#>- $(AUTOMAKE) --gnu Makefile
+#>+ 3
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu Makefile
+ cd $(top_srcdir) && perl admin/am_edit Makefile.in
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
+
+$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ $(SHELL) ./config.status --recheck
+$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
+#>- cd $(srcdir) && $(AUTOCONF)
+#>+ 2
+ cd $(srcdir) && rm -f configure
+ cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure
+
+$(ACLOCAL_M4): configure.in acinclude.m4
+ cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+
+config.h: stamp-h1
+ @if test ! -f $@; then \
+ rm -f stamp-h1; \
+ $(MAKE) stamp-h1; \
+ else :; fi
+
+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
+ @rm -f stamp-h1
+ cd $(top_builddir) && $(SHELL) ./config.status config.h
+
+$(srcdir)/config.h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ cd $(top_srcdir) && $(AUTOHEADER)
+ touch $(srcdir)/config.h.in
+
+distclean-hdr:
+ -rm -f config.h stamp-h1
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+# (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+$(RECURSIVE_TARGETS):
+ @set fnord $$MAKEFLAGS; amf=$$2; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+mostlyclean-recursive clean-recursive distclean-recursive \
+maintainer-clean-recursive:
+ @set fnord $$MAKEFLAGS; amf=$$2; \
+ dot_seen=no; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ rev=''; for subdir in $$list; do \
+ if test "$$subdir" = "."; then :; else \
+ rev="$$subdir $$rev"; \
+ fi; \
+ done; \
+ rev="$$rev ."; \
+ target=`echo $@ | sed s/-recursive//`; \
+ for subdir in $$rev; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ done && test -z "$$fail"
+tags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+ done
+
+ETAGS = etags
+ETAGSFLAGS =
+
+tags: TAGS
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ mkid -fID $$unique
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+
+top_distdir = .
+distdir = $(PACKAGE)-$(VERSION)
+
+am__remove_distdir = \
+ { test ! -d $(distdir) \
+ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
+ && rm -fr $(distdir); }; }
+
+GZIP_ENV = --best
+distcleancheck_listfiles = find . -type f -print
+
+distdir: $(DISTFILES)
+ $(am__remove_distdir)
+ mkdir $(distdir)
+ $(mkinstalldirs) $(distdir)/admin
+ @list='$(DISTFILES)'; for file in $$list; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkinstalldirs) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test -d $(distdir)/$$subdir \
+ || mkdir $(distdir)/$$subdir \
+ || exit 1; \
+ (cd $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$(top_distdir)" \
+ distdir=../$(distdir)/$$subdir \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="${top_distdir}" distdir="$(distdir)" \
+ dist-hook
+ -find $(distdir) -type d ! -perm -755 -exec chmod u+rwx,go+rx {} \; -o \
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
+ || chmod -R a+r $(distdir)
+dist-gzip: distdir
+ $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ $(am__remove_distdir)
+
+dist dist-all: distdir
+ $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ $(am__remove_distdir)
+
+# This target untars the dist file and tries a VPATH configuration. Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+ $(am__remove_distdir)
+ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
+ chmod -R a-w $(distdir); chmod a+w $(distdir)
+ mkdir $(distdir)/=build
+ mkdir $(distdir)/=inst
+ chmod a-w $(distdir)
+ dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
+ && cd $(distdir)/=build \
+ && ../configure --srcdir=.. --prefix=$$dc_install_base \
+ $(DISTCHECK_CONFIGURE_FLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
+ && $(MAKE) $(AM_MAKEFLAGS) check \
+ && $(MAKE) $(AM_MAKEFLAGS) install \
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
+ || { echo "ERROR: files left after uninstall:" ; \
+ find $$dc_install_base -type f -print ; \
+ exit 1; } >&2 ) \
+ && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
+ && rm -f $(distdir).tar.gz \
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
+ $(am__remove_distdir)
+ @echo "$(distdir).tar.gz is ready for distribution" | \
+ sed 'h;s/./=/g;p;x;p;x'
+distcleancheck: distclean
+ if test '$(srcdir)' = . ; then \
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
+ exit 1 ; \
+ fi
+ test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left after distclean:" ; \
+ $(distcleancheck_listfiles) ; \
+ exit 1; } >&2
+check-am: all-am
+check: check-recursive
+all-am: Makefile config.h
+installdirs: installdirs-recursive
+installdirs-am:
+
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -rm -f Makefile $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+ -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
+#>- clean: clean-recursive
+#>+ 1
+clean: kde-rpo-clean clean-recursive
+
+#>- clean-am: clean-generic clean-libtool mostlyclean-am
+#>+ 1
+clean-am: clean-bcheck clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+distclean-am: clean-am distclean-generic distclean-hdr distclean-libtool \
+ distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-recursive
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -rf autom4te.cache
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+uninstall-am: uninstall-info-am
+
+uninstall-info: uninstall-info-recursive
+
+.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
+ clean-generic clean-libtool clean-recursive dist dist-all \
+ dist-gzip distcheck distclean distclean-generic distclean-hdr \
+ distclean-libtool distclean-recursive distclean-tags \
+ distcleancheck distdir dvi dvi-am dvi-recursive info info-am \
+ info-recursive install install-am install-data install-data-am \
+ install-data-recursive install-exec install-exec-am \
+ install-exec-recursive install-info install-info-am \
+ install-info-recursive install-man install-recursive \
+ install-strip installcheck installcheck-am installdirs \
+ installdirs-am installdirs-recursive maintainer-clean \
+ maintainer-clean-generic maintainer-clean-recursive mostlyclean \
+ mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
+ tags tags-recursive uninstall uninstall-am uninstall-info-am \
+ uninstall-info-recursive uninstall-recursive
+
+
+$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
+ cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
+
+$(top_srcdir)/subdirs:
+ cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
+
+$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
+ @cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
+
+package-messages:
+ cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common package-messages
+ $(MAKE) -C po merge
+
+dist-hook:
+ cd $(top_distdir) && perl admin/am_edit -padmin
+ cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
+
+#>+ 2
+KDE_DIST=injection.kdevses subdirs ipheader configure.files install.sh Makefile.cvs Doxyfile injection.kdevelop injection.kdevelop.pcs
+
+#>+ 2
+docs-am:
+
+#>+ 6
+force-reedit:
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu Makefile
+ cd $(top_srcdir) && perl admin/am_edit Makefile.in
+
+
+#>+ 21
+clean-bcheck:
+ rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
+
+bcheck: bcheck-recursive
+
+bcheck-am:
+ @for i in ; do \
+ if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
+ echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
+ echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
+ echo "$$i"; \
+ if ! $(CXX) $(DEFS) -I. -I$(srcdir) -I$(top_builddir) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
+ rm -f $$i.bchecktest.cc; exit 1; \
+ fi ; \
+ echo "" >> $$i.bchecktest.cc.class; \
+ perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
+ rm -f a.out; \
+ fi ; \
+ done
+
+
+#>+ 3
+final:
+ $(MAKE) all-am
+
+#>+ 3
+final-install:
+ $(MAKE) install-am
+
+#>+ 3
+no-final:
+ $(MAKE) all-am
+
+#>+ 3
+no-final-install:
+ $(MAKE) install-am
+
+#>+ 3
+kde-rpo-clean:
+ -rm -f *.rpo
+
+#>+ 3
+nmcheck:
+nmcheck-am: nmcheck
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <sat...@us...> - 2010-03-15 15:29:04
|
Revision: 240
http://w-meter.svn.sourceforge.net/w-meter/?rev=240&view=rev
Author: sathakselva
Date: 2010-03-15 15:28:57 +0000 (Mon, 15 Mar 2010)
Log Message:
-----------
configure.in file added
Added Paths:
-----------
frame_injection_g/trunk/configure.in
Added: frame_injection_g/trunk/configure.in
===================================================================
--- frame_injection_g/trunk/configure.in (rev 0)
+++ frame_injection_g/trunk/configure.in 2010-03-15 15:28:57 UTC (rev 240)
@@ -0,0 +1,123 @@
+dnl =======================================================
+dnl FILE: ./admin/configure.in.min
+dnl =======================================================
+
+dnl This file is part of the KDE libraries/packages
+dnl Copyright (C) 2001 Stephan Kulow (co...@kd...)
+
+dnl This file is free software; you can redistribute it and/or
+dnl modify it under the terms of the GNU Library General Public
+dnl License as published by the Free Software Foundation; either
+dnl version 2 of the License, or (at your option) any later version.
+
+dnl This library is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+dnl Library General Public License for more details.
+
+dnl You should have received a copy of the GNU Library General Public License
+dnl along with this library; see the file COPYING.LIB. If not, write to
+dnl the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+dnl Boston, MA 02110-1301, USA.
+
+# Original Author was Ka...@kd...
+# I lifted it in some mater. (Stephan Kulow)
+# I used much code from Janos Farkas
+
+dnl Process this file with autoconf to produce a configure script.
+
+AC_INIT(acinclude.m4) dnl a source file from your sub dir
+
+dnl This is so we can use kde-common
+AC_CONFIG_AUX_DIR(admin)
+
+dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
+unset CDPATH
+
+dnl Checking host/target/build systems, for make, install etc.
+AC_CANONICAL_SYSTEM
+dnl Perform program name transformation
+AC_ARG_PROGRAM
+
+dnl Automake doc recommends to do this only here. (Janos)
+AM_INIT_AUTOMAKE(injection, 0.1) dnl searches for some needed programs
+
+KDE_SET_PREFIX
+
+dnl generate the config header
+AM_CONFIG_HEADER(config.h) dnl at the distribution this done
+
+dnl Checks for programs.
+AC_CHECK_COMPILERS
+AC_ENABLE_SHARED(yes)
+AC_ENABLE_STATIC(no)
+KDE_PROG_LIBTOOL
+
+dnl for NLS support. Call them in this order!
+dnl WITH_NLS is for the po files
+AM_KDE_WITH_NLS
+
+KDE_USE_QT(3.2.0)
+AC_PATH_KDE
+dnl =======================================================
+dnl FILE: configure.in.in
+dnl =======================================================
+
+#MIN_CONFIG(3.2.0)
+
+dnl PACKAGE set before
+AC_C_BIGENDIAN
+AC_CHECK_KDEMAXPATHLEN
+
+KDE_CREATE_SUBDIRSLIST
+AC_CONFIG_FILES([ Makefile ])
+AC_CONFIG_FILES([ doc/Makefile ])
+AC_CONFIG_FILES([ doc/en/Makefile ])
+AC_CONFIG_FILES([ po/Makefile ])
+AC_CONFIG_FILES([ src/Makefile ])
+AC_OUTPUT
+# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
+if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
+ # And if so, warn when they don't match
+ if test "$kde_libs_prefix" != "$given_prefix"; then
+ # And if kde doesn't know about the prefix yet
+ echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
+ if test $? -ne 0; then
+ echo ""
+ echo "Warning: you chose to install this package in $given_prefix,"
+ echo "but KDE was found in $kde_libs_prefix."
+ echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
+ echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
+ echo "Then restart KDE."
+ echo ""
+ fi
+ fi
+fi
+
+if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
+ echo ""
+ echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
+ echo "was not included. Therefore, GCC symbol visibility support remains disabled."
+ echo ""
+ echo "For better performance, consider including the Qt visibility supporting patch"
+ echo "located at:"
+ echo ""
+ echo "http://bugs.kde.org/show_bug.cgi?id=109386"
+ echo ""
+ echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
+ echo "everything will continue to work just fine without it."
+ echo ""
+fi
+
+if test "$all_tests" = "bad"; then
+ if test ! "$cache_file" = "/dev/null"; then
+ echo ""
+ echo "Please remove the file $cache_file after changing your setup"
+ echo "so that configure will find the changes next time."
+ echo ""
+ fi
+else
+ echo ""
+ echo "Good - your configure finished. Start make now"
+ echo ""
+fi
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <sat...@us...> - 2010-03-15 15:28:03
|
Revision: 239
http://w-meter.svn.sourceforge.net/w-meter/?rev=239&view=rev
Author: sathakselva
Date: 2010-03-15 15:27:54 +0000 (Mon, 15 Mar 2010)
Log Message:
-----------
formatting style modified for PS-Poll frame
Modified Paths:
--------------
frame_injection_g/trunk/injection.kdevelop
frame_injection_g/trunk/src/Data_Qos_data.h
frame_injection_g/trunk/src/control_pspoll_cpp.cpp
frame_injection_g/trunk/src/control_pspoll_cpp.moc
frame_injection_g/trunk/src/inj_control_pspoll.h
frame_injection_g/trunk/src/inj_mgmt_association_form.h
frame_injection_g/trunk/src/management_form.h
frame_injection_g/trunk/src/mgmt_asso_response.h
frame_injection_g/trunk/src/mgmt_authen.h
frame_injection_g/trunk/src/mgmt_deauthentication.h
frame_injection_g/trunk/src/mgmt_probe_request.h
Modified: frame_injection_g/trunk/injection.kdevelop
===================================================================
--- frame_injection_g/trunk/injection.kdevelop 2010-03-15 14:11:41 UTC (rev 238)
+++ frame_injection_g/trunk/injection.kdevelop 2010-03-15 15:27:54 UTC (rev 239)
@@ -16,8 +16,8 @@
<projectname>injection</projectname>
<projectdirectory>.</projectdirectory>
<absoluteprojectpath>false</absoluteprojectpath>
- <description/>
- <defaultencoding/>
+ <description></description>
+ <defaultencoding></defaultencoding>
<versioncontrol/>
</general>
<kdevcppsupport>
@@ -55,7 +55,7 @@
<includePaths>.;</includePaths>
</codecompletion>
<creategettersetter>
- <prefixGet/>
+ <prefixGet></prefixGet>
<prefixSet>set</prefixSet>
<prefixVariable>m_,_</prefixVariable>
<parameterName>theValue</parameterName>
@@ -232,10 +232,10 @@
<kdevdebugger>
<general>
<dbgshell>libtool</dbgshell>
- <gdbpath/>
- <configGdbScript/>
- <runShellScript/>
- <runGdbScript/>
+ <gdbpath></gdbpath>
+ <configGdbScript></configGdbScript>
+ <runShellScript></runShellScript>
+ <runGdbScript></runGdbScript>
<breakonloadinglibs>true</breakonloadinglibs>
<separatetty>false</separatetty>
<floatingtoolbar>false</floatingtoolbar>
Modified: frame_injection_g/trunk/src/Data_Qos_data.h
===================================================================
--- frame_injection_g/trunk/src/Data_Qos_data.h 2010-03-15 14:11:41 UTC (rev 238)
+++ frame_injection_g/trunk/src/Data_Qos_data.h 2010-03-15 15:27:54 UTC (rev 239)
@@ -1,132 +1,131 @@
-/****************************************************************************
-** Form interface generated from reading ui file './Data_Qos_data.ui'
-**
-** Created by User Interface Compiler
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-
-#ifndef DATA_QOS_DATA_H
-#define DATA_QOS_DATA_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-
-class QVBoxLayout;
-class QHBoxLayout;
-class QGridLayout;
-class QSpacerItem;
-class QFrame;
-class QGroupBox;
-class QLineEdit;
-class QLabel;
-class QComboBox;
-class QPushButton;
-class QButtonGroup;
-class QRadioButton;
-
-class Data_Qos_data : public QWidget
-{
- Q_OBJECT
-
-public:
- Data_Qos_data( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
- ~Data_Qos_data();
-
- QFrame* frame4;
- QGroupBox* groupBox1;
- QLineEdit* lineedit_frame_4;
- QLineEdit* lineedit_frame_6;
- QLineEdit* lineedit_frame_2;
- QLineEdit* lineedit_frame_7;
- QLineEdit* lineedit_frame_8;
- QLineEdit* lineedit_frame_3;
- QLineEdit* lineedit_frame_5;
- QLabel* bit_position;
- QLabel* textLabel2_2;
- QLabel* textLabel3_2;
- QLabel* textLabel2;
- QLabel* textLabel1;
- QLineEdit* lineedit_frame_14;
- QLineEdit* lineedit_frame_11;
- QLineEdit* lineedit_frame_12;
- QLineEdit* lineedit_frame_10;
- QLineEdit* lineedit_frame_15;
- QLineEdit* lineedit_frame_9;
- QLineEdit* lineedit_frame_16;
- QLineEdit* lineedit_frame_13;
- QGroupBox* groupBox2;
- QLabel* textLabel1_2;
- QLabel* textLabel2_3;
- QLineEdit* lineedit_frag_no;
- QLineEdit* lineedit_seq_no;
- QGroupBox* groupBox16;
- QLineEdit* lineedit_address1_4;
- QLineEdit* lineedit_address1_6;
- QLineEdit* lineedit_address1_5;
- QLineEdit* lineedit_address1_1;
- QLineEdit* lineedit_address1_3;
- QLineEdit* lineedit_address1_2;
- QLabel* textLabel4;
- QLabel* textLabel4_2;
- QLineEdit* lineedit_address2_6;
- QLineEdit* lineedit_address2_5;
- QLineEdit* lineedit_address2_4;
- QLineEdit* lineedit_address2_3;
- QLineEdit* lineedit_address2_2;
- QLineEdit* lineedit_address2_1;
- QLineEdit* lineedit_address3_6;
- QLineEdit* lineedit_address3_1;
- QLineEdit* lineedit_address3_3;
- QLineEdit* lineedit_address3_2;
- QLineEdit* lineedit_address3_4;
- QLineEdit* lineedit_address3_5;
- QLabel* textLabel3;
- QLineEdit* lineedit_NAV;
- QLineEdit* lineedit_frame_1;
- QGroupBox* groupBox4;
- QLabel* textLabel8;
- QLabel* textLabel3_3_2;
- QLabel* textLabel4_3_2;
- QLabel* textLabel5;
- QLabel* textLabel9;
- QComboBox* combobox_TID;
- QLineEdit* lineedit_EOSP;
- QLineEdit* lineedit_txop;
- QComboBox* combobox_Ack_policy;
- QComboBox* combobox_payload;
- QGroupBox* groupBox6;
- QPushButton* qos_run_button;
- QPushButton* qos_mainwin_button;
- QPushButton* qos_clear_button;
- QPushButton* qos_save_button;
- QPushButton* qos_default_button;
- QGroupBox* groupBox3;
- QLabel* textLabel1_3;
- QLineEdit* lineedit_msdu_size;
- QButtonGroup* buttonGroup1;
- QRadioButton* radiobutton_auto;
- QRadioButton* radiobutton_user_defined;
- QLabel* textLabel2_4;
- QLineEdit* lineedit_payload;
- QGroupBox* groupBox3_2;
- QLineEdit* lineedit_testid;
-
-public slots:
- virtual void data_qos_run_click();
- virtual void data_qos_clear_click();
- virtual void data_qos_main_win();
- virtual void data_qos_button_group();
- virtual void data_qos_msdu_change();
- virtual void data_qos_save_click();
- virtual void data_qos_default_click();
-
-protected:
-
-protected slots:
- virtual void languageChange();
-
-};
-
-#endif // DATA_QOS_DATA_H
-
+/****************************************************************************
+** Form interface generated from reading ui file './Data_Qos_data.ui'
+**
+** Created by User Interface Compiler
+**
+** WARNING! All changes made in this file will be lost!
+****************************************************************************/
+
+#ifndef DATA_QOS_DATA_H
+#define DATA_QOS_DATA_H
+
+#include <qvariant.h>
+#include <qwidget.h>
+
+class QVBoxLayout;
+class QHBoxLayout;
+class QGridLayout;
+class QSpacerItem;
+class QFrame;
+class QGroupBox;
+class QLineEdit;
+class QLabel;
+class QComboBox;
+class QPushButton;
+class QButtonGroup;
+class QRadioButton;
+
+class Data_Qos_data : public QWidget
+{
+ Q_OBJECT
+
+public:
+ Data_Qos_data( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
+ ~Data_Qos_data();
+
+ QFrame* frame4;
+ QGroupBox* groupBox1;
+ QLineEdit* lineedit_frame_4;
+ QLineEdit* lineedit_frame_6;
+ QLineEdit* lineedit_frame_2;
+ QLineEdit* lineedit_frame_7;
+ QLineEdit* lineedit_frame_8;
+ QLineEdit* lineedit_frame_3;
+ QLineEdit* lineedit_frame_5;
+ QLabel* bit_position;
+ QLabel* textLabel2_2;
+ QLabel* textLabel3_2;
+ QLabel* textLabel2;
+ QLabel* textLabel1;
+ QLineEdit* lineedit_frame_14;
+ QLineEdit* lineedit_frame_11;
+ QLineEdit* lineedit_frame_12;
+ QLineEdit* lineedit_frame_10;
+ QLineEdit* lineedit_frame_15;
+ QLineEdit* lineedit_frame_9;
+ QLineEdit* lineedit_frame_16;
+ QLineEdit* lineedit_frame_13;
+ QGroupBox* groupBox2;
+ QLabel* textLabel1_2;
+ QLabel* textLabel2_3;
+ QLineEdit* lineedit_frag_no;
+ QLineEdit* lineedit_seq_no;
+ QGroupBox* groupBox16;
+ QLineEdit* lineedit_address1_4;
+ QLineEdit* lineedit_address1_6;
+ QLineEdit* lineedit_address1_5;
+ QLineEdit* lineedit_address1_1;
+ QLineEdit* lineedit_address1_3;
+ QLineEdit* lineedit_address1_2;
+ QLabel* textLabel4;
+ QLabel* textLabel4_2;
+ QLineEdit* lineedit_address2_6;
+ QLineEdit* lineedit_address2_5;
+ QLineEdit* lineedit_address2_4;
+ QLineEdit* lineedit_address2_3;
+ QLineEdit* lineedit_address2_2;
+ QLineEdit* lineedit_address2_1;
+ QLineEdit* lineedit_address3_6;
+ QLineEdit* lineedit_address3_1;
+ QLineEdit* lineedit_address3_3;
+ QLineEdit* lineedit_address3_2;
+ QLineEdit* lineedit_address3_4;
+ QLineEdit* lineedit_address3_5;
+ QLabel* textLabel3;
+ QLineEdit* lineedit_NAV;
+ QLineEdit* lineedit_frame_1;
+ QGroupBox* groupBox4;
+ QLabel* textLabel8;
+ QLabel* textLabel3_3_2;
+ QLabel* textLabel4_3_2;
+ QLabel* textLabel5;
+ QLabel* textLabel9;
+ QComboBox* combobox_TID;
+ QLineEdit* lineedit_EOSP;
+ QLineEdit* lineedit_txop;
+ QComboBox* combobox_Ack_policy;
+ QComboBox* combobox_payload;
+ QGroupBox* groupBox6;
+ QPushButton* qos_run_button;
+ QPushButton* qos_mainwin_button;
+ QPushButton* qos_clear_button;
+ QPushButton* qos_save_button;
+ QPushButton* qos_default_button;
+ QGroupBox* groupBox3;
+ QLabel* textLabel1_3;
+ QLineEdit* lineedit_msdu_size;
+ QButtonGroup* buttonGroup1;
+ QRadioButton* radiobutton_auto;
+ QRadioButton* radiobutton_user_defined;
+ QLabel* textLabel2_4;
+ QLineEdit* lineedit_payload;
+ QGroupBox* groupBox3_2;
+ QLineEdit* lineedit_testid;
+
+public slots:
+ virtual void data_qos_run_click();
+ virtual void data_qos_clear_click();
+ virtual void data_qos_main_win();
+ virtual void data_qos_button_group();
+ virtual void data_qos_msdu_change();
+ virtual void data_qos_save_click();
+ virtual void data_qos_default_click();
+
+protected:
+
+protected slots:
+ virtual void languageChange();
+
+};
+
+#endif // DATA_QOS_DATA_H
Modified: frame_injection_g/trunk/src/control_pspoll_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/control_pspoll_cpp.cpp 2010-03-15 14:11:41 UTC (rev 238)
+++ frame_injection_g/trunk/src/control_pspoll_cpp.cpp 2010-03-15 15:27:54 UTC (rev 239)
@@ -25,76 +25,75 @@
#include "injection_main_cpp.h"
#include <qlineedit.h>
#include <qstring.h>
-#include <stdio.h>
-#include <unistd.h>
#include <kmessagebox.h>
#include <qvalidator.h>
#include <qpushbutton.h>
#include <qfile.h>
-#include <iostream>
#include <stdlib.h>
#include "mac_80211.h"
-uint16_t global_pspoll_flag=0;
+uint16_t global_pspoll_flag = 0;
char default_pspoll_file[] = "default_pspoll";
-control_pspoll_cpp::control_pspoll_cpp( QWidget* parent, const char* name, WFlags fl )
- : inj_control_pspoll( parent,name,fl )
+control_pspoll_cpp::control_pspoll_cpp(QWidget* parent, const char* name, WFlags fl)
+ : inj_control_pspoll(parent, name, fl)
{
- FILE *file1;
- char frame1[2], frame2[2], frame3[2], frame4[2], frame5[2], frame6[2], frame7[2], frame8[2], frame9[2], frame10[2], frame11[2], frame12[2], frame13[2], frame14[2], frame15[2], frame16[2], asso_id[5], add1[3], add2[3], add3[3], add4[3], add5[3], add6[3], add7[3], add8[3], add9[3], add10[3], add11[3], add12[3];
+ FILE *file1;
+ char frame1[2], frame2[2], frame3[2], frame4[2], frame5[2], frame6[2], frame7[2], frame8[2], frame9[2], frame10[2], frame11[2], frame12[2], frame13[2], frame14[2], frame15[2], frame16[2], asso_id[5], add1[3], add2[3], add3[3], add4[3], add5[3], add6[3], add7[3], add8[3], add9[3], add10[3], add11[3], add12[3];
- file1 = fopen( default_pspoll_file,"r" );
+ file1 = fopen(default_pspoll_file, "r");
- if ( file1==NULL )
- {
- KMessageBox::error( this,"Unable to open file. Loading initial values" );
- reset_ps_poll();
- }
- else
- {
- while ( fscanf( file1,"%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s", &frame1[0],&frame2[0],&frame3[0],&frame4[0],&frame5[0],&frame6[0],&frame7[0],&frame8[0],&frame9[0],&frame10[0],&frame11[0],&frame12[0],&frame13[0],&frame14[0],&frame15[0],&frame16[0],&asso_id[0],&add1[0],&add2[0],&add3[0],&add4[0],&add5[0],&add6[0],&add7[0],&add8[0],&add9[0],&add10[0],&add11[0],&add12[0] )!=EOF )
- {
+ if (file1 == NULL)
+ {
+ /* Cannot open. Load form with initial values */
+ KMessageBox::error(this, "Unable to open file. Loading initial values");
+ reset_ps_poll();
+ }
+ else
+ {
+ /* Read values from file and set in the form */
+ while (fscanf(file1, "%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s", &frame1[0], &frame2[0], &frame3[0], &frame4[0], &frame5[0], &frame6[0], &frame7[0], &frame8[0], &frame9[0], &frame10[0], &frame11[0], &frame12[0], &frame13[0], &frame14[0], &frame15[0], &frame16[0], &asso_id[0], &add1[0], &add2[0], &add3[0], &add4[0], &add5[0], &add6[0], &add7[0], &add8[0], &add9[0], &add10[0], &add11[0], &add12[0]) != EOF)
+ {
- lineedit_frame_1->setText( frame1 );
- lineedit_frame_2->setText( frame2 );
- lineedit_frame_3->setText( frame3 );
- lineedit_frame_4->setText( frame4 );
- lineedit_frame_5->setText( frame5 );
- lineedit_frame_6->setText( frame6 );
- lineedit_frame_7->setText( frame7 );
- lineedit_frame_8->setText( frame8 );
- lineedit_frame_9->setText( frame9 );
- lineedit_frame_10->setText( frame10 );
- lineedit_frame_11->setText( frame11 );
- lineedit_frame_12->setText( frame12 );
- lineedit_frame_13->setText( frame13 );
- lineedit_frame_14->setText( frame14 );
- lineedit_frame_15->setText( frame15 );
- lineedit_frame_16->setText( frame16 );
+ lineedit_frame_1->setText(frame1);
+ lineedit_frame_2->setText(frame2);
+ lineedit_frame_3->setText(frame3);
+ lineedit_frame_4->setText(frame4);
+ lineedit_frame_5->setText(frame5);
+ lineedit_frame_6->setText(frame6);
+ lineedit_frame_7->setText(frame7);
+ lineedit_frame_8->setText(frame8);
+ lineedit_frame_9->setText(frame9);
+ lineedit_frame_10->setText(frame10);
+ lineedit_frame_11->setText(frame11);
+ lineedit_frame_12->setText(frame12);
+ lineedit_frame_13->setText(frame13);
+ lineedit_frame_14->setText(frame14);
+ lineedit_frame_15->setText(frame15);
+ lineedit_frame_16->setText(frame16);
- lineedit_asso_id->setText( asso_id );
+ lineedit_asso_id->setText(asso_id);
- lineedit_address1_1->setText( add1 );
- lineedit_address1_2->setText( add2 );
- lineedit_address1_3->setText( add3 );
- lineedit_address1_4->setText( add4 );
- lineedit_address1_5->setText( add5 );
- lineedit_address1_6->setText( add6 );
+ lineedit_address1_1->setText(add1);
+ lineedit_address1_2->setText(add2);
+ lineedit_address1_3->setText(add3);
+ lineedit_address1_4->setText(add4);
+ lineedit_address1_5->setText(add5);
+ lineedit_address1_6->setText(add6);
- lineedit_address2_1->setText( add7 );
- lineedit_address2_2->setText( add8 );
- lineedit_address2_3->setText( add9 );
- lineedit_address2_4->setText( add10 );
- lineedit_address2_5->setText( add11 );
- lineedit_address2_6->setText( add12 );
- }
+ lineedit_address2_1->setText(add7);
+ lineedit_address2_2->setText(add8);
+ lineedit_address2_3->setText(add9);
+ lineedit_address2_4->setText(add10);
+ lineedit_address2_5->setText(add11);
+ lineedit_address2_6->setText(add12);
+ }
- fclose( file1 );
- }
+ fclose(file1);
+ }
- pspoll_run_button->setEnabled( 1 );
+ pspoll_run_button->setEnabled(1);
}
control_pspoll_cpp::~control_pspoll_cpp()
@@ -104,364 +103,363 @@
/*$SPECIALIZATION$*/
void control_pspoll_cpp::pspoll_main_win() //Event invoked after pressing Main_win push button
{
- pspoll_run_button->setEnabled( 1 );
- close();
+ pspoll_run_button->setEnabled(1);
+ close();
}
void control_pspoll_cpp::pspoll_clear_click()
{
- reset_ps_poll();
- pspoll_run_button->setEnabled( 1 );
+ reset_ps_poll();
+ pspoll_run_button->setEnabled(1);
}
void control_pspoll_cpp::pspoll_run_click() //Event invoked after pressing Run push button
{
- global_pspoll_flag=1;
- func_pspoll_hex_convertion();
+ global_pspoll_flag = 1;
+ func_pspoll_hex_convertion();
}
void control_pspoll_cpp::pspoll_default_click()
{
- global_pspoll_flag=2;
- func_pspoll_hex_convertion();
+ global_pspoll_flag = 2;
+ func_pspoll_hex_convertion();
}
void control_pspoll_cpp::pspoll_save_click()
{
- if ( lineedit_testid->text()!="" )
- {
- global_pspoll_flag=3;
- func_pspoll_hex_convertion();
- lineedit_testid->clear();
- }
- else
- QMessageBox::critical( this, tr( "Error" ), tr( "Test ID is empty" ) );
+ if (lineedit_testid->text() != "")
+ {
+ global_pspoll_flag = 3;
+ func_pspoll_hex_convertion();
+ lineedit_testid->clear();
+ }
+ else
+ QMessageBox::critical(this, tr("Error"), tr("Test ID is empty"));
}
void control_pspoll_cpp::func_pspoll_hex_convertion()
{
- mac_80211 mac;
- bool ok;
- //Qvalidator initialization
+ mac_80211 mac;
+ bool ok;
+ //Qvalidator initialization
- QRegExp rx( "[0-9A-Fa-f]{2}" );
- QRegExpValidator v( rx, this );
+ QRegExp rx("[0-9A-Fa-f]{2}");
+ QRegExpValidator v(rx, this);
- lineedit_address1_1->setValidator( &v );
- lineedit_address1_2->setValidator( &v );
- lineedit_address1_3->setValidator( &v );
- lineedit_address1_4->setValidator( &v );
- lineedit_address1_5->setValidator( &v );
- lineedit_address1_6->setValidator( &v );
- lineedit_address2_1->setValidator( &v );
- lineedit_address2_2->setValidator( &v );
- lineedit_address2_3->setValidator( &v );
- lineedit_address2_4->setValidator( &v );
- lineedit_address2_5->setValidator( &v );
- lineedit_address2_6->setValidator( &v );
+ lineedit_address1_1->setValidator(&v);
+ lineedit_address1_2->setValidator(&v);
+ lineedit_address1_3->setValidator(&v);
+ lineedit_address1_4->setValidator(&v);
+ lineedit_address1_5->setValidator(&v);
+ lineedit_address1_6->setValidator(&v);
+ lineedit_address2_1->setValidator(&v);
+ lineedit_address2_2->setValidator(&v);
+ lineedit_address2_3->setValidator(&v);
+ lineedit_address2_4->setValidator(&v);
+ lineedit_address2_5->setValidator(&v);
+ lineedit_address2_6->setValidator(&v);
- // address fields values to local variable
- QString add1_1=lineedit_address1_1->text();
- QString add1_2=lineedit_address1_2->text();
- QString add1_3=lineedit_address1_3->text();
- QString add1_4=lineedit_address1_4->text();
- QString add1_5=lineedit_address1_5->text();
- QString add1_6=lineedit_address1_6->text();
- QString add2_1=lineedit_address2_1->text();
- QString add2_2=lineedit_address2_2->text();
- QString add2_3=lineedit_address2_3->text();
- QString add2_4=lineedit_address2_4->text();
- QString add2_5=lineedit_address2_5->text();
- QString add2_6=lineedit_address2_6->text();
+ // address fields values to local variable
+ QString add1_1 = lineedit_address1_1->text();
+ QString add1_2 = lineedit_address1_2->text();
+ QString add1_3 = lineedit_address1_3->text();
+ QString add1_4 = lineedit_address1_4->text();
+ QString add1_5 = lineedit_address1_5->text();
+ QString add1_6 = lineedit_address1_6->text();
+ QString add2_1 = lineedit_address2_1->text();
+ QString add2_2 = lineedit_address2_2->text();
+ QString add2_3 = lineedit_address2_3->text();
+ QString add2_4 = lineedit_address2_4->text();
+ QString add2_5 = lineedit_address2_5->text();
+ QString add2_6 = lineedit_address2_6->text();
- int pos=0;
- // validating fields
+ int pos = 0;
+ // validating fields
- if (( v.validate( add1_1, pos )!=0 ) &&
- ( v.validate( add1_2, pos )!=0 ) &&
- ( v.validate( add1_3, pos )!=0 ) &&
- ( v.validate( add1_4, pos )!=0 ) &&
- ( v.validate( add1_5, pos )!=0 ) &&
- ( v.validate( add1_6, pos )!=0 ) &&
- ( v.validate( add2_1, pos )!=0 ) &&
- ( v.validate( add2_2, pos )!=0 ) &&
- ( v.validate( add2_3, pos )!=0 ) &&
- ( v.validate( add2_4, pos )!=0 ) &&
- ( v.validate( add2_5, pos )!=0 ) &&
- ( v.validate( add2_6, pos )!=0 ) )
+ if ((v.validate(add1_1, pos) != 0) &&
+ (v.validate(add1_2, pos) != 0) &&
+ (v.validate(add1_3, pos) != 0) &&
+ (v.validate(add1_4, pos) != 0) &&
+ (v.validate(add1_5, pos) != 0) &&
+ (v.validate(add1_6, pos) != 0) &&
+ (v.validate(add2_1, pos) != 0) &&
+ (v.validate(add2_2, pos) != 0) &&
+ (v.validate(add2_3, pos) != 0) &&
+ (v.validate(add2_4, pos) != 0) &&
+ (v.validate(add2_5, pos) != 0) &&
+ (v.validate(add2_6, pos) != 0))
+ {
+ // validating frame control field values
- {
- // validating frame control field values
+ if (lineedit_frame_1->text().toInt() <= 1 && lineedit_frame_1->text() != "" && lineedit_frame_2->text().toInt() <= 1 && lineedit_frame_2->text() != "" && lineedit_frame_3->text().toInt() <= 1 && lineedit_frame_3->text() != "" && lineedit_frame_4->text().toInt() <= 1 && lineedit_frame_4->text() != "" && lineedit_frame_5->text().toInt() <= 1 && lineedit_frame_5->text() != "" && lineedit_frame_6->text().toInt() <= 1 && lineedit_frame_6->text() != "" && lineedit_frame_7->text().toInt() <= 1 && lineedit_frame_7->text() != "" && lineedit_frame_8->text().toInt() <= 1 && lineedit_frame_8->text() != "" && lineedit_frame_9->text().toInt() <= 1 && lineedit_frame_9->text() != "" && lineedit_frame_10->text().toInt() <= 1 && lineedit_frame_10->text() != "" && lineedit_frame_11->text().toInt() <= 1 && lineedit_frame_11->text() != "" && lineedit_frame_12->text().toInt() <= 1 && lineedit_frame_12->text() != "" && lineedit_frame_13->text().toInt() <= 1 && lineedit_frame_13->text() != "" && lineedit_frame_14->text().toInt() <= 1 && lineedit_frame_14->text() != "" && lineedit_frame_15->text().toInt() <= 1 && lineedit_frame_15->text() != "" && lineedit_frame_16->text().toInt() <= 1 && lineedit_frame_16->text() != "")
+ {
+ // validating address fields to not have empty space
+ if (lineedit_address1_1->text() != "" && lineedit_address1_2->text() != "" && lineedit_address1_3->text() != "" && lineedit_address1_4->text() != "" && lineedit_address1_5->text() != "" && lineedit_address1_6->text() != "" && lineedit_address2_1->text() != "" && lineedit_address2_2->text() != "" && lineedit_address2_3->text() != "" && lineedit_address2_4->text() != "" && lineedit_address2_5->text() != "" && lineedit_address2_6->text() != "")
+ {
+ if (lineedit_asso_id->text() != "") //validating asso field
+ {
+ uint8_t frame_ctrl[2] = { 0X00, 0x00 };
- if ( lineedit_frame_1->text().toInt()<=1 && lineedit_frame_1->text()!="" && lineedit_frame_2->text().toInt()<=1 && lineedit_frame_2->text()!="" && lineedit_frame_3->text().toInt()<=1 && lineedit_frame_3->text()!="" && lineedit_frame_4->text().toInt()<=1 && lineedit_frame_4->text()!="" && lineedit_frame_5->text().toInt()<=1 && lineedit_frame_5->text()!="" && lineedit_frame_6->text().toInt()<=1 && lineedit_frame_6->text()!="" && lineedit_frame_7->text().toInt()<=1 && lineedit_frame_7->text()!="" && lineedit_frame_8->text().toInt()<=1 && lineedit_frame_8->text()!="" && lineedit_frame_9->text().toInt()<=1 && lineedit_frame_9->text()!="" && lineedit_frame_10->text().toInt()<=1 && lineedit_frame_10->text()!="" && lineedit_frame_11->text().toInt()<=1 && lineedit_frame_11->text()!="" && lineedit_frame_12->text().toInt()<=1 && lineedit_frame_12->text()!="" && lineedit_frame_13->text().toInt()<=1 && lineedit_frame_13->text()!="" && lineedit_frame_14->text().toInt()<=1 && lineedit_frame_14->text()!="" && lineedit_frame_15->text().toInt()<=1 && lineedit_frame_15->text()!="" && lineedit_frame_16->text().toInt()<=1 && lineedit_frame_16->text()!="" )
- {
- // validating address fields to not have empty space
- if ( lineedit_address1_1->text()!="" && lineedit_address1_2->text()!="" && lineedit_address1_3->text()!="" && lineedit_address1_4->text()!="" && lineedit_address1_5->text()!="" && lineedit_address1_6->text()!="" && lineedit_address2_1->text()!="" && lineedit_address2_2->text()!="" && lineedit_address2_3->text()!="" && lineedit_address2_4->text()!="" && lineedit_address2_5->text()!="" && lineedit_address2_6->text()!="" )
- {
- if ( lineedit_asso_id->text()!="" ) //validating asso field
- {
- uint8_t frame_ctrl0 = 0X00, frame_ctrl1 = 0x00;
+ // Form Frame control
+ frame_ctrl[0] = mac.bits_to_byte(lineedit_frame_1->text(), lineedit_frame_2->text(), lineedit_frame_3->text(), lineedit_frame_4->text(), lineedit_frame_5->text(), lineedit_frame_6->text(), lineedit_frame_7->text(), lineedit_frame_8->text());
- // Form Frame control
- frame_ctrl0 = mac.bits_to_byte( lineedit_frame_1->text(), lineedit_frame_2->text(), lineedit_frame_3->text(), lineedit_frame_4->text(), lineedit_frame_5->text(), lineedit_frame_6->text(), lineedit_frame_7->text(), lineedit_frame_8->text() );
+ // Form Frame control (flags)
+ frame_ctrl[1] = mac.bits_to_byte(lineedit_frame_9->text(), lineedit_frame_10->text(), lineedit_frame_11->text(), lineedit_frame_12->text(), lineedit_frame_13->text(), lineedit_frame_14->text(), lineedit_frame_15->text(), lineedit_frame_16->text());
- // Form Frame control (flags)
- frame_ctrl1 = mac.bits_to_byte( lineedit_frame_9->text(), lineedit_frame_10->text(), lineedit_frame_11->text(), lineedit_frame_12->text(), lineedit_frame_13->text(), lineedit_frame_14->text(), lineedit_frame_15->text(), lineedit_frame_16->text() );
+ uint16_t i, asso_id = lineedit_asso_id->text().toInt();
+ uint8_t asso_char[2];
- uint16_t asso_id = lineedit_asso_id->text().toInt(), i;
- uint8_t asso_char[2];
+ asso_id = asso_id | 0X0c00;
- asso_id = asso_id | 0X0c00;
+ for (i = 0;i < 2;i++)
+ asso_char[i] = *(((unsigned char*) & asso_id) + i);
- for ( i=0;i<2;i++ )
- asso_char[i] = *((( unsigned char* )&asso_id )+i );
+ // convert the MAC address to hex values and store it in a local variable
+ uint8_t addr1_1 = (unsigned char) lineedit_address1_1->text().toInt(&ok , 16);
- // address field values to local variable
+ uint8_t addr1_2 = (unsigned char) lineedit_address1_2->text().toInt(&ok , 16);
- uint8_t addr1_1 = ( unsigned char ) lineedit_address1_1->text().toInt( &ok ,16 );
+ uint8_t addr1_3 = (unsigned char) lineedit_address1_3->text().toInt(&ok , 16);
- uint8_t addr1_2 = ( unsigned char ) lineedit_address1_2->text().toInt( &ok ,16 );
+ uint8_t addr1_4 = (unsigned char) lineedit_address1_4->text().toInt(&ok , 16);
- uint8_t addr1_3 = ( unsigned char ) lineedit_address1_3->text().toInt( &ok ,16 );
+ uint8_t addr1_5 = (unsigned char) lineedit_address1_5->text().toInt(&ok , 16);
- uint8_t addr1_4 = ( unsigned char ) lineedit_address1_4->text().toInt( &ok ,16 );
+ uint8_t addr1_6 = (unsigned char) lineedit_address1_6->text().toInt(&ok , 16);
- uint8_t addr1_5 = ( unsigned char ) lineedit_address1_5->text().toInt( &ok ,16 );
+ uint8_t addr2_1 = (unsigned char) lineedit_address2_1->text().toInt(&ok , 16);
- uint8_t addr1_6 = ( unsigned char ) lineedit_address1_6->text().toInt( &ok ,16 );
+ uint8_t addr2_2 = (unsigned char) lineedit_address2_2->text().toInt(&ok , 16);
- uint8_t addr2_1 = ( unsigned char ) lineedit_address2_1->text().toInt( &ok ,16 );
+ uint8_t addr2_3 = (unsigned char) lineedit_address2_3->text().toInt(&ok , 16);
- uint8_t addr2_2 = ( unsigned char ) lineedit_address2_2->text().toInt( &ok ,16 );
+ uint8_t addr2_4 = (unsigned char) lineedit_address2_4->text().toInt(&ok , 16);
- uint8_t addr2_3 = ( unsigned char ) lineedit_address2_3->text().toInt( &ok ,16 );
+ uint8_t addr2_5 = (unsigned char) lineedit_address2_5->text().toInt(&ok , 16);
- uint8_t addr2_4 = ( unsigned char ) lineedit_address2_4->text().toInt( &ok ,16 );
+ uint8_t addr2_6 = (unsigned char) lineedit_address2_6->text().toInt(&ok , 16);
- uint8_t addr2_5 = ( unsigned char ) lineedit_address2_5->text().toInt( &ok ,16 );
+ //values initializing in a dynamic array
+ uint8_t control_header_arr[] =
+ {
+ frame_ctrl[0],
+ frame_ctrl[1],
+ asso_char[0],
+ asso_char[1],
+ addr1_1,
+ addr1_2,
+ addr1_3,
+ addr1_4,
+ addr1_5,
+ addr1_6,
+ addr2_1,
+ addr2_2,
+ addr2_3,
+ addr2_4,
+ addr2_5,
+ addr2_6
+ };
- uint8_t addr2_6 = ( unsigned char ) lineedit_address2_6->text().toInt( &ok ,16 );
+ uint16_t frame_len = sizeof(control_header_arr) / sizeof(unsigned char);
- //values initializing in a dynamic array
- uint8_t control_header_arr[] =
- {
- frame_ctrl0,
- frame_ctrl1,
- asso_char[0],
- asso_char[1],
- addr1_1,
- addr1_2,
- addr1_3,
- addr1_4,
- addr1_5,
- addr1_6,
- addr2_1,
- addr2_2,
- addr2_3,
- addr2_4,
- addr2_5,
- addr2_6
- };
+ int file_exists = 0;
- uint16_t frame_len = sizeof( control_header_arr )/sizeof( unsigned char );
+ switch (global_pspoll_flag)
+ {
- int file_exists = 0;
+ case 1:
+ {
+ static injection_main_cpp *obj = new injection_main_cpp();
+ obj->func_call(control_header_arr, frame_len);
+ pspoll_run_button->setEnabled(0);
+ break;
+ }
- switch ( global_pspoll_flag )
- {
+ case 2:
+ {
+ save_in_txt(default_pspoll_file);
+ break;
+ }
- case 1:
- {
- static injection_main_cpp *obj=new injection_main_cpp();
- obj->func_call( control_header_arr,frame_len );
- pspoll_run_button->setEnabled( 0 );
- break;
- }
+ case 3:
+ {
+ QString test_id = lineedit_testid->text();
+ char save_file[15] = "TestId_";
+ char hex_file[15], txt_file[15];
- case 2:
- {
- save_in_txt( default_pspoll_file );
- break;
- }
+ strcat(&save_file[0], test_id.latin1());
+ strcpy(&hex_file[0], &save_file[0]);
+ strcpy(&txt_file[0], &save_file[0]);
+ strcat(&hex_file[0], ".hex");
+ strcat(&txt_file[0], ".txt");
- case 3:
- {
- QString test_id=lineedit_testid->text();
- char save_file[15] = "TestId_";
- char hex_file[15], txt_file[15];
+ if (QFile::exists(&hex_file[0]) &&
+ QMessageBox::question(this, tr("Overwrite File?"),
+ tr("%1 : Already exists. Do you want to overwrite it?")
+ .arg(&hex_file[0]),
+ tr("&Yes"), tr("&No"), QString::null, 0, 1))
+ {
+ file_exists = 1;
+ }
- strcat( &save_file[0], test_id.latin1() );
- strcpy( &hex_file[0], &save_file[0] );
- strcpy( &txt_file[0], &save_file[0] );
- strcat( &hex_file[0], ".hex" );
- strcat( &txt_file[0], ".txt" );
+ if (file_exists != 1)
+ {
+ mac.save_in_hex(&hex_file[0], control_header_arr, frame_len);
+ file_exists = 0;
+ }
- if ( QFile::exists( &hex_file[0] ) &&
- QMessageBox::question( this, tr( "Overwrite File?" ),
- tr( "%1 : Already exists. Do you want to overwrite it?" )
- .arg( &hex_file[0] ),
- tr( "&Yes" ), tr( "&No" ),
- QString::null, 0, 1 ) )
- {
- file_exists = 1;
- }
+ if (QFile::exists(&txt_file[0]) &&
+ QMessageBox::question(this, tr("Overwrite File?"),
+ tr("%1 : Already exists. Do you want to overwrite it?")
+ .arg(&txt_file[0]),
+ tr("&Yes"), tr("&No"),
+ QString::null, 0, 1))
+ {
+ file_exists = 1;
+ }
- if ( file_exists!=1 )
- {
- mac.save_in_hex( &hex_file[0], control_header_arr, frame_len );
- file_exists = 0;
- }
+ if (file_exists != 1)
+ {
+ save_in_txt(&txt_file[0]);
+ QMessageBox::about(this,
+ tr("Template Saved"),
+ tr("Template saved successfully"));
+ }
- if ( QFile::exists( &txt_file[0] ) &&
- QMessageBox::question( this, tr( "Overwrite File?" ),
- tr( "%1 : Already exists. Do you want to overwrite it?" )
- .arg( &txt_file[0] ),
- tr( "&Yes" ), tr( "&No" ),
- QString::null, 0, 1 ) )
- {
- file_exists = 1;
- }
-
- if ( file_exists!=1 )
- {
- save_in_txt( &txt_file[0] );
- QMessageBox::about( this,
- tr( "Template Saved" ),
- tr( "Template saved successfully" ) );
- }
-
- break;
- }
- }
- }
- else
- KMessageBox::error( this,"Invalid Association ID" );
- }
- else
- KMessageBox::error( this,"Check the Address fields" );
- }
- else
- KMessageBox::error( this,"Check the frame field values" );
- }
- else
- KMessageBox::error( this,"Hexa decimal values only allowed in address field" );
+ break;
+ }
+ }
+ }
+ else
+ KMessageBox::error(this, "Invalid Association ID");
+ }
+ else
+ KMessageBox::error(this, "Check the Address fields");
+ }
+ else
+ KMessageBox::error(this, "Check the frame field values");
+ }
+ else
+ KMessageBox::error(this, "Hexa decimal values only allowed in address field");
}
void control_pspoll_cpp::reset_ps_poll()
{
- lineedit_frame_1->setText( "0" );
- lineedit_frame_2->setText( "0" );
- lineedit_frame_3->setText( "1" );
- lineedit_frame_4->setText( "0" );
- lineedit_frame_5->setText( "0" );
- lineedit_frame_6->setText( "1" );
- lineedit_frame_7->setText( "0" );
- lineedit_frame_8->setText( "1" );
+ lineedit_frame_1->setText("0");
+ lineedit_frame_2->setText("0");
+ lineedit_frame_3->setText("1");
+ lineedit_frame_4->setText("0");
+ lineedit_frame_5->setText("0");
+ lineedit_frame_6->setText("1");
+ lineedit_frame_7->setText("0");
+ lineedit_frame_8->setText("1");
- lineedit_frame_9->setText( "0" );
- lineedit_frame_10->setText( "0" );
- lineedit_frame_11->setText( "0" );
- lineedit_frame_12->setText( "0" );
- lineedit_frame_13->setText( "0" );
- lineedit_frame_14->setText( "0" );
- lineedit_frame_15->setText( "0" );
- lineedit_frame_16->setText( "0" );
- lineedit_asso_id->setText( "0" );
+ lineedit_frame_9->setText("0");
+ lineedit_frame_10->setText("0");
+ lineedit_frame_11->setText("0");
+ lineedit_frame_12->setText("0");
+ lineedit_frame_13->setText("0");
+ lineedit_frame_14->setText("0");
+ lineedit_frame_15->setText("0");
+ lineedit_frame_16->setText("0");
+ lineedit_asso_id->setText("0");
- lineedit_asso_id->setText( "0" );
- lineedit_address1_1->setText( "FF" );
- lineedit_address1_2->setText( "FF" );
- lineedit_address1_3->setText( "FF" );
- lineedit_address1_4->setText( "FF" );
- lineedit_address1_5->setText( "FF" );
- lineedit_address1_6->setText( "FF" );
+ lineedit_asso_id->setText("0");
+ lineedit_address1_1->setText("FF");
+ lineedit_address1_2->setText("FF");
+ lineedit_address1_3->setText("FF");
+ lineedit_address1_4->setText("FF");
+ lineedit_address1_5->setText("FF");
+ lineedit_address1_6->setText("FF");
- lineedit_address2_1->setText( "FF" );
- lineedit_address2_2->setText( "FF" );
- lineedit_address2_3->setText( "FF" );
- lineedit_address2_4->setText( "FF" );
- lineedit_address2_5->setText( "FF" );
- lineedit_address2_6->setText( "FF" );
+ lineedit_address2_1->setText("FF");
+ lineedit_address2_2->setText("FF");
+ lineedit_address2_3->setText("FF");
+ lineedit_address2_4->setText("FF");
+ lineedit_address2_5->setText("FF");
+ lineedit_address2_6->setText("FF");
}
-void control_pspoll_cpp::save_in_txt( char *file )
+void control_pspoll_cpp::save_in_txt(char *file)
{
- FILE *fptr;
- fptr=fopen( file,"w" );
+ FILE *fptr;
+ fptr = fopen(file, "w");
- if ( fptr==NULL )
- {
- KMessageBox::error( this,"Unable to open setup file" );
- exit( 1 );
- }
+ if (fptr == NULL)
+ {
+ KMessageBox::error(this, "Unable to open setup file");
+ exit(1);
+ }
- QString str_frm1=lineedit_frame_1->text();
+ QString str_frm1 = lineedit_frame_1->text();
+ QString str_frm2 = lineedit_frame_2->text();
+ QString str_frm3 = lineedit_frame_3->text();
+ QString str_frm4 = lineedit_frame_4->text();
+ QString str_frm5 = lineedit_frame_5->text();
+ QString str_frm6 = lineedit_frame_6->text();
+ QString str_frm7 = lineedit_frame_7->text();
+ QString str_frm8 = lineedit_frame_8->text();
+ QString str_frm9 = lineedit_frame_9->text();
+ QString str_frm10 = lineedit_frame_10->text();
+ QString str_frm11 = lineedit_frame_11->text();
+ QString str_frm12 = lineedit_frame_12->text();
+ QString str_frm13 = lineedit_frame_13->text();
+ QString str_frm14 = lineedit_frame_14->text();
+ QString str_frm15 = lineedit_frame_15->text();
+ QString str_frm16 = lineedit_frame_16->text();
- QString str_frm2=lineedit_frame_2->text();
- QString str_frm3=lineedit_frame_3->text();
- QString str_frm4=lineedit_frame_4->text();
- QString str_frm5=lineedit_frame_5->text();
- QString str_frm6=lineedit_frame_6->text();
- QString str_frm7=lineedit_frame_7->text();
- QString str_frm8=lineedit_frame_8->text();
- QString str_frm9=lineedit_frame_9->text();
- QString str_frm10=lineedit_frame_10->text();
- QString str_frm11=lineedit_frame_11->text();
- QString str_frm12=lineedit_frame_12->text();
- QString str_frm13=lineedit_frame_13->text();
- QString str_frm14=lineedit_frame_14->text();
- QString str_frm15=lineedit_frame_15->text();
- QString str_frm16=lineedit_frame_16->text();
- QString str_asso_id=lineedit_asso_id->text();
- QString str_add1=lineedit_address1_1->text();
- QString str_add2=lineedit_address1_2->text();
- QString str_add3=lineedit_address1_3->text();
- QString str_add4=lineedit_address1_4->text();
- QString str_add5=lineedit_address1_5->text();
- QString str_add6=lineedit_address1_6->text();
- QString str_add2_1=lineedit_address2_1->text();
- QString str_add2_2=lineedit_address2_2->text();
- QString str_add2_3=lineedit_address2_3->text();
- QString str_add2_4=lineedit_address2_4->text();
- QString str_add2_5=lineedit_address2_5->text();
- QString str_add2_6=lineedit_address2_6->text();
+ QString str_asso_id = lineedit_asso_id->text();
- fprintf( fptr,"%s\t",str_frm1.latin1() );
- fprintf( fptr,"%s\t",str_frm2.latin1() );
- fprintf( fptr,"%s\t",str_frm3.latin1() );
- fprintf( fptr,"%s\t",str_frm4.latin1() );
- fprintf( fptr,"%s\t",str_frm5.latin1() );
- fprintf( fptr,"%s\t",str_frm6.latin1() );
- fprintf( fptr,"%s\t",str_frm7.latin1() );
- fprintf( fptr,"%s\t",str_frm8.latin1() );
- fprintf( fptr,"%s\t",str_frm9.latin1() );
- fprintf( fptr,"%s\t",str_frm10.latin1() );
- fprintf( fptr,"%s\t",str_frm11.latin1() );
- fprintf( fptr,"%s\t",str_frm12.latin1() );
- fprintf( fptr,"%s\t",str_frm13.latin1() );
- fprintf( fptr,"%s\t",str_frm14.latin1() );
- fprintf( fptr,"%s\t",str_frm15.latin1() );
- fprintf( fptr,"%s\t",str_frm16.latin1() );
- fprintf( fptr,"%s\t",str_asso_id.latin1() );
- fprintf( fptr,"%s\t",str_add1.latin1() );
- fprintf( fptr,"%s\t",str_add2.latin1() );
- fprintf( fptr,"%s\t",str_add3.latin1() );
- fprintf( fptr,"%s\t",str_add4.latin1() );
- fprintf( fptr,"%s\t",str_add5.latin1() );
- fprintf( fptr,"%s\t",str_add6.latin1() );
+ QString str_add1 = lineedit_address1_1->text();
+ QString str_add2 = lineedit_address1_2->text();
+ QString str_add3 = lineedit_address1_3->text();
+ QString str_add4 = lineedit_address1_4->text();
+ QString str_add5 = lineedit_address1_5->text();
+ QString str_add6 = lineedit_address1_6->text();
- fprintf( fptr,"%s\t",str_add2_1.latin1() );
- fprintf( fptr,"%s\t",str_add2_2.latin1() );
- fprintf( fptr,"%s\t",str_add2_3.latin1() );
- fprintf( fptr,"%s\t",str_add2_4.latin1() );
- fprintf( fptr,"%s\t",str_add2_5.latin1() );
- fprintf( fptr,"%s\t",str_add2_6.latin1() );
+ QString str_add2_1 = lineedit_address2_1->text();
+ QString str_add2_2 = lineedit_address2_2->text();
+ QString str_add2_3 = lineedit_address2_3->text();
+ QString str_add2_4 = lineedit_address2_4->text();
+ QString str_add2_5 = lineedit_address2_5->text();
+ QString str_add2_6 = lineedit_address2_6->text();
- fclose( fptr );
+ fprintf(fptr, "%s\t", str_frm1.latin1());
+ fprintf(fptr, "%s\t", str_frm2.latin1());
+ fprintf(fptr, "%s\t", str_frm3.latin1());
+ fprintf(fptr, "%s\t", str_frm4.latin1());
+ fprintf(fptr, "%s\t", str_frm5.latin1());
+ fprintf(fptr, "%s\t", str_frm6.latin1());
+ fprintf(fptr, "%s\t", str_frm7.latin1());
+ fprintf(fptr, "%s\t", str_frm8.latin1());
+ fprintf(fptr, "%s\t", str_frm9.latin1());
+ fprintf(fptr, "%s\t", str_frm10.latin1());
+ fprintf(fptr, "%s\t", str_frm11.latin1());
+ fprintf(fptr, "%s\t", str_frm12.latin1());
+ fprintf(fptr, "%s\t", str_frm13.latin1());
+ fprintf(fptr, "%s\t", str_frm14.latin1());
+ fprintf(fptr, "%s\t", str_frm15.latin1());
+ fprintf(fptr, "%s\t", str_frm16.latin1());
+ fprintf(fptr, "%s\t", str_asso_id.latin1());
+ fprintf(fptr, "%s\t", str_add1.latin1());
+ fprintf(fptr, "%s\t", str_add2.latin1());
+ fprintf(fptr, "%s\t", str_add3.latin1());
+ fprintf(fptr, "%s\t", str_add4.latin1());
+ fprintf(fptr, "%s\t", str_add5.latin1());
+ fprintf(fptr, "%s\t", str_add6.latin1());
+
+ fprintf(fptr, "%s\t", str_add2_1.latin1());
+ fprintf(fptr, "%s\t", str_add2_2.latin1());
+ fprintf(fptr, "%s\t", str_add2_3.latin1());
+ fprintf(fptr, "%s\t", str_add2_4.latin1());
+ fprintf(fptr, "%s\t", str_add2_5.latin1());
+ fprintf(fptr, "%s\t", str_add2_6.latin1());
+
+ fclose(fptr);
}
#include "control_pspoll_cpp.moc"
Modified: frame_injection_g/trunk/src/control_pspoll_cpp.moc
===================================================================
--- frame_injection_g/trunk/src/control_pspoll_cpp.moc 2010-03-15 14:11:41 UTC (rev 238)
+++ frame_injection_g/trunk/src/control_pspoll_cpp.moc 2010-03-15 15:27:54 UTC (rev 239)
@@ -1,7 +1,7 @@
/****************************************************************************
** control_pspoll_cpp meta object code from reading C++ file 'control_pspoll_cpp.h'
**
-** Created: Mon Mar 15 17:04:30 2010
+** Created: Mon Mar 15 20:19:01 2010
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!
Modified: frame_injection_g/trunk/src/inj_control_pspoll.h
===================================================================
--- frame_injection_g/trunk/src/inj_control_pspoll.h 2010-03-15 14:11:41 UTC (rev 238)
+++ frame_injection_g/trunk/src/inj_control_pspoll.h 2010-03-15 15:27:54 UTC (rev 239)
@@ -1,95 +1,94 @@
-/****************************************************************************
-** Form interface generated from reading ui file './inj_control_pspoll.ui'
-**
-** Created by User Interface Compiler
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-
-#ifndef INJ_CONTROL_PSPOLL_H
-#define INJ_CONTROL_PSPOLL_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-
-class QVBoxLayout;
-class QHBoxLayout;
-class QGridLayout;
-class QSpacerItem;
-class QFrame;
-class QGroupBox;
-class QPushButton;
-class QLineEdit;
-class QLabel;
-
-class inj_control_pspoll : public QWidget
-{
- Q_OBJECT
-
-public:
- inj_control_pspoll( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
- ~inj_control_pspoll();
-
- QFrame* frame4;
- QGroupBox* groupBox2;
- QPushButton* pspoll_run_button;
- QPushButton* pspoll_mainwin_button;
- QPushButton* pspoll_clear_button;
- QPushButton* control_save_button;
- QPushButton* control_default_button;
- QGroupBox* groupBox1;
- QLineEdit* lineedit_frame_13;
- QLineEdit* lineedit_address2_6;
- QLineEdit* lineedit_address1_1;
- QLineEdit* lineedit_frame_9;
- QLabel* textLabel4;
- QLineEdit* lineedit_address1_2;
- QLineEdit* lineedit_frame_6;
- QLabel* bit_position;
- QLineEdit* lineedit_frame_2;
- QLineEdit* lineedit_address2_3;
- QLineEdit* lineedit_address2_1;
- QLineEdit* lineedit_address1_4;
- QLineEdit* lineedit_frame_10;
- QLineEdit* lineedit_frame_7;
- QLineEdit* lineedit_frame_4;
- QLineEdit* lineedit_frame_14;
- QLineEdit* lineedit_address1_6;
- QLineEdit* lineedit_address1_5;
- QLineEdit* lineedit_frame_11;
- QLineEdit* lineedit_frame_15;
- QLineEdit* lineedit_frame_3;
- QLineEdit* lineedit_address2_5;
- QLineEdit* lineedit_address1_3;
- QLineEdit* lineedit_frame_5;
- QLineEdit* lineedit_address2_4;
- QLabel* textLabel3_2;
- QLineEdit* lineedit_frame_12;
- QLineEdit* lineedit_address2_2;
- QLineEdit* lineedit_frame_16;
- QLineEdit* lineedit_frame_8;
- QLabel* textLabel1;
- QLabel* textLabel2_2;
- QLabel* textLabel2;
- QLabel* textLabel3;
- QLineEdit* lineedit_frame_1;
- QLineEdit* lineedit_asso_id;
- QGroupBox* groupBox3;
- QLineEdit* lineedit_testid;
-
-public slots:
- virtual void pspoll_run_click();
- virtual void pspoll_clear_click();
- virtual void pspoll_main_win();
- virtual void pspoll_save_click();
- virtual void pspoll_default_click();
-
-protected:
-
-protected slots:
- virtual void languageChange();
-
-};
-
-#endif // INJ_CONTROL_PSPOLL_H
-
+/****************************************************************************
+** Form interface generated from reading ui file './inj_control_pspoll.ui'
+**
+** Created by User Interface Compiler
+**
+** WARNING! All changes made in this file will be lost!
+****************************************************************************/
+
+#ifndef INJ_CONTROL_PSPOLL_H
+#define INJ_CONTROL_PSPOLL_H
+
+#include <qvariant.h>
+#include <qwidget.h>
+
+class QVBoxLayout;
+class QHBoxLayout;
+class QGridLayout;
+class QSpacerItem;
+class QFrame;
+class QGroupBox;
+class QPushButton;
+class QLineEdit;
+class QLabel;
+
+class inj_control_pspoll : public QWidget
+{
+ Q_OBJECT
+
+public:
+ inj_control_pspoll( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
+ ~inj_control_pspoll();
+
+ QFrame* frame4;
+ QGroupBox* groupBox2;
+ QPushButton* pspoll_run_button;
+ QPushButton* pspoll_mainwin_button;
+ QPushButton* pspoll_clear_button;
+ QPushButton* control_save_button;
+ QPushButton* control_default_button;
+ QGroupBox* groupBox1;
+ QLineEdit* lineedit_frame_13;
+ QLineEdit* lineedit_address2_6;
+ QLineEdit* lineedit_address1_1;
+ QLineEdit* lineedit_frame_9;
+ QLabel* textLabel4;
+ QLineEdit* lineedit_address1_2;
+ QLineEdit* lineedit_frame_6;
+ QLabel* bit_position;
+ QLineEdit* lineedit_frame_2;
+ QLineEdit* lineedit_address2_3;
+ QLineEdit* lineedit_address2_1;
+ QLineEdit* lineedit_address1_4;
+ QLineEdit* lineedit_frame_10;
+ QLineEdit* lineedit_frame_7;
+ QLineEdit* lineedit_frame_4;
+ QLineEdit* lineedit_frame_14;
+ QLineEdit* lineedit_address1_6;
+ QLineEdit* lineedit_address1_5;
+ QLineEdit* lineedit_frame_11;
+ QLineEdit* lineedit_frame_15;
+ QLineEdit* lineedit_frame_3;
+ QLineEdit* lineedit_address2_5;
+ QLineEdit* lineedit_address1_3;
+ QLineEdit* lineedit_frame_5;
+ QLineEdit* lineedit_address2_4;
+ QLabel* textLabel3_2;
+ QLineEdit* lineedit_frame_12;
+ QLineEdit* lineedit_address2_2;
+ QLineEdit* lineedit_frame_16;
+ QLineEdit* lineedit_frame_8;
+ QLabel* textLabel1;
+ QLabel* textLabel2_2;
+ QLabel* textLabel2;
+ QLabel* textLabel3;
+ QLineEdit* lineedit_frame_1;
+ QLineEdit* lineedit_asso_id;
+ QGroupBox* groupBox3;
+ QLineEdit* lineedit_testid;
+
+public slots:
+ virtual void pspoll_run_click();
+ virtual void pspoll_clear_click();
+ virtual void pspoll_main_win();
+ virtual void pspoll_save_click();
+ virtual void pspoll_default_click();
+
+protected:
+
+protected slots:
+ virtual void languageChange();
+
+};
+
+#endif // INJ_CONTROL_PSPOLL_H
Modified: frame_injection_g/trunk/src/inj_mgmt_association_form.h
===================================================================
--- frame_injection_g/trunk/src/inj_mgmt_association_form.h 2010-03-15 14:11:41 UTC (rev 238)
+++ frame_injection_g/trunk/src/inj_mgmt_association_form.h 2010-03-15 15:27:54 UTC (rev 239)
@@ -1,159 +1,158 @@
-/****************************************************************************
-** Form interface generated from reading ui file './inj_mgmt_association_form.ui'
-**
-** Created by User Interface Compiler
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-
-#ifndef INJ_MGMT_ASSOCIATION_FORM_H
-#define INJ_MGMT_ASSOCIATION_FORM_H
-
-#include <qvariant.h>
-#include <qwidget.h>
-
-class QVBoxLayout;
-class QHBoxLayout;
-class QGridLayout;
-class QSpacerItem;
-class QFrame;
-class QGroupBox;
-class QLineEdit;
-class QLabel;
-class QPushButton;
-class QCheckBox;
-
-class inj_mgmt_association_form : public QWidget
-{
- Q_OBJECT
-
-public:
- inj_mgmt_association_form( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
- ~inj_mgmt_association_form();
-
- QFrame* frame4;
- QGroupBox* groupBox1;
- QLineEdit* lineedit_frame_4;
- QLineEdit* lineedit_frame_3;
- QLabel* textLabel2_2;
- QLineEdit* lineedit_frame_2;
- QLabel* bit_position;
- QLineEdit* lineedit_address3_3;
- QLineEdit* lineedit_address3_1;
- QLineEdit* lineedit_address1_4;
- QLineEdit* lineedit_address1_3;
- QLineEdit* lineedit_address3_5;
- QLineEdit* lineedit_address2_3;
- QLineEdit* lineedit_address2_6;
- QLineEdit* lineedit_address2_5;
- QLineEdit* lineedit_address3_2;
- QLineEdit* lineedit_address3_4;
- QLineEdit* lineedit_address2_2;
- QLineEdit* lineedit_address1_6;
- QLineEdit* lineedit_address1_1;
- QLineEdit* lineedit_address3_6;
- QLineEdit* lineedit_address2_4;
- QLineEdit* lineedit_address1_5;
- QLineEdit* lineedit_address2_1;
- QLineEdit* lineedit_address1_2;
- QLineEdit* lineedit_NAV;
- QLineEdit* lineedit_frame_8;
- QLineEdit* lineedit_frame_6;
- QLineEdit* lineedit_frame_5;
- QLineEdit* lineedit_frame_7;
- QLabel* textLabel3_2;
- QLineEdit* lineedit_frame_1;
- QGroupBox* groupBox2;
- QLineEdit* lineedit_frag_no;
- QLineEdit* lineedit_seq_no;
- QLabel* textLabel1_2;
- QLabel* textLabel2_3;
- QLineEdit* lineedit_frame_11;
- QLineEdit* lineedit_frame_10;
- QLineEdit* lineedit_frame_9;
- QLineEdit* lineedit_frame_13;
- QLineEdit* lineedit_frame_12;
- QLineEdit* lineedit_frame_14;
- QLineEdit* lineedit_frame_15;
- QLineEdit* lineedit_frame_16;
- QLabel* textLabel1;
- QLabel* textLabel2;
- QLabel* textLabel3;
- QLabel* textLabel4;
- QLabel* textLabel4_2;
- QGroupBox* groupBox9;
- QPushButton* assoreq_run_button;
- QPushButton* assoreq_clear_button;
- QPushButton* assoreq_mainwin_button;
- QPushButton* assoreq_save_button;
- QPushButton* assoreq_default_button;
- QGroupBox* groupBox3;
- QLabel* textLabel3_3;
- QGroupBox* groupBox7;
- QLabel* textLabel1_4;
- QCheckBox* checkbox_srate_2;
- QCheckBox* checkbox_srate_3;
- QCheckBox* checkbox_srate_4;
- QCheckBox* checkbox_mand_2;
- QCheckBox* checkbox_mand_3;
- QCheckBox* checkbox_mand_4;
- QCheckBox* checkbox_srate_1;
- QCheckBox* checkbox_mand_1;
- QCheckBox* checkbox_mand_7;
- QCheckBox* checkbox_srate_8;
- QCheckBox* checkbox_mand_8;
- QCheckBox* checkbox_srate_6;
- QCheckBox* checkbox_mand_6;
- QCheckBox* checkbox_mand_5;
- QCheckBox* checkbox_srate_7;
- QCheckBox* checkbox_srate_5;
- QLabel* textLabel2_5;
- QGroupBox* groupBox8;
- QCheckBox* checkbox_mand_10;
- QCheckBox* checkbox_esrate_2;
- QCheckBox* checkbox_mand_9;
- QCheckBox* checkbox_mand_11;
- QCheckBox* checkbox_esrate_3;
- QLabel* textLabel1_4_2;
- QCheckBox* checkbox_mand_12;
- QCheckBox* checkbox_esrate_4;
- QCheckBox* checkbox_esrate_1;
- QLineEdit* lineedit_ssid;
- QLabel* textLabel2_4;
- QLabel* textLabel1_3;
- QLineEdit* lineedit_cap_info_13;
- QLineEdit* lineedit_cap_info_12;
- QLineEdit* lineedit_cap_info_1;
- QLineEdit* lineedit_cap_info_16;
- QLineEdit* lineedit_cap_info_15;
- QLineEdit* lineedit_cap_info_14;
- QLineEdit* lineedit_cap_info_2;
- QLineEdit* lineedit_cap_info_7;
- QLineEdit* lineedit_cap_info_5;
- QLineEdit* lineedit_cap_info_4;
- QLineEdit* lineedit_cap_info_9;
- QLineEdit* lineedit_cap_info_3;
- QLineEdit* lineedit_cap_info_8;
- QLineEdit* lineedit_cap_info_11;
- QLineEdit* lineedit_cap_info_10;
- QLineEdit* lineedit_cap_info_6;
- QLineEdit* lineedit_listen_interval;
- QGroupBox* groupBox3_2;
- QLineEdit* lineedit_testid;
-
-public slots:
- virtual void run_button_click();
- virtual void clear_button_click();
- virtual void mainwin_click();
- virtual void assoreq_save_click();
- virtual void assoreq_default_click();
-
-protected:
-
-protected slots:
- virtual void languageChange();
-
-};
-
-#endif // INJ_MGMT_ASSOCIATION_FORM_H
-
+/****************************************************************************
+** Form interface generated from reading ui file './inj_mgmt_association_form.ui'
+**
+** Created by User Interface Compiler
+**
+** WARNING! All changes made in this file will be lost!
+****************************************************************************/
+
+#ifndef INJ_MGMT_ASSOCIATION_FORM_H
+#define INJ_MGMT_ASSOCIATION_FORM_H
+
+#include <qvariant.h>
+#include <qwidget.h>
+
+class QVBoxLayout;
+class QHBoxLayout;
+class QGridLayout;
+class QSpacerItem;
+class QFrame;
+class QGroupBox;
+class QLineEdit;
+class QLabel;
+class QPushButton;
+class QCheckBox;
+
+class inj_mgmt_association_form : public QWidget
+{
+ Q_OBJECT
+
+public:
+ inj_mgmt_association_form( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
+ ~inj_mgmt_association_form();
+
+ QFrame* frame4;
+ QGroupBox* groupBox1;
+ QLineEdit* lineedit_frame_4;
+ QLineEdit* lineedit_frame_3;
+ QLabel* textLabel2_2;
+ QLineEdit* lineedit_frame_2;
+ QLabel* bit_position;
+ QLineEdit* lineedit_address3_3;
+ QLineEdit* lineedit_address3_1;
+ QLineEdit* lineedit_address1_4;
+ QLineEdit* lineedit_address1_3;
+ QLineEdit* lineedit_address3_5;
+ QLineEdit* lineedit_address2_3;
+ QLineEdit* lineedit_address2_6;
+ QLineEdit* lineedit_address2_5;
+ QLineEdit* lineedit_address3_2;
+ QLineEdit* lineedit_address3_4;
+ QLineEdit* lineedit_address2_2;
+ QLineEdit* lineedit_address1_6;
+ QLineEdit* lineedit_address1_1;
+ QLineEdit* lineedit_address3_6;
+ QLineEdit* lineedit_address2_4;
+ QLineEdit* lineedit_address1_5;
+ QLineEdit* lineedit_address2_1;
+ QLineEdit* lineedit_address1_2;
+ QLineEdit* lineedit_NAV;
+ QLineEdit* lineedit_frame_8;
+ QLineEdit* lineedit_frame_6;
+ QLineEdit* lineedit_frame_5;
+ QLineEdit* lineedit_frame_7;
+ QLabel* textLabel3_2;
+ QLineEdit* lineedit_frame_1;
+ QGroupBox* groupBox2;
+ QLineEdit* lineedit_frag_no;
+ QLineEdit* lineedit_seq_no;
+ QLabel* textLabel1_2;
+ QLabel* textLabel2_3;
+ QLineEdit* lineedit_frame_11;
+ QLineEdit* lineedit_frame_10;
+ QLineEdit* lineedit_frame_9;
+ QLineEdit* lineedit_frame_13;
+ QLineEdit* lineedit_frame_12;
+ QLineEdit* lineedit_frame_14;
+ QLineEdit* lineedit_frame_15;
+ QLineEdit* lineedit_frame_16;
+ QLabel* textLabel1;
+ QLabel* textLabel2;
+ QLabel* textLabel3;
+ QLabel* textLabel4;
+ QLabel* textLabel4_2;
+ QGroupBox* groupBox9;
+ QPushButton* assoreq_run_button;
+ QPushButton* assoreq_clear_button;
+ QPushButton* assoreq_mainwin_button;
+ QPushButton* assoreq_save_button;
+ QPushButton* assoreq_default_button;
+ QGroupBox* groupBox3;
+ QLabel* textLabel3_3;
+ QGroupBox* groupBox7;
+ QLabel* textLabel1_4;
+ QCheckBox* checkbox_srate_2;
+ QCheckBox* checkbox_srate_3;
+ QCheckBox* checkbox_srate_4;
+ QCheckBox* checkbox_mand_2;
+ QCheckBox* checkbox_mand_3;
+ QCheckBox* checkbox_mand_4;
+ QCheckBox* checkbox_srate_1;
+ QCheckBox* checkbox_mand_1;
+ QCheckBox* checkbox_mand_7;
+ QCheckBox* checkbox_srate_8;
+ QCheckBox* checkbox_mand_8;
+ QCheckBox* checkbox_srate_6;
+ QCheckBox* checkbox_mand_6;
+ QCheckBox* checkbox_mand_5;
+ QCheckBox* checkbox_srate_7;
+ QCheckBox* checkbox_srate_5;
+ QLabel* textLabel2_5;
+ QGroupBox* groupBox8;
+ QCheckBox* checkbox_mand_10;
+ QCheckBox* checkbox_esrate_2;
+ QCheckBox* checkbox_mand_9;
+ QCheckBox* checkbox_mand_11;
+ QCheckBox* checkbox_esrate_3;
+ QLabel* textLabel1_4_2;
+ QCheckBox* checkbox_mand_12;
+ QCheckBox* checkbox_esrate_4;
+ QCheckBox* checkbox_esrate_1;
+ QLineEdit* lineedit_ssid;
+ QLabel* textLabel2_4;
+ QLabel* textLabel1_3;
+ QLineEdit* lineedit_cap_info_13;
+ QLineEdit* lineedit_cap_info_12;
+ QLineEdit* lineedit_cap_info_1;
+ QLineEdit* lineedit_cap_info_16;
+ QLineEdit* lineedit_cap_info_15;
+ QLineEdit* lineedit_cap_info_14;
+ QLineEdit* lineedit_cap_info_2;
+ QLineEdit* lineedit_cap_info_7;
+ QLineEdit* lineedit_cap_info_5;
+ QLineEdit* lineedit_cap_info_4;
+ QLineEdit* lineedit_cap_info_9;
+ QLineEdit* lineedit_cap_info_3;
+ QLineEdit* lineedit_cap_info_8;
+ QLineEdit* lineedit_cap_info_11;
+...
[truncated message content] |
|
From: <sat...@us...> - 2010-03-15 14:11:48
|
Revision: 238
http://w-meter.svn.sourceforge.net/w-meter/?rev=238&view=rev
Author: sathakselva
Date: 2010-03-15 14:11:41 +0000 (Mon, 15 Mar 2010)
Log Message:
-----------
A tag (selvam-tag) is removed
Removed Paths:
-------------
frame_injection_g/tags/selvam-test/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <sat...@us...> - 2010-03-15 14:09:17
|
Revision: 237
http://w-meter.svn.sourceforge.net/w-meter/?rev=237&view=rev
Author: sathakselva
Date: 2010-03-15 14:09:07 +0000 (Mon, 15 Mar 2010)
Log Message:
-----------
delete conflict resolved
Removed Paths:
-------------
frame_injection_g/tags/wct/install.sh
Deleted: frame_injection_g/tags/wct/install.sh
===================================================================
--- frame_injection_g/tags/wct/install.sh 2010-03-15 14:01:00 UTC (rev 236)
+++ frame_injection_g/tags/wct/install.sh 2010-03-15 14:09:07 UTC (rev 237)
@@ -1,57 +0,0 @@
-#!/bin/bash
-# Install script of wmeter and libwmpit
-
-cd wmpit/
-echo $"configuring libwmpit ..."
-
-if [ ! -f ./configure ]; then
- autoconf
-fi
-
-./configure
-
-SSTATE=$?
-
-if [ $SSTATE != 0 ]; then
- echo $"Error in configuring libwmpit ..."
- exit $SSTATE
-fi
-
-make clean
-make
-
-if [ $SSTATE != 0 ]; then
- echo $"Error in make libwmpit ..."
- exit $SSTATE
-fi
-
-make install
-
-if [ $SSTATE != 0 ]; then
- echo $"Error in install libwmpit ..."
- exit $SSTATE
-fi
-
-cd ..
-echo $"configuring wmeter ...."
-
-if [ ! -f ./configure ]; then
- autoconf
-fi
-
-LDFLAGS="-lwmpit -lpcap" ./configure
-
-if [ $SSTATE != 0 ]; then
- echo $"Error in configuring wmeter ..."
- exit $SSTATE
-fi
-
-make clean
-make
-
-if [ $SSTATE != 0 ]; then
- echo $"Error in making wmeter ..."
- exit $SSTATE
-fi
-
-exit $SSTATE
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <sat...@us...> - 2010-03-15 14:01:12
|
Revision: 236
http://w-meter.svn.sourceforge.net/w-meter/?rev=236&view=rev
Author: sathakselva
Date: 2010-03-15 14:01:00 +0000 (Mon, 15 Mar 2010)
Log Message:
-----------
Kept initial configuration script. Others removed
Removed Paths:
-------------
frame_injection_g/tags/wct/src/Data_Qos_data.ui
frame_injection_g/tags/wct/src/Makefile
frame_injection_g/tags/wct/src/Makefile.am
frame_injection_g/tags/wct/src/Makefile.in
frame_injection_g/tags/wct/src/aiyo
frame_injection_g/tags/wct/src/control_header.h
frame_injection_g/tags/wct/src/control_pspoll_cpp.cpp
frame_injection_g/tags/wct/src/control_pspoll_cpp.h
frame_injection_g/tags/wct/src/data_dataFrame.ui
frame_injection_g/tags/wct/src/data_dataframe_cpp.cpp
frame_injection_g/tags/wct/src/data_dataframe_cpp.h
frame_injection_g/tags/wct/src/data_qos_data_cpp.cpp
frame_injection_g/tags/wct/src/data_qos_data_cpp.h
frame_injection_g/tags/wct/src/default_ack
frame_injection_g/tags/wct/src/default_ack_hex
frame_injection_g/tags/wct/src/default_assoreq
frame_injection_g/tags/wct/src/default_assoreq_hex
frame_injection_g/tags/wct/src/default_assores
frame_injection_g/tags/wct/src/default_assores_hex
frame_injection_g/tags/wct/src/default_auth
frame_injection_g/tags/wct/src/default_auth_hex
frame_injection_g/tags/wct/src/default_beacon
frame_injection_g/tags/wct/src/default_beacon_hex
frame_injection_g/tags/wct/src/default_cts
frame_injection_g/tags/wct/src/default_cts_hex
frame_injection_g/tags/wct/src/default_cts_hex.bin
frame_injection_g/tags/wct/src/default_data
frame_injection_g/tags/wct/src/default_data_hex
frame_injection_g/tags/wct/src/default_deauth
frame_injection_g/tags/wct/src/default_deauth_hex
frame_injection_g/tags/wct/src/default_disasso
frame_injection_g/tags/wct/src/default_disasso_hex
frame_injection_g/tags/wct/src/default_prob_req
frame_injection_g/tags/wct/src/default_prob_req_hex
frame_injection_g/tags/wct/src/default_probres
frame_injection_g/tags/wct/src/default_probres_hex
frame_injection_g/tags/wct/src/default_pspoll
frame_injection_g/tags/wct/src/default_pspoll_hex
frame_injection_g/tags/wct/src/default_qos
frame_injection_g/tags/wct/src/default_qos_hex
frame_injection_g/tags/wct/src/default_reassoreq
frame_injection_g/tags/wct/src/default_reassoreq_hex
frame_injection_g/tags/wct/src/default_reassores
frame_injection_g/tags/wct/src/default_reassores_hex
frame_injection_g/tags/wct/src/default_rts
frame_injection_g/tags/wct/src/default_rts_hex
frame_injection_g/tags/wct/src/hi16-app-injection.png
frame_injection_g/tags/wct/src/hi32-app-injection.png
frame_injection_g/tags/wct/src/inj_control_ack_cpp.cpp
frame_injection_g/tags/wct/src/inj_control_ack_cpp.h
frame_injection_g/tags/wct/src/inj_control_cts.ui
frame_injection_g/tags/wct/src/inj_control_cts_cpp.cpp
frame_injection_g/tags/wct/src/inj_control_cts_cpp.h
frame_injection_g/tags/wct/src/inj_control_form.ui
frame_injection_g/tags/wct/src/inj_control_form_cpp.cpp
frame_injection_g/tags/wct/src/inj_control_form_cpp.h
frame_injection_g/tags/wct/src/inj_control_pspoll.ui
frame_injection_g/tags/wct/src/inj_ctrl_ack.ui
frame_injection_g/tags/wct/src/inj_main_window.ui
frame_injection_g/tags/wct/src/inj_main_window.ui.h
frame_injection_g/tags/wct/src/inj_mgmt_association_form.ui
frame_injection_g/tags/wct/src/injection.cpp
frame_injection_g/tags/wct/src/injection.desktop
frame_injection_g/tags/wct/src/injection.h
frame_injection_g/tags/wct/src/injection.lsm
frame_injection_g/tags/wct/src/injection_main_cpp.cpp
frame_injection_g/tags/wct/src/injection_main_cpp.h
frame_injection_g/tags/wct/src/injectionui.rc
frame_injection_g/tags/wct/src/main.cpp
frame_injection_g/tags/wct/src/management_form.ui
frame_injection_g/tags/wct/src/mgmt_asso_req_cpp.cpp
frame_injection_g/tags/wct/src/mgmt_asso_req_cpp.h
frame_injection_g/tags/wct/src/mgmt_asso_res_cpp.cpp
frame_injection_g/tags/wct/src/mgmt_asso_res_cpp.h
frame_injection_g/tags/wct/src/mgmt_asso_response.ui
frame_injection_g/tags/wct/src/mgmt_authen.ui
frame_injection_g/tags/wct/src/mgmt_authen_cpp.cpp
frame_injection_g/tags/wct/src/mgmt_authen_cpp.h
frame_injection_g/tags/wct/src/mgmt_beacon_cpp.cpp
frame_injection_g/tags/wct/src/mgmt_beacon_cpp.h
frame_injection_g/tags/wct/src/mgmt_beacon_frame.ui
frame_injection_g/tags/wct/src/mgmt_deauth_cpp.cpp
frame_injection_g/tags/wct/src/mgmt_deauth_cpp.h
frame_injection_g/tags/wct/src/mgmt_deauthentication.ui
frame_injection_g/tags/wct/src/mgmt_diasso_cpp.cpp
frame_injection_g/tags/wct/src/mgmt_diasso_cpp.h
frame_injection_g/tags/wct/src/mgmt_probe_req_cpp.cpp
frame_injection_g/tags/wct/src/mgmt_probe_req_cpp.h
frame_injection_g/tags/wct/src/mgmt_probe_request.ui
frame_injection_g/tags/wct/src/mgmt_probe_res_cpp.cpp
frame_injection_g/tags/wct/src/mgmt_probe_res_cpp.h
frame_injection_g/tags/wct/src/mgmt_probe_response.ui
frame_injection_g/tags/wct/src/mgmt_reasso_req_cpp.cpp
frame_injection_g/tags/wct/src/mgmt_reasso_req_cpp.h
frame_injection_g/tags/wct/src/mgmt_reasso_res.ui
frame_injection_g/tags/wct/src/mgmt_reasso_res_cpp.cpp
frame_injection_g/tags/wct/src/mgmt_reasso_res_cpp.h
frame_injection_g/tags/wct/src/mgmt_resasso_req.ui
frame_injection_g/tags/wct/src/tes1.c
frame_injection_g/tags/wct/src/test_id1
frame_injection_g/tags/wct/src/test_id11
frame_injection_g/tags/wct/src/test_id12
frame_injection_g/tags/wct/src/test_id13
frame_injection_g/tags/wct/src/test_id4
frame_injection_g/tags/wct/src/test_id5
frame_injection_g/tags/wct/src/test_id6
frame_injection_g/tags/wct/src/test_id7
frame_injection_g/tags/wct/src/test_id8
frame_injection_g/tags/wct/src/test_id9
Deleted: frame_injection_g/tags/wct/src/Data_Qos_data.ui
===================================================================
--- frame_injection_g/tags/wct/src/Data_Qos_data.ui 2010-03-15 13:50:54 UTC (rev 235)
+++ frame_injection_g/tags/wct/src/Data_Qos_data.ui 2010-03-15 14:01:00 UTC (rev 236)
@@ -1,1931 +0,0 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>Data_Qos_data</class>
-<widget class="QWidget">
- <property name="name">
- <cstring>Data_Qos_data</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>922</width>
- <height>541</height>
- </rect>
- </property>
- <property name="paletteBackgroundColor">
- <color>
- <red>180</red>
- <green>180</green>
- <blue>180</blue>
- </color>
- </property>
- <property name="caption">
- <string>Data Frame - QoS data</string>
- </property>
- <widget class="QFrame">
- <property name="name">
- <cstring>frame4</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>10</y>
- <width>900</width>
- <height>520</height>
- </rect>
- </property>
- <property name="frameShape">
- <enum>StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>Sunken</enum>
- </property>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>groupBox1</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>10</y>
- <width>870</width>
- <height>260</height>
- </rect>
- </property>
- <property name="title">
- <string>MAC Header</string>
- </property>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_4</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>210</x>
- <y>40</y>
- <width>17</width>
- <height>22</height>
- </rect>
- </property>
- <property name="cursor">
- <cursor>0</cursor>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>0; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Type</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_6</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>270</x>
- <y>40</y>
- <width>17</width>
- <height>22</height>
- </rect>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>0; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Subtype</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_2</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>150</x>
- <y>40</y>
- <width>17</width>
- <height>22</height>
- </rect>
- </property>
- <property name="cursor">
- <cursor>0</cursor>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>9; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Protocol Version</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_7</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>290</x>
- <y>40</y>
- <width>17</width>
- <height>22</height>
- </rect>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>0; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Subtype</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_8</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>310</x>
- <y>40</y>
- <width>17</width>
- <height>22</height>
- </rect>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>0; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Subtype</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_3</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>190</x>
- <y>40</y>
- <width>17</width>
- <height>22</height>
- </rect>
- </property>
- <property name="cursor">
- <cursor>0</cursor>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>0; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Type</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_5</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>250</x>
- <y>40</y>
- <width>17</width>
- <height>22</height>
- </rect>
- </property>
- <property name="cursor">
- <cursor>0</cursor>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="inputMask">
- <string>0; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Subtype</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>bit_position</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>133</x>
- <y>20</y>
- <width>40</width>
- <height>21</height>
- </rect>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>b0 b1</string>
- </property>
- <property name="textFormat">
- <enum>PlainText</enum>
- </property>
- <property name="alignment">
- <set>AlignVCenter|AlignLeft</set>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel2_2</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>193</x>
- <y>20</y>
- <width>40</width>
- <height>20</height>
- </rect>
- </property>
- <property name="text">
- <string>b2 b3</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel3_2</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>249</x>
- <y>20</y>
- <width>90</width>
- <height>20</height>
- </rect>
- </property>
- <property name="text">
- <string>b4 b5 b6 b7</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel2</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>100</y>
- <width>80</width>
- <height>20</height>
- </rect>
- </property>
- <property name="text">
- <string>Duration / ID</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel1</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>40</y>
- <width>90</width>
- <height>22</height>
- </rect>
- </property>
- <property name="text">
- <string>Frame control</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_14</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>460</x>
- <y>40</y>
- <width>17</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>9; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>More Data</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_11</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>400</x>
- <y>40</y>
- <width>17</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>9; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>More Fragment</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_12</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>420</x>
- <y>40</y>
- <width>17</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>9; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Retry</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_10</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>380</x>
- <y>40</y>
- <width>17</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>9; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>From DS</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_15</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>480</x>
- <y>40</y>
- <width>17</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>9; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Protected Frame</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_9</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>360</x>
- <y>40</y>
- <width>17</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>9; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>To DS</string>
- </property>
- <property name="whatsThis" stdset="0">
- <string>hai</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_16</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>500</x>
- <y>40</y>
- <width>17</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>9; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Order</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_13</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>440</x>
- <y>40</y>
- <width>17</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>9; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Power Management</string>
- </property>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>groupBox2</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>210</x>
- <y>80</y>
- <width>310</width>
- <height>60</height>
- </rect>
- </property>
- <property name="title">
- <string>Sequence Control</string>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel1_2</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>20</y>
- <width>80</width>
- <height>20</height>
- </rect>
- </property>
- <property name="text">
- <string>Fragment No</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel2_3</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>170</x>
- <y>20</y>
- <width>50</width>
- <height>20</height>
- </rect>
- </property>
- <property name="text">
- <string>Seq No</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frag_no</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>100</x>
- <y>20</y>
- <width>50</width>
- <height>23</height>
- </rect>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="inputMask">
- <string>00; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Number of Fragments -range(0-15)</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_seq_no</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>230</x>
- <y>20</y>
- <width>60</width>
- <height>23</height>
- </rect>
- </property>
- <property name="maxLength">
- <number>4</number>
- </property>
- <property name="inputMask">
- <string>0000; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Sequence number - range(0-4095)</string>
- </property>
- </widget>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>groupBox16</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>550</x>
- <y>20</y>
- <width>301</width>
- <height>120</height>
- </rect>
- </property>
- <property name="title">
- <string></string>
- </property>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address1_4</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>196</x>
- <y>20</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Receiver Addres</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address1_6</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>260</x>
- <y>20</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Receiver Addres</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address1_5</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>228</x>
- <y>20</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Receiver Addres</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address1_1</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>100</x>
- <y>20</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Receiver Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address1_3</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>164</x>
- <y>20</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Receiver Addres</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address1_2</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>132</x>
- <y>20</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Receiver Addres</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel4</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>50</y>
- <width>70</width>
- <height>22</height>
- </rect>
- </property>
- <property name="text">
- <string>Address 2</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel4_2</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>12</x>
- <y>81</y>
- <width>70</width>
- <height>22</height>
- </rect>
- </property>
- <property name="text">
- <string>Address 3</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address2_6</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>260</x>
- <y>50</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address2_5</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>228</x>
- <y>50</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address2_4</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>196</x>
- <y>50</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address2_3</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>165</x>
- <y>50</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address2_2</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>132</x>
- <y>50</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address2_1</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>100</x>
- <y>50</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="inputMask">
- <string></string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address3_6</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>260</x>
- <y>81</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address3_1</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>100</x>
- <y>81</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="inputMask">
- <string></string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address3_3</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>164</x>
- <y>80</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address3_2</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>132</x>
- <y>80</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address3_4</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>196</x>
- <y>81</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_address3_5</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>228</x>
- <y>81</y>
- <width>30</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>FF</string>
- </property>
- <property name="maxLength">
- <number>2</number>
- </property>
- <property name="toolTip" stdset="0">
- <string>Transmitter Address</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel3</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>20</y>
- <width>80</width>
- <height>22</height>
- </rect>
- </property>
- <property name="text">
- <string>Address 1</string>
- </property>
- </widget>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_NAV</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>130</x>
- <y>100</y>
- <width>60</width>
- <height>22</height>
- </rect>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>5</number>
- </property>
- <property name="inputMask">
- <string>00000; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>NAV - Duration (range 0-32785)</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>lineedit_frame_1</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>130</x>
- <y>40</y>
- <width>17</width>
- <height>22</height>
- </rect>
- </property>
- <property name="cursor">
- <cursor>0</cursor>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="maxLength">
- <number>1</number>
- </property>
- <property name="cursorPosition">
- <number>0</number>
- </property>
- <property name="inputMask">
- <string>9; </string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Protocol Version</string>
- </property>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>groupBox4</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>160</y>
- <width>830</width>
- <height>70</height>
- </rect>
- </property>
- <property name="title">
- <string>QoS Control</string>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel8</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>560</x>
- <y>30</y>
- <width>50</width>
- <height>20</height>
- </rect>
- </property>
- <property name="text">
- <string>TXOP</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel3_3_2</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>30</y>
- <width>30</width>
- <height>20</height>
- </rect>
- </property>
- <property name="text">
- <string>TID</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel4_3_2</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>120</x>
- <y>30</y>
- <width>40</width>
- <height>20</height>
- </rect>
- </property>
- <property name="text">
- <string>EOSP</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel5</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>200</x>
- <y>30</y>
- <width>70</width>
- <height>20</height>
- </rect>
- </property>
- <property name="text">
- <string>Ack Policy</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel9</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>400</x>
- <y>30</y>
- <width>58</width>
- <height>20</height>
- </rect>
- </property>
- <property name="text">
- <string>Payload</string>
- </property>
- </widget>
- <widget class="QComboBox">
- <item>
- <property name="text">
- <string>0</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>1</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>2</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>3</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>4</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>5</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>6</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>7</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>8</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>9</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>10</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>11</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>12</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>13</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>14</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>15</string>
- </property>
- </item>
- <property name="name">
- <cstring>combobox_TID</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>50</x>
- ...
[truncated message content] |
|
From: <sat...@us...> - 2010-03-15 13:51:05
|
Revision: 235
http://w-meter.svn.sourceforge.net/w-meter/?rev=235&view=rev
Author: sathakselva
Date: 2010-03-15 13:50:54 +0000 (Mon, 15 Mar 2010)
Log Message:
-----------
All the files(except /src) are removed from the tag 'wct'
Removed Paths:
-------------
frame_injection_g/tags/wct/AUTHORS
frame_injection_g/tags/wct/COPYING
frame_injection_g/tags/wct/ChangeLog
frame_injection_g/tags/wct/Doxyfile
frame_injection_g/tags/wct/INSTALL
frame_injection_g/tags/wct/Makefile
frame_injection_g/tags/wct/Makefile.am
frame_injection_g/tags/wct/Makefile.cvs
frame_injection_g/tags/wct/Makefile.in
frame_injection_g/tags/wct/NEWS
frame_injection_g/tags/wct/README
frame_injection_g/tags/wct/TODO
frame_injection_g/tags/wct/acinclude.m4
frame_injection_g/tags/wct/aclocal.m4
frame_injection_g/tags/wct/admin/
frame_injection_g/tags/wct/autom4te.cache/
frame_injection_g/tags/wct/config.h
frame_injection_g/tags/wct/config.h.in
frame_injection_g/tags/wct/config.log
frame_injection_g/tags/wct/config.status
frame_injection_g/tags/wct/configure
frame_injection_g/tags/wct/configure.files
frame_injection_g/tags/wct/configure.in
frame_injection_g/tags/wct/configure.in.in
frame_injection_g/tags/wct/debug/
frame_injection_g/tags/wct/default
frame_injection_g/tags/wct/doc/
frame_injection_g/tags/wct/html/
frame_injection_g/tags/wct/injection.kdevelop
frame_injection_g/tags/wct/injection.kdevelop.pcs
frame_injection_g/tags/wct/injection.kdevses
frame_injection_g/tags/wct/injection.tag
frame_injection_g/tags/wct/ipheader
frame_injection_g/tags/wct/latex/
frame_injection_g/tags/wct/libtool
frame_injection_g/tags/wct/po/
frame_injection_g/tags/wct/stamp-h.in
frame_injection_g/tags/wct/stamp-h1
frame_injection_g/tags/wct/subdirs
frame_injection_g/tags/wct/templates/
frame_injection_g/tags/wct/wmpit/
frame_injection_g/tags/wct/xml/
Deleted: frame_injection_g/tags/wct/AUTHORS
===================================================================
--- frame_injection_g/tags/wct/AUTHORS 2010-03-15 13:22:53 UTC (rev 234)
+++ frame_injection_g/tags/wct/AUTHORS 2010-03-15 13:50:54 UTC (rev 235)
@@ -1,4 +0,0 @@
-SridarRaja
-Selvam T
-Mohamed Imaran K R
-Vipin M
Deleted: frame_injection_g/tags/wct/COPYING
===================================================================
--- frame_injection_g/tags/wct/COPYING 2010-03-15 13:22:53 UTC (rev 234)
+++ frame_injection_g/tags/wct/COPYING 2010-03-15 13:50:54 UTC (rev 235)
@@ -1,340 +0,0 @@
- GNU GENERAL PUBLIC LICENSE
- Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users. This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it. (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.) You can apply it to
-your programs, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
- To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have. You must make sure that they, too, receive or can get the
-source code. And you must show them these terms so they know their
-rights.
-
- We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
- Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software. If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
- Finally, any free program is threatened constantly by software
-patents. We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary. To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
- The precise terms and conditions for copying, distribution and
-modification follow.
-
- GNU GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License. The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language. (Hereinafter, translation is included without limitation in
-the term "modification".) Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
- 1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
- 2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
- a) You must cause the modified files to carry prominent notices
- stating that you changed the files and the date of any change.
-
- b) You must cause any work that you distribute or publish, that in
- whole or in part contains or is derived from the Program or any
- part thereof, to be licensed as a whole at no charge to all third
- parties under the terms of this License.
-
- c) If the modified program normally reads commands interactively
- when run, you must cause it, when started running for such
- interactive use in the most ordinary way, to print or display an
- announcement including an appropriate copyright notice and a
- notice that there is no warranty (or else, saying that you provide
- a warranty) and that users may redistribute the program under
- these conditions, and telling the user how to view a copy of this
- License. (Exception: if the Program itself is interactive but
- does not normally print such an announcement, your work based on
- the Program is not required to print an announcement.)
-
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
- 3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
- a) Accompany it with the complete corresponding machine-readable
- source code, which must be distributed under the terms of Sections
- 1 and 2 above on a medium customarily used for software interchange; or,
-
- b) Accompany it with a written offer, valid for at least three
- years, to give any third party, for a charge no more than your
- cost of physically performing source distribution, a complete
- machine-readable copy of the corresponding source code, to be
- distributed under the terms of Sections 1 and 2 above on a medium
- customarily used for software interchange; or,
-
- c) Accompany it with the information you received as to the offer
- to distribute corresponding source code. (This alternative is
- allowed only for noncommercial distribution and only if you
- received the program in object code or executable form with such
- an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it. For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable. However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
- 4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License. Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
- 5. You are not required to accept this License, since you have not
-signed it. However, nothing else grants you permission to modify or
-distribute the Program or its derivative works. These actions are
-prohibited by law if you do not accept this License. Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
- 6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions. You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
- 7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all. For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices. Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
- 8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded. In such case, this License incorporates
-the limitation as if written in the body of this License.
-
- 9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation. If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
- 10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission. For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this. Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
- NO WARRANTY
-
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest
-to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
- <one line to give the program's name and a brief idea of what it does.>
- Copyright (C) <year> <name of author>
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-
-Also add information on how to contact you by electronic and paper mail.
-
-If the program is interactive, make it output a short notice like this
-when it starts in an interactive mode:
-
- Gnomovision version 69, Copyright (C) year name of author
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, the commands you use may
-be called something other than `show w' and `show c'; they could even be
-mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the program, if
-necessary. Here is a sample; alter the names:
-
- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
- `Gnomovision' (which makes passes at compilers) written by James Hacker.
-
- <signature of Ty Coon>, 1 April 1989
- Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into
-proprietary programs. If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library. If this is what you want to do, use the GNU Library General
-Public License instead of this License.
Deleted: frame_injection_g/tags/wct/ChangeLog
===================================================================
--- frame_injection_g/tags/wct/ChangeLog 2010-03-15 13:22:53 UTC (rev 234)
+++ frame_injection_g/tags/wct/ChangeLog 2010-03-15 13:50:54 UTC (rev 235)
@@ -1,4 +0,0 @@
-Wed Jul 8 16:36:45 IST 2009
-----------------------------
-Added wmpit inside of wmeter code
-Added install.sh script for single command installation
Deleted: frame_injection_g/tags/wct/Doxyfile
===================================================================
--- frame_injection_g/tags/wct/Doxyfile 2010-03-15 13:22:53 UTC (rev 234)
+++ frame_injection_g/tags/wct/Doxyfile 2010-03-15 13:50:54 UTC (rev 235)
@@ -1,283 +0,0 @@
-# Doxyfile 1.5.1-KDevelop
-
-#---------------------------------------------------------------------------
-# Project related configuration options
-#---------------------------------------------------------------------------
-PROJECT_NAME = wmeter
-PROJECT_NUMBER = 0.1
-OUTPUT_DIRECTORY =
-CREATE_SUBDIRS = NO
-OUTPUT_LANGUAGE = English
-USE_WINDOWS_ENCODING = NO
-BRIEF_MEMBER_DESC = YES
-REPEAT_BRIEF = YES
-ABBREVIATE_BRIEF = "The $name class" \
- "The $name widget" \
- "The $name file" \
- is \
- provides \
- specifies \
- contains \
- represents \
- a \
- an \
- the
-ALWAYS_DETAILED_SEC = NO
-INLINE_INHERITED_MEMB = NO
-FULL_PATH_NAMES = YES
-STRIP_FROM_PATH = /root/
-STRIP_FROM_INC_PATH =
-SHORT_NAMES = NO
-JAVADOC_AUTOBRIEF = NO
-MULTILINE_CPP_IS_BRIEF = NO
-DETAILS_AT_TOP = NO
-INHERIT_DOCS = YES
-SEPARATE_MEMBER_PAGES = NO
-TAB_SIZE = 8
-ALIASES =
-OPTIMIZE_OUTPUT_FOR_C = NO
-OPTIMIZE_OUTPUT_JAVA = NO
-BUILTIN_STL_SUPPORT = NO
-DISTRIBUTE_GROUP_DOC = NO
-SUBGROUPING = YES
-#---------------------------------------------------------------------------
-# Build related configuration options
-#---------------------------------------------------------------------------
-EXTRACT_ALL = NO
-EXTRACT_PRIVATE = NO
-EXTRACT_STATIC = NO
-EXTRACT_LOCAL_CLASSES = YES
-EXTRACT_LOCAL_METHODS = NO
-HIDE_UNDOC_MEMBERS = NO
-HIDE_UNDOC_CLASSES = NO
-HIDE_FRIEND_COMPOUNDS = NO
-HIDE_IN_BODY_DOCS = NO
-INTERNAL_DOCS = NO
-CASE_SENSE_NAMES = YES
-HIDE_SCOPE_NAMES = NO
-SHOW_INCLUDE_FILES = YES
-INLINE_INFO = YES
-SORT_MEMBER_DOCS = YES
-SORT_BRIEF_DOCS = NO
-SORT_BY_SCOPE_NAME = NO
-GENERATE_TODOLIST = YES
-GENERATE_TESTLIST = YES
-GENERATE_BUGLIST = YES
-GENERATE_DEPRECATEDLIST= YES
-ENABLED_SECTIONS =
-MAX_INITIALIZER_LINES = 30
-SHOW_USED_FILES = YES
-SHOW_DIRECTORIES = NO
-FILE_VERSION_FILTER =
-#---------------------------------------------------------------------------
-# configuration options related to warning and progress messages
-#---------------------------------------------------------------------------
-QUIET = NO
-WARNINGS = YES
-WARN_IF_UNDOCUMENTED = YES
-WARN_IF_DOC_ERROR = YES
-WARN_NO_PARAMDOC = NO
-WARN_FORMAT = "$file:$line: $text"
-WARN_LOGFILE =
-#---------------------------------------------------------------------------
-# configuration options related to the input files
-#---------------------------------------------------------------------------
-INPUT = .
-FILE_PATTERNS = *.c \
- *.cc \
- *.cxx \
- *.cpp \
- *.c++ \
- *.d \
- *.java \
- *.ii \
- *.ixx \
- *.ipp \
- *.i++ \
- *.inl \
- *.h \
- *.hh \
- *.hxx \
- *.hpp \
- *.h++ \
- *.idl \
- *.odl \
- *.cs \
- *.php \
- *.php3 \
- *.inc \
- *.m \
- *.mm \
- *.dox \
- *.py \
- *.C \
- *.CC \
- *.C++ \
- *.II \
- *.I++ \
- *.H \
- *.HH \
- *.H++ \
- *.CS \
- *.PHP \
- *.PHP3 \
- *.M \
- *.MM \
- *.PY \
- *.C \
- *.H \
- *.tlh \
- *.diff \
- *.patch \
- *.moc \
- *.xpm \
- *.dox
-RECURSIVE = yes
-EXCLUDE =
-EXCLUDE_SYMLINKS = NO
-EXCLUDE_PATTERNS =
-EXAMPLE_PATH =
-EXAMPLE_PATTERNS = *
-EXAMPLE_RECURSIVE = NO
-IMAGE_PATH =
-INPUT_FILTER =
-FILTER_PATTERNS =
-FILTER_SOURCE_FILES = NO
-#---------------------------------------------------------------------------
-# configuration options related to source browsing
-#---------------------------------------------------------------------------
-SOURCE_BROWSER = NO
-INLINE_SOURCES = NO
-STRIP_CODE_COMMENTS = YES
-REFERENCED_BY_RELATION = YES
-REFERENCES_RELATION = YES
-REFERENCES_LINK_SOURCE = YES
-USE_HTAGS = NO
-VERBATIM_HEADERS = YES
-#---------------------------------------------------------------------------
-# configuration options related to the alphabetical class index
-#---------------------------------------------------------------------------
-ALPHABETICAL_INDEX = NO
-COLS_IN_ALPHA_INDEX = 5
-IGNORE_PREFIX =
-#---------------------------------------------------------------------------
-# configuration options related to the HTML output
-#---------------------------------------------------------------------------
-GENERATE_HTML = YES
-HTML_OUTPUT = html
-HTML_FILE_EXTENSION = .html
-HTML_HEADER =
-HTML_FOOTER =
-HTML_STYLESHEET =
-HTML_ALIGN_MEMBERS = YES
-GENERATE_HTMLHELP = NO
-CHM_FILE =
-HHC_LOCATION =
-GENERATE_CHI = NO
-BINARY_TOC = NO
-TOC_EXPAND = NO
-DISABLE_INDEX = NO
-ENUM_VALUES_PER_LINE = 4
-GENERATE_TREEVIEW = NO
-TREEVIEW_WIDTH = 250
-#---------------------------------------------------------------------------
-# configuration options related to the LaTeX output
-#---------------------------------------------------------------------------
-GENERATE_LATEX = YES
-LATEX_OUTPUT = latex
-LATEX_CMD_NAME = latex
-MAKEINDEX_CMD_NAME = makeindex
-COMPACT_LATEX = NO
-PAPER_TYPE = a4wide
-EXTRA_PACKAGES =
-LATEX_HEADER =
-PDF_HYPERLINKS = NO
-USE_PDFLATEX = NO
-LATEX_BATCHMODE = NO
-LATEX_HIDE_INDICES = NO
-#---------------------------------------------------------------------------
-# configuration options related to the RTF output
-#---------------------------------------------------------------------------
-GENERATE_RTF = NO
-RTF_OUTPUT = rtf
-COMPACT_RTF = NO
-RTF_HYPERLINKS = NO
-RTF_STYLESHEET_FILE =
-RTF_EXTENSIONS_FILE =
-#---------------------------------------------------------------------------
-# configuration options related to the man page output
-#---------------------------------------------------------------------------
-GENERATE_MAN = NO
-MAN_OUTPUT = man
-MAN_EXTENSION = .3
-MAN_LINKS = NO
-#---------------------------------------------------------------------------
-# configuration options related to the XML output
-#---------------------------------------------------------------------------
-GENERATE_XML = yes
-XML_OUTPUT = xml
-XML_SCHEMA =
-XML_DTD =
-XML_PROGRAMLISTING = YES
-#---------------------------------------------------------------------------
-# configuration options for the AutoGen Definitions output
-#---------------------------------------------------------------------------
-GENERATE_AUTOGEN_DEF = NO
-#---------------------------------------------------------------------------
-# configuration options related to the Perl module output
-#---------------------------------------------------------------------------
-GENERATE_PERLMOD = NO
-PERLMOD_LATEX = NO
-PERLMOD_PRETTY = YES
-PERLMOD_MAKEVAR_PREFIX =
-#---------------------------------------------------------------------------
-# Configuration options related to the preprocessor
-#---------------------------------------------------------------------------
-ENABLE_PREPROCESSING = YES
-MACRO_EXPANSION = NO
-EXPAND_ONLY_PREDEF = NO
-SEARCH_INCLUDES = YES
-INCLUDE_PATH =
-INCLUDE_FILE_PATTERNS =
-PREDEFINED =
-EXPAND_AS_DEFINED =
-SKIP_FUNCTION_MACROS = YES
-#---------------------------------------------------------------------------
-# Configuration::additions related to external references
-#---------------------------------------------------------------------------
-TAGFILES =
-GENERATE_TAGFILE = injection.tag
-ALLEXTERNALS = NO
-EXTERNAL_GROUPS = YES
-PERL_PATH = /usr/bin/perl
-#---------------------------------------------------------------------------
-# Configuration options related to the dot tool
-#---------------------------------------------------------------------------
-CLASS_DIAGRAMS = YES
-HIDE_UNDOC_RELATIONS = YES
-HAVE_DOT = NO
-CLASS_GRAPH = YES
-COLLABORATION_GRAPH = YES
-GROUP_GRAPHS = YES
-UML_LOOK = NO
-TEMPLATE_RELATIONS = NO
-INCLUDE_GRAPH = YES
-INCLUDED_BY_GRAPH = YES
-CALL_GRAPH = NO
-CALLER_GRAPH = NO
-GRAPHICAL_HIERARCHY = YES
-DIRECTORY_GRAPH = YES
-DOT_IMAGE_FORMAT = png
-DOT_PATH =
-DOTFILE_DIRS =
-MAX_DOT_GRAPH_WIDTH = 1024
-MAX_DOT_GRAPH_HEIGHT = 1024
-MAX_DOT_GRAPH_DEPTH = 1000
-DOT_TRANSPARENT = NO
-DOT_MULTI_TARGETS = NO
-GENERATE_LEGEND = YES
-DOT_CLEANUP = YES
-#---------------------------------------------------------------------------
-# Configuration::additions related to the search engine
-#---------------------------------------------------------------------------
-SEARCHENGINE = NO
Deleted: frame_injection_g/tags/wct/INSTALL
===================================================================
--- frame_injection_g/tags/wct/INSTALL 2010-03-15 13:22:53 UTC (rev 234)
+++ frame_injection_g/tags/wct/INSTALL 2010-03-15 13:50:54 UTC (rev 235)
@@ -1,41 +0,0 @@
-We have tested the software on fedora based system using atheros based wireless devices. See list of supported hardware. There is no reason why it should not work on other distros but right now its fully functional on a fedora system. We plan to test it on other platforms and update the package.
-
-The dependencies of the w-meter package include the following
-
-The GNU Tool chains (including gcc, gcc-c++, automake etc etc)
-
-The pcap library (libpcap and libpacp-devel)
-
-iw tool
-
-These can be installed using the following command.
-
-yum install libpcap,libpacp-devel,iw
-
-Get a copy of the code using svn by using the command below or grab a release at http://sourceforge.net/projects/w-meter/files
-
-svn co https://w-meter.svn.sourceforge.net/svnroot/w-meter w-meter
-
-change into the w-meter folder and run the installer script as follows
-
-./install.sh
-
-find out the available cards and physical interfaces (wlan0 and phy0 in our local machines) using the command.
-
-iw list
-
-You need to put your wireless cards in monitor mode
-
-So first delete the interface and recreate using the following command
-
-iw dev wlan0 del
-iw phy phy0 interface add wlan0 type monitor
-
-Start the application by changing into the src directory
-
-cd src
-./injection
-
-Have a look at the list of supported frames to know the type of frames that can be injected as of now.
-
-Send in your queries to w-m...@so...
Deleted: frame_injection_g/tags/wct/Makefile
===================================================================
--- frame_injection_g/tags/wct/Makefile 2010-03-15 13:22:53 UTC (rev 234)
+++ frame_injection_g/tags/wct/Makefile 2010-03-15 13:50:54 UTC (rev 235)
@@ -1,912 +0,0 @@
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
-# KDE tags expanded automatically by am_edit - $Revision: 483858 $
-# Makefile. Generated from Makefile.in by configure.
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-
-
-pkgdatadir = $(datadir)/injection
-pkglibdir = $(libdir)/injection
-pkgincludedir = $(includedir)/injection
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = x86_64-redhat-linux-gnu
-host_triplet = x86_64-redhat-linux-gnu
-target_triplet = x86_64-redhat-linux-gnu
-subdir = .
-DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(srcdir)/config.h.in \
- $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
- TODO admin/compile admin/config.guess admin/config.sub \
- admin/depcomp admin/install-sh admin/ltmain.sh admin/missing \
- admin/mkinstalldirs admin/ylwrap
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
- $(top_srcdir)/configure.in
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
- configure.lineno config.status.lineno
-mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
-CONFIG_HEADER = config.h
-CONFIG_CLEAN_FILES =
-SOURCES =
-DIST_SOURCES =
-#>- RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
-#>- html-recursive info-recursive install-data-recursive \
-#>- install-dvi-recursive install-exec-recursive \
-#>- install-html-recursive install-info-recursive \
-#>- install-pdf-recursive install-ps-recursive install-recursive \
-#>- installcheck-recursive installdirs-recursive pdf-recursive \
-#>- ps-recursive uninstall-recursive
-#>+ 7
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive nmcheck-recursive bcheck-recursive
-RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
- distclean-recursive maintainer-clean-recursive
-ETAGS = etags
-CTAGS = ctags
-DIST_SUBDIRS = $(SUBDIRS)
-#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-#>+ 1
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
-distdir = $(PACKAGE)-$(VERSION)
-top_distdir = $(distdir)
-am__remove_distdir = \
- { test ! -d $(distdir) \
- || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
- && rm -fr $(distdir); }; }
-DIST_ARCHIVES = $(distdir).tar.gz
-GZIP_ENV = --best
-distuninstallcheck_listfiles = find . -type f -print
-distcleancheck_listfiles = find . -type f -print
-ACLOCAL = ${SHELL} /extra/work/wmeter/src/inject/admin/missing --run aclocal-1.10
-AMTAR = ${SHELL} /extra/work/wmeter/src/inject/admin/missing --run tar
-AR = ar
-ARTSCCONFIG = /usr/bin/artsc-config
-AUTOCONF = $(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure
-AUTODIRS =
-AUTOHEADER = ${SHELL} /extra/work/wmeter/src/inject/admin/missing --run autoheader
-AUTOMAKE = ${SHELL} /extra/work/wmeter/src/inject/admin/missing --run automake-1.10
-AWK = gawk
-CC = gcc
-CCDEPMODE = depmode=gcc3
-CFLAGS = -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -Wformat-security -Wmissing-format-attribute
-CONF_FILES = $(top_srcdir)/./admin/configure.in.min $(top_srcdir)/configure.in.in
-CPP = gcc -E
-CPPFLAGS = -DQT_THREAD_SUPPORT -D_REENTRANT
-CXX = g++
-CXXCPP = g++ -E
-CXXDEPMODE = depmode=gcc3
-CXXFLAGS = -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-CYGPATH_W = echo
-DCOPIDL = /usr/bin/dcopidl
-DCOPIDL2CPP = /usr/bin/dcopidl2cpp
-DCOPIDLNG = /usr/bin/dcopidlng
-DCOP_DEPENDENCIES = $(DCOPIDL) $(DCOPIDLNG)
-DEFS = -DHAVE_CONFIG_H
-DEPDIR = .deps
-ECHO = echo
-ECHO_C =
-ECHO_N = -n
-ECHO_T =
-EGREP = /bin/grep -E
-ENABLE_PERMISSIVE_FLAG = -fpermissive
-EXEEXT =
-F77 = gfortran
-FFLAGS = -g -O2
-FRAMEWORK_COREAUDIO =
-GMSGFMT = /usr/bin/msgfmt
-GREP = /bin/grep
-HAVE_GCC_VISIBILITY = 0
-INSTALL = /usr/bin/install -c -p
-INSTALL_DATA = ${INSTALL} -m 644
-INSTALL_PROGRAM = ${INSTALL} $(INSTALL_STRIP_FLAG)
-INSTALL_SCRIPT = ${INSTALL}
-INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
-KCFG_DEPENDENCIES = $(KCONFIG_COMPILER)
-KCONFIG_COMPILER = /usr/bin/kconfig_compiler
-KDECONFIG = /usr/bin/kde-config
-KDE_CHECK_PLUGIN = $(KDE_PLUGIN) -rpath $(libdir)
-KDE_EXTRA_RPATH =
-KDE_INCLUDES = -I/usr/include/kde
-KDE_LDFLAGS = -L/usr/lib64
-KDE_MT_LDFLAGS =
-KDE_MT_LIBS = -lpthread
-KDE_NO_UNDEFINED = -Wl,--no-undefined -Wl,--allow-shlib-undefined
-KDE_PLUGIN = -avoid-version -module -no-undefined $(KDE_NO_UNDEFINED) $(KDE_RPATH) $(KDE_MT_LDFLAGS)
-KDE_RPATH = -R $(libdir) -R $(kde_libraries) -R $(qt_libraries) -R $(x_libraries)
-KDE_USE_CLOSURE_FALSE =
-KDE_USE_CLOSURE_TRUE = #
-KDE_USE_FINAL_FALSE =
-KDE_USE_FINAL_TRUE = #
-KDE_USE_FPIE = -fPIE
-KDE_USE_NMCHECK_FALSE =
-KDE_USE_NMCHECK_TRUE = #
-KDE_USE_PIE = -pie
-KDE_XSL_STYLESHEET = /usr/share/apps/ksgmltools2/customization/kde-chunk.xsl
-LDFLAGS = -lwmpit -lpcap
-LDFLAGS_AS_NEEDED =
-LDFLAGS_NEW_DTAGS =
-LIBCOMPAT =
-LIBCRYPT = -lcrypt
-LIBDL = -ldl
-LIBJPEG = -ljpeg
-LIBOBJS =
-LIBPNG = -lpng -lz -lm
-LIBPTHREAD = -lpthread
-LIBRESOLV = -lresolv
-LIBS =
-LIBSM = -lSM -lICE
-LIBSOCKET =
-LIBTOOL = $(SHELL) $(top_builddir)/libtool --silent
-LIBUCB =
-LIBUTIL = -lutil
-LIBZ = -lz
-LIB_KAB = -lkab
-LIB_KABC = -lkabc
-LIB_KDECORE = -lkdecore
-LIB_KDED =
-LIB_KDEPIM = -lkdepim
-LIB_KDEPRINT = -lkdeprint
-LIB_KDEUI = -lkdeui
-LIB_KDNSSD = -lkdnssd
-LIB_KFILE = -lkio
-LIB_KFM =
-LIB_KHTML = -lkhtml
-LIB_KIMPROXY = -lkimproxy
-LIB_KIO = -lkio
-LIB_KJS = -lkjs
-LIB_KNEWSTUFF = -lknewstuff
-LIB_KPARTS = -lkparts
-LIB_KSPELL = -lkspell
-LIB_KSYCOCA = -lkio
-LIB_KUNITTEST = -lkunittest
-LIB_KUTILS = -lkutils
-LIB_POLL =
-LIB_QPE =
-LIB_QT = -lqt-mt $(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM) -lpthread
-LIB_SMB = -lsmb
-LIB_X11 = -lX11 $(LIBSOCKET)
-LIB_XEXT = -lXext
-LIB_XRENDER =
-LN_S = ln -s
-LTLIBOBJS =
-MAKEINFO = ${SHELL} /extra/work/wmeter/src/inject/admin/missing --run makeinfo
-MAKEKDEWIDGETS =
-MCOPIDL = /usr/bin/mcopidl
-MEINPROC = /usr/bin/meinproc
-MKDIR_P = /bin/mkdir -p
-MOC = /usr/lib64/qt-3.3/bin/moc
-MSGFMT = /usr/bin/msgfmt
-NOOPT_CFLAGS = -O0
-NOOPT_CXXFLAGS = -O0
-OBJEXT = o
-PACKAGE = injection
-PACKAGE_BUGREPORT =
-PACKAGE_NAME =
-PACKAGE_STRING =
-PACKAGE_TARNAME =
-PACKAGE_VERSION =
-PATH_SEPARATOR = :
-PERL = /usr/bin/perl
-PKG_CONFIG = /usr/bin/pkg-config
-QTE_NORTTI =
-QT_INCLUDES = -I/usr/lib64/qt-3.3/include
-QT_LDFLAGS = -L/usr/lib64/qt-3.3/lib
-RANLIB = ranlib
-SET_MAKE =
-SHELL = /bin/sh
-STRIP = strip
-TOPSUBDIRS = doc po src
-UIC = /usr/lib64/qt-3.3/bin/uic -L $(kde_widgetdir) -nounload
-UIC_TR = tr2i18n
-USER_INCLUDES =
-USER_LDFLAGS =
-USE_EXCEPTIONS = -fexceptions
-USE_RTTI =
-USE_THREADS =
-VERSION = 0.1
-WOVERLOADED_VIRTUAL =
-XGETTEXT = /usr/bin/xgettext
-XMKMF =
-XMLLINT = /usr/bin/xmllint
-X_EXTRA_LIBS =
-X_INCLUDES = -I.
-X_LDFLAGS = -L/usr/lib64
-X_PRE_LIBS =
-X_RPATH = -R $(x_libraries)
-abs_builddir = /extra/work/wmeter/src/inject
-abs_srcdir = /extra/work/wmeter/src/inject
-abs_top_builddir = /extra/work/wmeter/src/inject
-abs_top_srcdir = /extra/work/wmeter/src/inject
-ac_ct_CC = gcc
-ac_ct_CXX = g++
-ac_ct_F77 = gfortran
-all_includes = -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I.
-all_libraries = -L/usr/lib64/qt-3.3/lib -L/usr/lib64
-am__include = include
-am__leading_dot = .
-am__quote =
-am__tar = ${AMTAR} chof - "$$tardir"
-am__untar = ${AMTAR} xf -
-bindir = ${exec_prefix}/bin
-build = x86_64-redhat-linux-gnu
-build_alias =
-build_cpu = x86_64
-build_os = linux-gnu
-build_vendor = redhat
-builddir = .
-datadir = ${datarootdir}
-datarootdir = ${prefix}/share
-docdir = ${datarootdir}/doc/${PACKAGE}
-dvidir = ${docdir}
-exec_prefix = ${prefix}
-host = x86_64-redhat-linux-gnu
-host_alias =
-host_cpu = x86_64
-host_os = linux-gnu
-host_vendor = redhat
-htmldir = ${docdir}
-includedir = ${prefix}/include
-infodir = ${datarootdir}/info
-install_sh = $(SHELL) /extra/work/wmeter/src/inject/admin/install-sh
-kde_appsdir = ${datadir}/applnk
-kde_bindir = ${exec_prefix}/bin
-kde_confdir = ${datadir}/config
-kde_datadir = ${datadir}/apps
-kde_htmldir = ${datadir}/doc/HTML
-kde_icondir = ${datadir}/icons
-kde_includes = /usr/include/kde
-kde_kcfgdir = ${datadir}/config.kcfg
-kde_libraries = /usr/lib64
-kde_libs_htmldir = /usr/share/doc/HTML
-kde_libs_prefix = /usr
-kde_locale = ${datadir}/locale
-kde_mimedir = ${datadir}/mimelnk
-kde_moduledir = ${libdir}/kde3
-kde_qtver = 3
-kde_servicesdir = ${datadir}/services
-kde_servicetypesdir = ${datadir}/servicetypes
-kde_sounddir = ${datadir}/sounds
-kde_styledir = ${libdir}/kde3/plugins/styles
-kde_templatesdir = ${datadir}/templates
-kde_wallpaperdir = ${datadir}/wallpapers
-kde_widgetdir = /usr/lib64/kde3/plugins/designer
-kdeinitdir = $(kde_moduledir)
-libdir = ${exec_prefix}/lib64
-libexecdir = ${exec_prefix}/libexec
-localedir = ${datarootdir}/locale
-localstatedir = ${prefix}/var
-mandir = ${datarootdir}/man
-mkdir_p = /bin/mkdir -p
-oldincludedir = /usr/include
-pdfdir = ${docdir}
-prefix = /usr
-program_transform_name = s,x,x,
-psdir = ${docdir}
-qt_includes = /usr/lib64/qt-3.3/include
-qt_libraries = /usr/lib64/qt-3.3/lib
-sbindir = ${exec_prefix}/sbin
-sharedstatedir = ${prefix}/com
-srcdir = .
-sysconfdir = ${prefix}/etc
-target = x86_64-redhat-linux-gnu
-target_alias =
-target_cpu = x86_64
-target_os = linux-gnu
-target_vendor = redhat
-top_build_prefix =
-top_builddir = .
-top_srcdir = .
-x_includes = .
-x_libraries = /usr/lib64
-xdg_appsdir = ${datadir}/applications/kde
-xdg_directorydir = ${datadir}/desktop-directories
-xdg_menudir = ${sysconfdir}/xdg/menus
-SUBDIRS = $(TOPSUBDIRS)
-MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
-EXTRA_DIST = admin COPYING configure.in.in
-#>- all: config.h
-#>+ 1
-all: docs-am config.h
- $(MAKE) $(AM_MAKEFLAGS) all-recursive
-
-.SUFFIXES:
-am--refresh:
- @:
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
-#>- @for dep in $?; do \
-#>- case '$(am__configure_deps)' in \
-#>- *$$dep*) \
-#>- echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
-#>- cd $(srcdir) && $(AUTOMAKE) --gnu \
-#>- && exit 0; \
-#>- exit 1;; \
-#>- esac; \
-#>- done; \
-#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
-#>- cd $(top_srcdir) && \
-#>- $(AUTOMAKE) --gnu Makefile
-#>+ 14
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
- ( \
- cd $(srcdir) && $(AUTOMAKE) --gnu \
- ) || exit 1; echo ' cd $(top_srcdir) && perl admin/am_edit '; cd $(top_srcdir) && perl admin/am_edit && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
- cd $(top_srcdir) && \
- $(AUTOMAKE) --gnu Makefile
- cd $(top_srcdir) && perl admin/am_edit Makefile.in
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- echo ' $(SHELL) ./config.status'; \
- $(SHELL) ./config.status;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
- esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- $(SHELL) ./config.status --recheck
-
-$(top_srcdir)/configure: $(am__configure_deps)
-#>- cd $(srcdir) && $(AUTOCONF)
-#>+ 2
- cd $(srcdir) && rm -f configure
- cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure
-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
- cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
-
-config.h: stamp-h1
- @if test ! -f $@; then \
- rm -f stamp-h1; \
- $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
- else :; fi
-
-stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
- @rm -f stamp-h1
- cd $(top_builddir) && $(SHELL) ./config.status config.h
-$(srcdir)/config.h.in: $(am__configure_deps)
- cd $(top_srcdir) && $(AUTOHEADER)
- rm -f stamp-h1
- touch $@
-
-distclean-hdr:
- -rm -f config.h stamp-h1
-
-mostlyclean-libtool:
- -rm -f *.lo
-
-clean-libtool:
- -rm -rf .libs _libs
-
-distclean-libtool:
- -rm -f libtool
-
-# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-# (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
- @failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
- dot_seen=no; \
- target=`echo $@ | sed s/-recursive//`; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
- echo "Making $$target in $$subdir"; \
- if test "$$subdir" = "."; then \
- dot_seen=yes; \
- local_target="$$target-am"; \
- else \
- local_target="$$target"; \
- fi; \
- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || eval $$failcom; \
- done; \
- if test "$$dot_seen" = "no"; then \
- $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
- fi; test -z "$$fail"
-
-$(RECURSIVE_CLEAN_TARGETS):
- @failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
- dot_seen=no; \
- case "$@" in \
- distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
- *) list='$(SUBDIRS)' ;; \
- esac; \
- rev=''; for subdir in $$list; do \
- if test "$$subdir" = "."; then :; else \
- rev="$$subdir $$rev"; \
- fi; \
- done; \
- rev="$$rev ."; \
- target=`echo $@ | sed s/-recursive//`; \
- for subdir in $$rev; do \
- echo "Making $$target in $$subdir"; \
- if test "$$subdir" = "."; then \
- local_target="$$target-am"; \
- else \
- local_target="$$target"; \
- fi; \
- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || eval $$failcom; \
- done && test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- tags=; \
- here=`pwd`; \
- if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
- include_option=--etags-include; \
- empty_fix=.; \
- else \
- include_option=--include; \
- empty_fix=; \
- fi; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
- test ! -f $$subdir/TAGS || \
- tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
- fi; \
- done; \
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
- test -n "$$unique" || unique=$$empty_fix; \
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- $$tags $$unique; \
- fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- tags=; \
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- test -z "$(CTAGS_ARGS)$$tags$$unique" \
- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- $$tags $$unique
-
-GTAGS:
- here=`$(am__cd) $(top_builddir) && pwd` \
- && cd $(top_srcdir) \
- && gtags -i $(GTAGS_ARGS) $$here
-
-distclean-tags:
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
- $(am__remove_distdir)
- test -d $(distdir) || mkdir $(distdir)
- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- list='$(DISTFILES)'; \
- dist_files=`for file in $$list; do echo $$file; done | \
- sed -e "s|^$$srcdirstrip/||;t" \
- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- case $$dist_files in \
- */*) $(MKDIR_P) `echo "$$dist_files" | \
- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- sort -u` ;; \
- esac; \
- for file in $$dist_files; do \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- if test -d $$d/$$file; then \
- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
- fi; \
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
- else \
- test -f $(distdir)/$$file \
- || cp -p $$d/$$file $(distdir)/$$file \
- || exit 1; \
- fi; \
- done
- list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
- test -d "$(distdir)/$$subdir" \
- || $(MKDIR_P) "$(distdir)/$$subdir" \
- || exit 1; \
- distdir=`$(am__cd) $(distdir) && pwd`; \
- top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
- (cd $$subdir && \
- $(MAKE) $(AM_MAKEFLAGS) \
- top_distdir="$$top_distdir" \
- distdir="$$distdir/$$subdir" \
- am__remove_distdir=: \
- am__skip_length_check=: \
- distdir) \
- || exit 1; \
- fi; \
- done
- $(MAKE) $(AM_MAKEFLAGS) \
- top_distdir="$(top_distdir)" distdir="$(distdir)" \
- dist-hook
- -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
- ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
- ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
- ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
- || chmod -R a+r $(distdir)
-dist-gzip: distdir
- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
- $(am__remove_distdir)
-
-dist-bzip2: distdir
- tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
- $(am__remove_distdir)
-
-dist-lzma: distdir
- tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
- $(am__remove_distdir)
-
-dist-tarZ: distdir
- tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
- $(am__remove_distdir)
-
-dist-shar: distdir
- shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
- $(am__remove_distdir)
-
-dist-zip: distdir
- -rm -f $(distdir).zip
- zip -rq $(distdir).zip $(distdir)
- $(am__remove_distdir)
-
-dist dist-all: distdir
- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
- $(am__remove_distdir)
-
-# This target untars the dist file and tries a VPATH configuration. Then
-# it guarantees that the distribution is self-contained by making another
-# tarfile.
-distcheck: dist
- case '$(DIST_ARCHIVES)' in \
- *.tar.gz*) \
- GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
- *.tar.bz2*) \
- bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
- *.tar.lzma*) \
- unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
- *.tar.Z*) \
- uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
- *.shar.gz*) \
- GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
- *.zip*) \
- unzip $(distdir).zip ;;\
- esac
- chmod -R a-w $(distdir); chmod a+w $(distdir)
- mkdir $(distdir)/_build
- mkdir $(distdir)/_inst
- chmod a-w $(distdir)
- dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
- && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
- && cd $(distdir)/_build \
- && ../configure --srcdir=.. --prefix="$$dc_install_base" \
- $(DISTCHECK_CONFIGURE_FLAGS) \
- && $(MAKE) $(AM_MAKEFLAGS) \
- && $(MAKE) $(AM_MAKEFLAGS) dvi \
- && $(MAKE) $(AM_MAKEFLAGS) check \
- && $(MAKE) $(AM_MAKEFLAGS) install \
- && $(MAKE) $(AM_MAKEFLAGS) installcheck \
- && $(MAKE) $(AM_MAKEFLAGS) uninstall \
- && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
- distuninstallcheck \
- && chmod -R a-w "$$dc_install_base" \
- && ({ \
- (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
- distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
- } || { rm -rf "$$dc_destdir"; exit 1; }) \
- && rm -rf "$$dc_destdir" \
- && $(MAKE) $(AM_MAKEFLAGS) dist \
- && rm -rf $(DIST_ARCHIVES) \
- && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
- $(am__remove_distdir)
- @(echo "$(distdir) archives ready for distribution: "; \
- list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
- sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
-distuninstallcheck:
- @cd $(distuninstallcheck_dir) \
- && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
- || { echo "ERROR: files left after uninstall:" ; \
- if test -n "$(DESTDIR)"; then \
- echo " (check DESTDIR support)"; \
- fi ; \
- $(distuninstallcheck_listfiles) ; \
- exit 1; } >&2
-distcleancheck: distclean
- @if test '$(srcdir)' = . ; then \
- echo "ERROR: distcleancheck can only run from a VPATH build" ; \
- exit 1 ; \
- fi
- @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
- || { echo "ERROR: files left in build directory after distclean:" ; \
- $(distcleancheck_listfiles) ; \
- exit 1; } >&2
-check-am: all-am
-check: check-recursive
-all-am: Makefile config.h
-installdirs: installdirs-recursive
-installdirs-am:
-install: install-recursive
-install-exec: install-exec-recursive
-install-data: install-data-recursive
-uninstall: uninstall-recursive
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-recursive
-install-strip:
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- `test -z '$(STRIP)' || \
- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-
-maintainer-clean-generic:
- @echo "This command is intended for maintainers to use"
- @echo "it deletes files that may require special tools to rebuild."
- -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
-#>- clean: clean-recursive
-#>+ 1
-clean: kde-rpo-clean clean-recursive
-
-#>- clean-am: clean-generic clean-libtool mostlyclean-am
-#>+ 1
-clean-am: clean-bcheck clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-recursive
- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
- -rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-hdr \
- distclean-libtool distclean-tags
-
-dvi: dvi-recursive
-
-dvi-am:
-
-html: html-recursive
-
-info: info-recursive
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-recursive
-
-install-exec-am:
-
-install-html: install-html-recursive
-
-install-info: install-info-recursive
-
-install-man:
-
-install-pdf: install-pdf-recursive
-
-install-ps: install-ps-recursive
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-recursive
- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
- -rm -rf $(top_srcdir)/autom4te.cache
- -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-recursive
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-recursive
-
-pdf-am:
-
-ps: ps-recursive
-
-ps-am:
-
-uninstall-am:
-
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
- install-strip
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am am--refresh check check-am clean clean-generic \
- clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
- dist-gzip dist-hook dist-lzma dist-shar dist-tarZ dist-zip \
- distcheck distclean distclean-generic distclean-hdr \
- distclean-libtool distclean-tags distcleancheck distdir \
- distuninstallcheck dvi dvi-am html html-am info info-am \
- insta...
[truncated message content] |
|
From: <sat...@us...> - 2010-03-15 13:23:01
|
Revision: 234
http://w-meter.svn.sourceforge.net/w-meter/?rev=234&view=rev
Author: sathakselva
Date: 2010-03-15 13:22:53 +0000 (Mon, 15 Mar 2010)
Log Message:
-----------
Automake version changed to 1.6.3 and reference to non used header files are removed.
Modified Paths:
--------------
frame_injection_g/trunk/doc/Makefile
frame_injection_g/trunk/doc/Makefile.in
frame_injection_g/trunk/doc/en/Makefile
frame_injection_g/trunk/doc/en/Makefile.in
frame_injection_g/trunk/injection.kdevelop
frame_injection_g/trunk/libtool
frame_injection_g/trunk/po/Makefile
frame_injection_g/trunk/po/Makefile.in
frame_injection_g/trunk/src/Makefile
frame_injection_g/trunk/src/Makefile.in
frame_injection_g/trunk/src/control_pspoll_cpp.cpp
frame_injection_g/trunk/src/control_pspoll_cpp.moc
frame_injection_g/trunk/src/data_dataFrame.h
frame_injection_g/trunk/src/data_dataframe_cpp.cpp
frame_injection_g/trunk/src/data_qos_data_cpp.cpp
frame_injection_g/trunk/src/inj_control_ack_cpp.cpp
frame_injection_g/trunk/src/inj_control_cts.h
frame_injection_g/trunk/src/inj_control_cts_cpp.cpp
frame_injection_g/trunk/src/inj_control_form.h
frame_injection_g/trunk/src/inj_control_form_cpp.cpp
frame_injection_g/trunk/src/inj_ctrl_ack.h
frame_injection_g/trunk/src/inj_main_window.h
frame_injection_g/trunk/src/mgmt_asso_req_cpp.cpp
frame_injection_g/trunk/src/mgmt_asso_res_cpp.cpp
frame_injection_g/trunk/src/mgmt_authen_cpp.cpp
frame_injection_g/trunk/src/mgmt_beacon_cpp.cpp
frame_injection_g/trunk/src/mgmt_beacon_frame.h
frame_injection_g/trunk/src/mgmt_deauth_cpp.cpp
frame_injection_g/trunk/src/mgmt_diasso_cpp.cpp
frame_injection_g/trunk/src/mgmt_probe_req_cpp.cpp
frame_injection_g/trunk/src/mgmt_probe_res_cpp.cpp
frame_injection_g/trunk/src/mgmt_probe_response.h
frame_injection_g/trunk/src/mgmt_reasso_req_cpp.cpp
frame_injection_g/trunk/src/mgmt_reasso_res.h
frame_injection_g/trunk/src/mgmt_reasso_res_cpp.cpp
frame_injection_g/trunk/src/mgmt_resasso_req.h
Modified: frame_injection_g/trunk/doc/Makefile
===================================================================
--- frame_injection_g/trunk/doc/Makefile 2010-03-11 14:40:30 UTC (rev 233)
+++ frame_injection_g/trunk/doc/Makefile 2010-03-15 13:22:53 UTC (rev 234)
@@ -1,8 +1,8 @@
-# Makefile.in generated by automake 1.7.9 from Makefile.am.
+# Makefile.in generated by automake 1.6.3 from Makefile.am.
# KDE tags expanded automatically by am_edit - $Revision: 483858 $
# doc/Makefile. Generated from Makefile.in by configure.
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -17,81 +17,108 @@
# the SUBDIRS is filled automatically by am_edit. If files are
# in this directory they are installed into the english dir
+SHELL = /bin/sh
srcdir = .
top_srcdir = ..
+prefix = /usr
+exec_prefix = ${prefix}
+
+bindir = ${exec_prefix}/bin
+sbindir = ${exec_prefix}/sbin
+libexecdir = ${exec_prefix}/libexec
+datadir = ${prefix}/share
+sysconfdir = ${prefix}/etc
+sharedstatedir = ${prefix}/com
+localstatedir = ${prefix}/var
+libdir = ${exec_prefix}/lib
+infodir = ${prefix}/share/info
+mandir = ${prefix}/share/man
+includedir = ${prefix}/include
+oldincludedir = /usr/include
pkgdatadir = $(datadir)/injection
pkglibdir = $(libdir)/injection
pkgincludedir = $(includedir)/injection
top_builddir = ..
+ACLOCAL = ${SHELL} /home/project/work/w-meter/frame_injection_g/trunk/admin/missing --run aclocal-1.6
+AUTOCONF = $(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure
+AUTOMAKE = ${SHELL} /home/project/work/w-meter/frame_injection_g/trunk/admin/missing --run automake-1.6
+AUTOHEADER = ${SHELL} /home/project/work/w-meter/frame_injection_g/trunk/admin/missing --run autoheader
+
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr/bin/install -c -p
+INSTALL_PROGRAM = ${INSTALL} $(INSTALL_STRIP_FLAG)
+INSTALL_DATA = ${INSTALL} -m 644
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
+INSTALL_SCRIPT = ${INSTALL}
INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
+transform = s,x,x,
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
+build_alias =
build_triplet = i686-redhat-linux-gnu
+host_alias =
host_triplet = i686-redhat-linux-gnu
+target_alias =
target_triplet = i686-redhat-linux-gnu
-ACLOCAL = ${SHELL} /root/work/injection/w-meter/frame_injection_g/trunk/admin/missing --run aclocal-1.7
-AMDEP_FALSE = #
-AMDEP_TRUE =
-AMTAR = ${SHELL} /root/work/injection/w-meter/frame_injection_g/trunk/admin/missing --run tar
+
+EXEEXT =
+OBJEXT = o
+PATH_SEPARATOR = :
+AMTAR = ${SHELL} /home/project/work/w-meter/frame_injection_g/trunk/admin/missing --run tar
AR = ar
ARTSCCONFIG = /usr/bin/artsc-config
-AUTOCONF = $(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure
+AS = @AS@
AUTODIRS =
-AUTOHEADER = ${SHELL} /root/work/injection/w-meter/frame_injection_g/trunk/admin/missing --run autoheader
-AUTOMAKE = ${SHELL} /root/work/injection/w-meter/frame_injection_g/trunk/admin/missing --run automake-1.7
AWK = gawk
CC = gcc
-CCDEPMODE = depmode=gcc3
-CFLAGS = -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -Wformat-security -Wmissing-format-attribute
CONF_FILES = $(top_srcdir)/./admin/configure.in.min $(top_srcdir)/configure.in.in
CPP = gcc -E
-CPPFLAGS = -DQT_THREAD_SUPPORT -g -D_REENTRANT
CXX = g++
CXXCPP = g++ -E
-CXXDEPMODE = depmode=gcc3
-CXXFLAGS = -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-CYGPATH_W = echo
DCOPIDL = /usr/bin/dcopidl
DCOPIDL2CPP = /usr/bin/dcopidl2cpp
DCOPIDLNG = /usr/bin/dcopidlng
DCOP_DEPENDENCIES = $(DCOPIDL) $(DCOPIDLNG)
-DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DOXYGEN_PROJECT_NAME = @DOXYGEN_PROJECT_NAME@
+DOXYGEN_PROJECT_NUMBER = @DOXYGEN_PROJECT_NUMBER@
+DPMSINC = @DPMSINC@
+DPMSLIB = @DPMSLIB@
ECHO = echo
-ECHO_C =
-ECHO_N = -n
-ECHO_T =
EGREP = /bin/grep -E
ENABLE_PERMISSIVE_FLAG = -fpermissive
-EXEEXT =
+EXR_FLAGS = @EXR_FLAGS@
F77 = gfortran
-FFLAGS = -g -O2
FRAMEWORK_COREAUDIO =
+GCJ = @GCJ@
+GCJFLAGS = @GCJFLAGS@
+GLINC = @GLINC@
+GLLIB = @GLLIB@
GMSGFMT = /usr/bin/msgfmt
-GREP = /bin/grep
HAVE_GCC_VISIBILITY = 0
-INSTALL_DATA = ${INSTALL} -m 644
-INSTALL_PROGRAM = ${INSTALL} $(INSTALL_STRIP_FLAG)
-INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+JAR = @JAR@
+JAVAC = @JAVAC@
+JAVAH = @JAVAH@
+JVMLIBS = @JVMLIBS@
KCFG_DEPENDENCIES = $(KCONFIG_COMPILER)
KCONFIG_COMPILER = /usr/bin/kconfig_compiler
KDECONFIG = /usr/bin/kde-config
KDE_CHECK_PLUGIN = $(KDE_PLUGIN) -rpath $(libdir)
KDE_EXTRA_RPATH =
+KDE_HAS_DOXYGEN = @KDE_HAS_DOXYGEN@
+KDE_HAVE_DOT = @KDE_HAVE_DOT@
KDE_INCLUDES = -I/usr/include/kde
KDE_LDFLAGS = -L/usr/lib
KDE_MT_LDFLAGS =
@@ -108,24 +135,34 @@
KDE_USE_NMCHECK_TRUE = #
KDE_USE_PIE = -pie
KDE_XSL_STYLESHEET = /usr/share/apps/ksgmltools2/customization/kde-chunk.xsl
-LDFLAGS = -lpcap
LDFLAGS_AS_NEEDED =
LDFLAGS_NEW_DTAGS =
+LEX = @LEX@
+LEXLIB = @LEXLIB@
+LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBBZ2 = @LIBBZ2@
LIBCOMPAT =
LIBCRYPT = -lcrypt
LIBDL = -ldl
+LIBGEN = @LIBGEN@
LIBJPEG = -ljpeg
LIBOBJS =
LIBPNG = -lpng -lz -lm
LIBPTHREAD = -lpthread
+LIBPYTHON = @LIBPYTHON@
+LIBQIMGIO = @LIBQIMGIO@
LIBRESOLV = -lresolv
-LIBS =
+LIBSHADOW = @LIBSHADOW@
LIBSM = -lSM -lICE
LIBSOCKET =
+LIBSSL = @LIBSSL@
+LIBTIFF = @LIBTIFF@
LIBTOOL = $(SHELL) $(top_builddir)/libtool --silent
LIBUCB =
LIBUTIL = -lutil
LIBZ = -lz
+LIB_EXR = @LIB_EXR@
+LIB_JASPER = @LIB_JASPER@
LIB_KAB = -lkab
LIB_KABC = -lkabc
LIB_KDECORE = -lkdecore
@@ -149,13 +186,12 @@
LIB_POLL =
LIB_QPE =
LIB_QT = -lqt-mt $(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM) -lpthread
+LIB_QTOPIA = @LIB_QTOPIA@
LIB_SMB = -lsmb
LIB_X11 = -lX11 $(LIBSOCKET)
LIB_XEXT = -lXext
LIB_XRENDER =
LN_S = ln -s
-LTLIBOBJS =
-MAKEINFO = ${SHELL} /root/work/injection/w-meter/frame_injection_g/trunk/admin/missing --run makeinfo
MAKEKDEWIDGETS =
MCOPIDL = /usr/bin/mcopidl
MEINPROC = /usr/bin/meinproc
@@ -163,22 +199,27 @@
MSGFMT = /usr/bin/msgfmt
NOOPT_CFLAGS = -O0
NOOPT_CXXFLAGS = -O0
-OBJEXT = o
+OBJC = @OBJC@
+OBJCFLAGS = @OBJCFLAGS@
+OBJDUMP = @OBJDUMP@
PACKAGE = injection
-PACKAGE_BUGREPORT =
-PACKAGE_NAME =
-PACKAGE_STRING =
-PACKAGE_TARNAME =
-PACKAGE_VERSION =
-PATH_SEPARATOR = :
+PAMLIBS = @PAMLIBS@
+PASSWDLIBS = @PASSWDLIBS@
PERL = /usr/bin/perl
PKG_CONFIG = /usr/bin/pkg-config
+PYTHONINC = @PYTHONINC@
+PYTHONLIB = @PYTHONLIB@
+PYTHONMODDIR = @PYTHONMODDIR@
+QTDOCDIR = @QTDOCDIR@
QTE_NORTTI =
+QTOPIA_INCLUDES = @QTOPIA_INCLUDES@
QT_INCLUDES = -I/usr/lib/qt-3.3/include
QT_LDFLAGS = -L/usr/lib/qt-3.3/lib
RANLIB = ranlib
-SET_MAKE =
-SHELL = /bin/sh
+RC = @RC@
+SETUIDFLAGS = @SETUIDFLAGS@
+SSL_INCLUDES = @SSL_INCLUDES@
+SSL_LDFLAGS = @SSL_LDFLAGS@
STRIP = strip
TOPSUBDIRS = doc po src
UIC = /usr/lib/qt-3.3/bin/uic -L $(kde_widgetdir) -nounload
@@ -191,49 +232,20 @@
VERSION = 0.1
WOVERLOADED_VIRTUAL =
XGETTEXT = /usr/bin/xgettext
-XMKMF =
XMLLINT = /usr/bin/xmllint
+XPMINC = @XPMINC@
+XPMLIB = @XPMLIB@
X_EXTRA_LIBS =
X_INCLUDES = -I.
X_LDFLAGS =
X_PRE_LIBS =
X_RPATH =
-ac_ct_CC = gcc
-ac_ct_CXX = g++
-ac_ct_F77 = gfortran
all_includes = -I/usr/include/kde -I/usr/lib/qt-3.3/include -I.
all_libraries = -L/usr/lib/qt-3.3/lib
-am__fastdepCC_FALSE = #
-am__fastdepCC_TRUE =
-am__fastdepCXX_FALSE = #
-am__fastdepCXX_TRUE =
am__include = include
-am__leading_dot = .
am__quote =
-bindir = ${exec_prefix}/bin
-build = i686-redhat-linux-gnu
-build_alias =
-build_cpu = i686
-build_os = linux-gnu
-build_vendor = redhat
-datadir = ${datarootdir}
-datarootdir = ${prefix}/share
-docdir = ${datarootdir}/doc/${PACKAGE}
-dvidir = ${docdir}
-exec_prefix = ${prefix}
-host = i686-redhat-linux-gnu
-host_alias =
-host_cpu = i686
-host_os = linux-gnu
-host_vendor = redhat
-htmldir = ${docdir}
-include_ARTS_FALSE = #
-include_ARTS_TRUE =
-include_x11_FALSE = #
-include_x11_TRUE =
-includedir = ${prefix}/include
-infodir = ${datarootdir}/info
-install_sh = /root/work/injection/w-meter/frame_injection_g/trunk/admin/install-sh
+install_sh = /home/project/work/w-meter/frame_injection_g/trunk/admin/install-sh
+jni_includes = @jni_includes@
kde_appsdir = ${datadir}/applnk
kde_bindir = ${exec_prefix}/bin
kde_confdir = ${datadir}/config
@@ -257,28 +269,8 @@
kde_wallpaperdir = ${datadir}/wallpapers
kde_widgetdir = /usr/lib/kde3/plugins/designer
kdeinitdir = $(kde_moduledir)
-libdir = ${exec_prefix}/lib
-libexecdir = ${exec_prefix}/libexec
-localedir = ${datarootdir}/locale
-localstatedir = ${prefix}/var
-mandir = ${datarootdir}/man
-oldincludedir = /usr/include
-pdfdir = ${docdir}
-prefix = /usr
-program_transform_name = s,x,x,
-psdir = ${docdir}
qt_includes = /usr/lib/qt-3.3/include
qt_libraries = /usr/lib/qt-3.3/lib
-sbindir = ${exec_prefix}/sbin
-sharedstatedir = ${prefix}/com
-sysconfdir = ${prefix}/etc
-target = i686-redhat-linux-gnu
-target_alias =
-target_cpu = i686
-target_os = linux-gnu
-target_vendor = redhat
-unsermake_enable_pch_FALSE =
-unsermake_enable_pch_TRUE = #
x_includes = .
x_libraries = /usr/lib
xdg_appsdir = ${datadir}/applications/kde
@@ -291,24 +283,21 @@
#>+ 1
SUBDIRS =. en
subdir = doc
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
DIST_SOURCES =
-#>- RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
-#>- ps-recursive install-info-recursive uninstall-info-recursive \
-#>- all-recursive install-data-recursive install-exec-recursive \
-#>- installdirs-recursive install-recursive uninstall-recursive \
-#>- check-recursive installcheck-recursive
-#>+ 5
-RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
- ps-recursive install-info-recursive uninstall-info-recursive \
- all-recursive install-data-recursive install-exec-recursive \
- installdirs-recursive install-recursive uninstall-recursive \
- check-recursive installcheck-recursive nmcheck-recursive bcheck-recursive
-DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
+#>- RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
+#>- uninstall-info-recursive all-recursive install-data-recursive \
+#>- install-exec-recursive installdirs-recursive install-recursive \
+#>- uninstall-recursive check-recursive installcheck-recursive
+#>+ 4
+RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
+ uninstall-info-recursive all-recursive install-data-recursive \
+ install-exec-recursive installdirs-recursive install-recursive \
+ uninstall-recursive check-recursive installcheck-recursive nmcheck-recursive bcheck-recursive
+DIST_COMMON = Makefile.am Makefile.in
DIST_SUBDIRS = $(SUBDIRS)
#>- all: all-recursive
#>+ 1
@@ -389,17 +378,10 @@
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
ETAGS = etags
ETAGSFLAGS =
-CTAGS = ctags
-CTAGSFLAGS =
-
tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
@@ -415,15 +397,9 @@
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
- if (etags --etags-include --version) >/dev/null 2>&1; then \
- include_option=--etags-include; \
- else \
- include_option=--include; \
- fi; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
- test -f $$subdir/TAGS && \
- tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+ test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
fi; \
done; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
@@ -436,43 +412,20 @@
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$tags $$unique
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- tags=; \
- here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- test -z "$(CTAGS_ARGS)$$tags$$unique" \
- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- $$tags $$unique
-
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& cd $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) $$here
distclean-tags:
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-#>+ 1
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES)
- @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
- list='$(DISTFILES)'; for file in $$list; do \
- case $$file in \
- $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
- $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
- esac; \
+ @list='$(DISTFILES)'; for file in $$list; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@@ -522,7 +475,7 @@
installcheck: installcheck-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
@@ -530,7 +483,7 @@
clean-generic:
distclean-generic:
- -rm -f $(CONFIG_CLEAN_FILES)
+ -rm -f Makefile $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@@ -544,7 +497,7 @@
clean-am: clean-bcheck clean-generic clean-libtool mostlyclean-am
distclean: distclean-recursive
- -rm -f Makefile
+
distclean-am: clean-am distclean-generic distclean-libtool \
distclean-tags
@@ -567,40 +520,30 @@
installcheck-am:
maintainer-clean: maintainer-clean-recursive
- -rm -f Makefile
+
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-recursive
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-pdf: pdf-recursive
-
-pdf-am:
-
-ps: ps-recursive
-
-ps-am:
-
uninstall-am: uninstall-info-am
uninstall-info: uninstall-info-recursive
-.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
- clean-generic clean-libtool clean-recursive ctags \
- ctags-recursive distclean distclean-generic distclean-libtool \
- distclean-recursive distclean-tags distdir dvi dvi-am \
- dvi-recursive info info-am info-recursive install install-am \
- install-data install-data-am install-data-recursive \
- install-exec install-exec-am install-exec-recursive \
- install-info install-info-am install-info-recursive install-man \
- install-recursive install-strip installcheck installcheck-am \
- installdirs installdirs-am installdirs-recursive \
- maintainer-clean maintainer-clean-generic \
- maintainer-clean-recursive mostlyclean mostlyclean-generic \
- mostlyclean-libtool mostlyclean-recursive pdf pdf-am \
- pdf-recursive ps ps-am ps-recursive tags tags-recursive \
- uninstall uninstall-am uninstall-info-am \
+.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
+ clean-generic clean-libtool clean-recursive distclean \
+ distclean-generic distclean-libtool distclean-recursive \
+ distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
+ info-recursive install install-am install-data install-data-am \
+ install-data-recursive install-exec install-exec-am \
+ install-exec-recursive install-info install-info-am \
+ install-info-recursive install-man install-recursive \
+ install-strip installcheck installcheck-am installdirs \
+ installdirs-am installdirs-recursive maintainer-clean \
+ maintainer-clean-generic maintainer-clean-recursive mostlyclean \
+ mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
+ tags tags-recursive uninstall uninstall-am uninstall-info-am \
uninstall-info-recursive uninstall-recursive
# Tell versions [3.59,3.63) of GNU make to not export all variables.
@@ -608,9 +551,6 @@
.NOEXPORT:
#>+ 2
-KDE_DIST=Makefile.in
-
-#>+ 2
docs-am:
#>+ 6
Modified: frame_injection_g/trunk/doc/Makefile.in
===================================================================
--- frame_injection_g/trunk/doc/Makefile.in 2010-03-11 14:40:30 UTC (rev 233)
+++ frame_injection_g/trunk/doc/Makefile.in 2010-03-15 13:22:53 UTC (rev 234)
@@ -1,8 +1,8 @@
-# Makefile.in generated by automake 1.7.9 from Makefile.am.
+# Makefile.in generated by automake 1.6.3 from Makefile.am.
# KDE tags expanded automatically by am_edit - $Revision: 483858 $
# @configure_input@
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -17,81 +17,108 @@
# the SUBDIRS is filled automatically by am_edit. If files are
# in this directory they are installed into the english dir
+SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOMAKE = @AUTOMAKE@
+AUTOHEADER = @AUTOHEADER@
+
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
+transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
+build_alias = @build_alias@
build_triplet = @build@
+host_alias = @host_alias@
host_triplet = @host@
+target_alias = @target_alias@
target_triplet = @target@
-ACLOCAL = @ACLOCAL@
-AMDEP_FALSE = @AMDEP_FALSE@
-AMDEP_TRUE = @AMDEP_TRUE@
+
+EXEEXT = @EXEEXT@
+OBJEXT = @OBJEXT@
+PATH_SEPARATOR = @PATH_SEPARATOR@
AMTAR = @AMTAR@
AR = @AR@
ARTSCCONFIG = @ARTSCCONFIG@
-AUTOCONF = @AUTOCONF@
+AS = @AS@
AUTODIRS = @AUTODIRS@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
CONF_FILES = @CONF_FILES@
CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
-CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
-CYGPATH_W = @CYGPATH_W@
DCOPIDL = @DCOPIDL@
DCOPIDL2CPP = @DCOPIDL2CPP@
DCOPIDLNG = @DCOPIDLNG@
DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
-DEFS = @DEFS@
DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DOXYGEN_PROJECT_NAME = @DOXYGEN_PROJECT_NAME@
+DOXYGEN_PROJECT_NUMBER = @DOXYGEN_PROJECT_NUMBER@
+DPMSINC = @DPMSINC@
+DPMSLIB = @DPMSLIB@
ECHO = @ECHO@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
EGREP = @EGREP@
ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
-EXEEXT = @EXEEXT@
+EXR_FLAGS = @EXR_FLAGS@
F77 = @F77@
-FFLAGS = @FFLAGS@
FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+GCJ = @GCJ@
+GCJFLAGS = @GCJFLAGS@
+GLINC = @GLINC@
+GLLIB = @GLLIB@
GMSGFMT = @GMSGFMT@
-GREP = @GREP@
HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+JAR = @JAR@
+JAVAC = @JAVAC@
+JAVAH = @JAVAH@
+JVMLIBS = @JVMLIBS@
KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
KCONFIG_COMPILER = @KCONFIG_COMPILER@
KDECONFIG = @KDECONFIG@
KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+KDE_HAS_DOXYGEN = @KDE_HAS_DOXYGEN@
+KDE_HAVE_DOT = @KDE_HAVE_DOT@
KDE_INCLUDES = @KDE_INCLUDES@
KDE_LDFLAGS = @KDE_LDFLAGS@
KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
@@ -108,24 +135,34 @@
KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
KDE_USE_PIE = @KDE_USE_PIE@
KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
-LDFLAGS = @LDFLAGS@
LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
+LEX = @LEX@
+LEXLIB = @LEXLIB@
+LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBBZ2 = @LIBBZ2@
LIBCOMPAT = @LIBCOMPAT@
LIBCRYPT = @LIBCRYPT@
LIBDL = @LIBDL@
+LIBGEN = @LIBGEN@
LIBJPEG = @LIBJPEG@
LIBOBJS = @LIBOBJS@
LIBPNG = @LIBPNG@
LIBPTHREAD = @LIBPTHREAD@
+LIBPYTHON = @LIBPYTHON@
+LIBQIMGIO = @LIBQIMGIO@
LIBRESOLV = @LIBRESOLV@
-LIBS = @LIBS@
+LIBSHADOW = @LIBSHADOW@
LIBSM = @LIBSM@
LIBSOCKET = @LIBSOCKET@
+LIBSSL = @LIBSSL@
+LIBTIFF = @LIBTIFF@
LIBTOOL = @LIBTOOL@
LIBUCB = @LIBUCB@
LIBUTIL = @LIBUTIL@
LIBZ = @LIBZ@
+LIB_EXR = @LIB_EXR@
+LIB_JASPER = @LIB_JASPER@
LIB_KAB = @LIB_KAB@
LIB_KABC = @LIB_KABC@
LIB_KDECORE = @LIB_KDECORE@
@@ -149,13 +186,12 @@
LIB_POLL = @LIB_POLL@
LIB_QPE = @LIB_QPE@
LIB_QT = @LIB_QT@
+LIB_QTOPIA = @LIB_QTOPIA@
LIB_SMB = @LIB_SMB@
LIB_X11 = @LIB_X11@
LIB_XEXT = @LIB_XEXT@
LIB_XRENDER = @LIB_XRENDER@
LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAKEINFO = @MAKEINFO@
MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
MCOPIDL = @MCOPIDL@
MEINPROC = @MEINPROC@
@@ -163,22 +199,27 @@
MSGFMT = @MSGFMT@
NOOPT_CFLAGS = @NOOPT_CFLAGS@
NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
-OBJEXT = @OBJEXT@
+OBJC = @OBJC@
+OBJCFLAGS = @OBJCFLAGS@
+OBJDUMP = @OBJDUMP@
PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
+PAMLIBS = @PAMLIBS@
+PASSWDLIBS = @PASSWDLIBS@
PERL = @PERL@
PKG_CONFIG = @PKG_CONFIG@
+PYTHONINC = @PYTHONINC@
+PYTHONLIB = @PYTHONLIB@
+PYTHONMODDIR = @PYTHONMODDIR@
+QTDOCDIR = @QTDOCDIR@
QTE_NORTTI = @QTE_NORTTI@
+QTOPIA_INCLUDES = @QTOPIA_INCLUDES@
QT_INCLUDES = @QT_INCLUDES@
QT_LDFLAGS = @QT_LDFLAGS@
RANLIB = @RANLIB@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
+RC = @RC@
+SETUIDFLAGS = @SETUIDFLAGS@
+SSL_INCLUDES = @SSL_INCLUDES@
+SSL_LDFLAGS = @SSL_LDFLAGS@
STRIP = @STRIP@
TOPSUBDIRS = @TOPSUBDIRS@
UIC = @UIC@
@@ -191,49 +232,20 @@
VERSION = @VERSION@
WOVERLOADED_VIRTUAL = @WOVERLOADED_VIRTUAL@
XGETTEXT = @XGETTEXT@
-XMKMF = @XMKMF@
XMLLINT = @XMLLINT@
+XPMINC = @XPMINC@
+XPMLIB = @XPMLIB@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
X_INCLUDES = @X_INCLUDES@
X_LDFLAGS = @X_LDFLAGS@
X_PRE_LIBS = @X_PRE_LIBS@
X_RPATH = @X_RPATH@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_CXX = @ac_ct_CXX@
-ac_ct_F77 = @ac_ct_F77@
all_includes = @all_includes@
all_libraries = @all_libraries@
-am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
-am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
-am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
-am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
am__include = @am__include@
-am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-include_ARTS_FALSE = @include_ARTS_FALSE@
-include_ARTS_TRUE = @include_ARTS_TRUE@
-include_x11_FALSE = @include_x11_FALSE@
-include_x11_TRUE = @include_x11_TRUE@
-includedir = @includedir@
-infodir = @infodir@
install_sh = @install_sh@
+jni_includes = @jni_includes@
kde_appsdir = @kde_appsdir@
kde_bindir = @kde_bindir@
kde_confdir = @kde_confdir@
@@ -257,28 +269,8 @@
kde_wallpaperdir = @kde_wallpaperdir@
kde_widgetdir = @kde_widgetdir@
kdeinitdir = @kdeinitdir@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-localstatedir = @localstatedir@
-mandir = @mandir@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
qt_includes = @qt_includes@
qt_libraries = @qt_libraries@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-sysconfdir = @sysconfdir@
-target = @target@
-target_alias = @target_alias@
-target_cpu = @target_cpu@
-target_os = @target_os@
-target_vendor = @target_vendor@
-unsermake_enable_pch_FALSE = @unsermake_enable_pch_FALSE@
-unsermake_enable_pch_TRUE = @unsermake_enable_pch_TRUE@
x_includes = @x_includes@
x_libraries = @x_libraries@
xdg_appsdir = @xdg_appsdir@
@@ -291,24 +283,21 @@
#>+ 1
SUBDIRS =. en
subdir = doc
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
DIST_SOURCES =
-#>- RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
-#>- ps-recursive install-info-recursive uninstall-info-recursive \
-#>- all-recursive install-data-recursive install-exec-recursive \
-#>- installdirs-recursive install-recursive uninstall-recursive \
-#>- check-recursive installcheck-recursive
-#>+ 5
-RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
- ps-recursive install-info-recursive uninstall-info-recursive \
- all-recursive install-data-recursive install-exec-recursive \
- installdirs-recursive install-recursive uninstall-recursive \
- check-recursive installcheck-recursive nmcheck-recursive bcheck-recursive
-DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
+#>- RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
+#>- uninstall-info-recursive all-recursive install-data-recursive \
+#>- install-exec-recursive installdirs-recursive install-recursive \
+#>- uninstall-recursive check-recursive installcheck-recursive
+#>+ 4
+RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
+ uninstall-info-recursive all-recursive install-data-recursive \
+ install-exec-recursive installdirs-recursive install-recursive \
+ uninstall-recursive check-recursive installcheck-recursive nmcheck-recursive bcheck-recursive
+DIST_COMMON = Makefile.am Makefile.in
DIST_SUBDIRS = $(SUBDIRS)
#>- all: all-recursive
#>+ 1
@@ -389,17 +378,10 @@
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
ETAGS = etags
ETAGSFLAGS =
-CTAGS = ctags
-CTAGSFLAGS =
-
tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
@@ -415,15 +397,9 @@
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
- if (etags --etags-include --version) >/dev/null 2>&1; then \
- include_option=--etags-include; \
- else \
- include_option=--include; \
- fi; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
- test -f $$subdir/TAGS && \
- tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+ test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
fi; \
done; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
@@ -436,43 +412,20 @@
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$tags $$unique
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- tags=; \
- here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- test -z "$(CTAGS_ARGS)$$tags$$unique" \
- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- $$tags $$unique
-
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& cd $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) $$here
distclean-tags:
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-#>+ 1
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES)
- @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
- list='$(DISTFILES)'; for file in $$list; do \
- case $$file in \
- $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
- $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
- esac; \
+ @list='$(DISTFILES)'; for file in $$list; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@@ -522,7 +475,7 @@
installcheck: installcheck-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
@@ -530,7 +483,7 @@
clean-generic:
distclean-generic:
- -rm -f $(CONFIG_CLEAN_FILES)
+ -rm -f Makefile $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@@ -544,7 +497,7 @@
clean-am: clean-bcheck clean-generic clean-libtool mostlyclean-am
distclean: distclean-recursive
- -rm -f Makefile
+
distclean-am: clean-am distclean-generic distclean-libtool \
distclean-tags
@@ -567,40 +520,30 @@
installcheck-am:
maintainer-clean: maintainer-clean-recursive
- -rm -f Makefile
+
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-recursive
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-pdf: pdf-recursive
-
-pdf-am:
-
-ps: ps-recursive
-
-ps-am:
-
uninstall-am: uninstall-info-am
uninstall-info: uninstall-info-recursive
-.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
- clean-generic clean-libtool clean-recursive ctags \
- ctags-recursive distclean distclean-generic distclean-libtool \
- distclean-recursive distclean-tags distdir dvi dvi-am \
- dvi-recursive info info-am info-recursive install install-am \
- install-data install-data-am install-data-recursive \
- install-exec install-exec-am install-exec-recursive \
- install-info install-info-am install-info-recursive install-man \
- install-recursive install-strip installcheck installcheck-am \
- installdirs installdirs-am installdirs-recursive \
- maintainer-clean maintainer-clean-generic \
- maintainer-clean-recursive mostlyclean mostlyclean-generic \
- mostlyclean-libtool mostlyclean-recursive pdf pdf-am \
- pdf-recursive ps ps-am ps-recursive tags tags-recursive \
- uninstall uninstall-am uninstall-info-am \
+.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
+ clean-generic clean-libtool clean-recursive distclean \
+ distclean-generic distclean-libtool distclean-recursive \
+ distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
+ info-recursive install install-am install-data install-data-am \
+ install-data-recursive install-exec install-exec-am \
+ install-exec-recursive install-info install-info-am \
+ install-info-recursive install-man install-recursive \
+ install-strip installcheck installcheck-am installdirs \
+ installdirs-am installdirs-recursive maintainer-clean \
+ maintainer-clean-generic maintainer-clean-recursive mostlyclean \
+ mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
+ tags tags-recursive uninstall uninstall-am uninstall-info-am \
uninstall-info-recursive uninstall-recursive
# Tell versions [3.59,3.63) of GNU make to not export all variables.
@@ -608,9 +551,6 @@
.NOEXPORT:
#>+ 2
-KDE_DIST=Makefile.in
-
-#>+ 2
docs-am:
#>+ 6
Modified: frame_injection_g/trunk/doc/en/Makefile
===================================================================
--- frame_injection_g/trunk/doc/en/Makefile 2010-03-11 14:40:30 UTC (rev 233)
+++ frame_injection_g/trunk/doc/en/Makefile 2010-03-15 13:22:53 UTC (rev 234)
@@ -1,8 +1,8 @@
-# Makefile.in generated by automake 1.7.9 from Makefile.am.
+# Makefile.in generated by automake 1.6.3 from Makefile.am.
# KDE tags expanded automatically by am_edit - $Revision: 483858 $
# doc/en/Makefile. Generated from Makefile.in by configure.
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -14,81 +14,108 @@
# PARTICULAR PURPOSE.
+SHELL = /bin/sh
srcdir = .
top_srcdir = ../..
+prefix = /usr
+exec_prefix = ${prefix}
+
+bindir = ${exec_prefix}/bin
+sbindir = ${exec_prefix}/sbin
+libexecdir = ${exec_prefix}/libexec
+datadir = ${prefix}/share
+sysconfdir = ${prefix}/etc
+sharedstatedir = ${prefix}/com
+localstatedir = ${prefix}/var
+libdir = ${exec_prefix}/lib
+infodir = ${prefix}/share/info
+mandir = ${prefix}/share/man
+includedir = ${prefix}/include
+oldincludedir = /usr/include
pkgdatadir = $(datadir)/injection
pkglibdir = $(libdir)/injection
pkgincludedir = $(includedir)/injection
top_builddir = ../..
+ACLOCAL = ${SHELL} /home/project/work/w-meter/frame_injection_g/trunk/admin/missing --run aclocal-1.6
+AUTOCONF = $(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure
+AUTOMAKE = ${SHELL} /home/project/work/w-meter/frame_injection_g/trunk/admin/missing --run automake-1.6
+AUTOHEADER = ${SHELL} /home/project/work/w-meter/frame_injection_g/trunk/admin/missing --run autoheader
+
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr/bin/install -c -p
+INSTALL_PROGRAM = ${INSTALL} $(INSTALL_STRIP_FLAG)
+INSTALL_DATA = ${INSTALL} -m 644
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
+INSTALL_SCRIPT = ${INSTALL}
INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
+transform = s,x,x,
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
+build_alias =
build_triplet = i686-redhat-linux-gnu
+host_alias =
host_triplet = i686-redhat-linux-gnu
+target_alias =
target_triplet = i686-redhat-linux-gnu
-ACLOCAL = ${SHELL} /root/work/injection/w-meter/frame_injection_g/trunk/admin/missing --run aclocal-1.7
-AMDEP_FALSE = #
-AMDEP_TRUE =
-AMTAR = ${SHELL} /root/work/injection/w-meter/frame_injection_g/trunk/admin/missing --run tar
+
+EXEEXT =
+OBJEXT = o
+PATH_SEPARATOR = :
+AMTAR = ${SHELL} /home/project/work/w-meter/frame_injection_g/trunk/admin/missing --run tar
AR = ar
ARTSCCONFIG = /usr/bin/artsc-config
-AUTOCONF = $(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure
+AS = @AS@
AUTODIRS =
-AUTOHEADER = ${SHELL} /root/work/injection/w-meter/frame_injection_g/trunk/admin/missing --run autoheader
-AUTOMAKE = ${SHELL} /root/work/injection/w-meter/frame_injection_g/trunk/admin/missing --run automake-1.7
AWK = gawk
CC = gcc
-CCDEPMODE = depmode=gcc3
-CFLAGS = -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -Wformat-security -Wmissing-format-attribute
CONF_FILES = $(top_srcdir)/./admin/configure.in.min $(top_srcdir)/configure.in.in
CPP = gcc -E
-CPPFLAGS = -DQT_THREAD_SUPPORT -g -D_REENTRANT
CXX = g++
CXXCPP = g++ -E
-CXXDEPMODE = depmode=gcc3
-CXXFLAGS = -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-CYGPATH_W = echo
DCOPIDL = /usr/bin/dcopidl
DCOPIDL2CPP = /usr/bin/dcopidl2cpp
DCOPIDLNG = /usr/bin/dcopidlng
DCOP_DEPENDENCIES = $(DCOPIDL) $(DCOPIDLNG)
-DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DOXYGEN_PROJECT_NAME = @DOXYGEN_PROJECT_NAME@
+DOXYGEN_PROJECT_NUMBER = @DOXYGEN_PROJECT_NUMBER@
+DPMSINC = @DPMSINC@
+DPMSLIB = @DPMSLIB@
ECHO = echo
-ECHO_C =
-ECHO_N = -n
-ECHO_T =
EGREP = /bin/grep -E
ENABLE_PERMISSIVE_FLAG = -fpermissive
-EXEEXT =
+EXR_FLAGS = @EXR_FLAGS@
F77 = gfortran
-FFLAGS = -g -O2
FRAMEWORK_COREAUDIO =
+GCJ = @GCJ@
+GCJFLAGS = @GCJFLAGS@
+GLINC = @GLINC@
+GLLIB = @GLLIB@
GMSGFMT = /usr/bin/msgfmt
-GREP = /bin/grep
HAVE_GCC_VISIBILITY = 0
-INSTALL_DATA = ${INSTALL} -m 644
-INSTALL_PROGRAM = ${INSTALL} $(INSTALL_STRIP_FLAG)
-INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+JAR = @JAR@
+JAVAC = @JAVAC@
+JAVAH = @JAVAH@
+JVMLIBS = @JVMLIBS@
KCFG_DEPENDENCIES = $(KCONFIG_COMPILER)
KCONFIG_COMPILER = /usr/bin/kconfig_compiler
KDECONFIG = /usr/bin/kde-config
KDE_CHECK_PLUGIN = $(KDE_PLUGIN) -rpath $(libdir)
KDE_EXTRA_RPATH =
+KDE_HAS_DOXYGEN = @KDE_HAS_DOXYGEN@
+KDE_HAVE_DOT = @KDE_HAVE_DOT@
KDE_INCLUDES = -I/usr/include/kde
KDE_LDFLAGS = -L/usr/lib
KDE_MT_LDFLAGS =
@@ -105,24 +132,34 @@
KDE_USE_NMCHECK_TRUE = #
KDE_USE_PIE = -pie
KDE_XSL_STYLESHEET = /usr/share/apps/ksgmltools2/customization/kde-chunk.xsl
-LDFLAGS = -lpcap
LDFLAGS_AS_NEEDED =
LDFLAGS_NEW_DTAGS =
+LEX = @LEX@
+LEXLIB = @LEXLIB@
+LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBBZ2 = @LIBBZ2@
LIBCOMPAT =
LIBCRYPT = -lcrypt
LIBDL = -ldl
+LIBGEN = @LIBGEN@
LIBJPEG = -ljpeg
LIBOBJS =
LIBPNG = -lpng -lz -lm
LIBPTHREAD = -lpthread
+LIBPYTHON = @LIBPYTHON@
+LIBQIMGIO = @LIBQIMGIO@
LIBRESOLV = -lresolv
-LIBS =
+LIBSHADOW = @LIBSHADOW@
LIBSM = -lSM -lICE
LIBSOCKET =
+LIBSSL = @LIBSSL@
+LIBTIFF = @LIBTIFF@
LIBTOOL = $(SHELL) $(top_builddir)/libtool --silent
LIBUCB =
LIBUTIL = -lutil
LIBZ = -lz
+LIB_EXR = @LIB_EXR@
+LIB_JASPER = @LIB_JASPER@
LIB_KAB = -lkab
LIB_KABC = -lkabc
LIB_KDECORE = -lkdecore
@@ -146,13 +183,12 @@
LIB_POLL =
LIB_QPE =
LIB_QT = -lqt-mt $(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM) -lpthread
+LIB_QTOPIA = @LIB_QTOPIA@
LIB_SMB = -lsmb
LIB_X11 = -lX11 $(LIBSOCKET)
LIB_XEXT = -lXext
LIB_XRENDER =
LN_S = ln -s
-LTLIBOBJS =
-MAKEINFO = ${SHELL} /root/work/injection/w-meter/frame_injection_g/trunk/admin/missing --run makeinfo
MAKEKDEWIDGETS =
MCOPIDL = /usr/bin/mcopidl
MEINPROC = /usr/bin/meinproc
@@ -160,22 +196,27 @@
MSGFMT = /usr/bin/msgfmt
NOOPT_CFLAGS = -O0
NOOPT_CXXFLAGS = -O0
-OBJEXT = o
+OBJC = @OBJC@
+OBJCFLAGS = @OBJCFLAGS@
+OBJDUMP = @OBJDUMP@
PACKAGE = injection
-PACKAGE_BUGREPORT =
-PACKAGE_NAME =
-PACKAGE_STRING =
-PACKAGE_TARNAME =
-PACKAGE_VERSION =
-PATH_SEPARATOR = :
+PAMLIBS = @PAMLIBS@
+PASSWDLIBS = @PASSWDLIBS@
PERL = /usr/bin/perl
PKG_CONFIG = /usr/bin/pkg-config
+PYTHONINC = @PYTHONINC@
+PYTHONLIB = @PYTHONLIB@
+PYTHONMODDIR = @PYTHONMODDIR@
+QTDOCDIR = @QTDOCDIR@
QTE_NORTTI =
+QTOPIA_INCLUDES = @QTOPIA_INCLUDES@
QT_INCLUDES = -I/usr/lib/qt-3.3/include
QT_LDFLAGS = -L/usr/lib/qt-3.3/lib
RANLIB = ranlib
-SET_MAKE =
-SHELL = /bin/sh
+RC = @RC@
+SETUIDFLAGS = @SETUIDFLAGS@
+SSL_INCLUDES = @SSL_INCLUDES@
+SSL_LDFLAGS = @SSL_LDFLAGS@
STRIP = strip
TOPSUBDIRS = doc po src
UIC = /usr/lib/qt-3.3/bin/uic -L $(kde_widgetdir) -nounload
@@ -188,49 +229,20 @@
VERSION = 0.1
WOVERLOADED_VIRTUAL =
XGETTEXT = /usr/bin/xgettext
-XMKMF =
XMLLINT = /usr/bin/xmllint
+XPMINC = @XPMINC@
+XPMLIB = @XPMLIB@
X_EXTRA_LIBS =
X_INCLUDES = -I.
X_LDFLAGS =
X_PRE_LIBS =
X_RPATH =
-ac_ct_CC = gcc
-ac_ct_CXX = g++
-ac_ct_F77 = gfortran
all_includes = -I/usr/include/kde -I/usr/lib/qt-3.3/include -I.
all_libraries = -L/usr/lib/qt-3.3/lib
-am__fastdepCC_FALSE = #
-am__fastdepCC_TRUE =
-am__fastdepCXX_FALSE = #
-am__fastdepCXX_TRUE =
am__include = include
-am__leading_dot = .
am__quote =
-bindir = ${exec_prefix}/bin
-build = i686-redhat-linux-gnu
-build_alias =
-build_cpu = i686
-build_os = linux-gnu
-build_vendor = redhat
-datadir = ${datarootdir}
-datarootdir = ${prefix}/share
-docdir = ${datarootdir}/doc/${PACKAGE}
-dvidir = ${docdir}
-exec_prefix = ${prefix}
-host = i686-redhat-linux-gnu
-host_alias =
-host_cpu = i686
-host_os = linux-gnu
-host_vendor = redhat
-htmldir = ${docdir}
-include_ARTS_FALSE = #
-include_ARTS_TRUE =
-include_x11_FALSE = #
-include_x11_TRUE =
-includedir = ${prefix}/include
-infodir = ${datarootdir}/info
-install_sh = /root/work/injection/w-meter/frame_injection_g/trunk/admin/install-sh
+install_sh = /home/project/work/w-meter/frame_injection_g/trunk/admin/install-sh
+jni_includes = @jni_includes@
kde_appsdir = ${datadir}/applnk
kde_bindir = ${exec_prefix}/bin
kde_confdir = ${datadir}/config
@@ -254,28 +266,8 @@
kde_wallpaperdir = ${datadir}/wallpapers
kde_widgetdir = /usr/lib/kde3/plugins/designer
kdeinitdir = $(kde_moduledir)
-libdir = ${exec_prefix}/lib
-libexecdir = ${exec_prefix}/libexec
-localedir = ${datarootdir}/locale
-localstatedir = ${prefix}/var
-mandir = ${datarootdir}/man
-oldincludedir = /usr/include
-pdfdir = ${docdir}
-prefix = /usr
-program_transform_name = s,x,x,
-psdir = ${docdir}
qt_includes = /usr/lib/qt-3.3/include
qt_libraries = /usr/lib/qt-3.3/lib
-sbindir = ${exec_prefix}/sbin
-sharedstatedir = ${prefix}/com
-sysconfdir = ${prefix}/etc
-target = i686-redhat-linux-gnu
-target_alias =
-target_cpu = i686
-target_os = linux-gnu
-target_vendor = redhat
-unsermake_enable_pch_FALSE =
-unsermake_enable_pch_TRUE = #
x_includes = .
x_libraries = /usr/lib
xdg_appsdir = ${datadir}/applications/kde
@@ -284,12 +276,11 @@
KDE_DOCS = injection
KDE_LANG = en
subdir = doc/en
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
DIST_SOURCES =
-DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
+DIST_COMMON = Makefile.am Makefile.in
#>- all: all-am
#>+ 1
all: docs-am all-am
@@ -317,9 +308,6 @@
tags: TAGS
TAGS:
-ctags: CTAGS
-CTAGS:
-
#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
#>+ 1
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
@@ -330,13 +318,7 @@
#>- distdir: $(DISTFILES)
#>+ 1
distdir: distdir-nls $(DISTFILES)
- @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
- list='$(DISTFILES)'; for file in $$list; do \
- case $$file in \
- $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
- $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
- esac; \
+ @list='$(DISTFILES)'; for file in $$list; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@@ -361,6 +343,7 @@
all-am: Makefile
installdirs:
+
install: install-am
install-exec: install-exec-am
install-data: install-data-am
@@ -374,7 +357,7 @@
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
@@ -382,7 +365,7 @@
clean-generic:
distclean-generic:
- -rm -f $(CONFIG_CLEAN_FILES)
+ -rm -f Makefile $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@@ -396,7 +379,7 @@
clean-am: clean-docs clean-bcheck clean-generic clean-libtool mostlyclean-am
distclean: distclean-am
- -rm -f Makefile
+
distclean-am: clean-am distclean-generic distclean-libtool
dvi: dvi-am
@@ -420,21 +403,13 @@
installcheck-am:
maintainer-clean: maintainer-clean-am
- -rm -f Makefile
+
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
uninstall-am: uninstall-info-am
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
@@ -444,15 +419,14 @@
install-info-am install-man install-strip installcheck \
installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic \
- mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
- uninstall-info-am
+ mostlyclean-libtool uninstall uninstall-am uninstall-info-am
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
#>+ 2
-KDE_DIST=Makefile.in index.docbook
+KDE_DIST=index.docbook
#>+ 24
index.cache.bz2: $(srcdir)/index.docbook $(KDE_XSL_STYLESHEET) index.docbook
Modified: frame_injection_g/trunk/doc/en/Makefile.in
===================================================================
--- frame_injection_g/trunk/doc/en/Makefile.in 2010-03-11 14:40:30 UTC (rev 233)
+++ frame_injection_g/trunk/doc/en/Makefile.in 2010-03-15 13:22:53 UTC (rev 234)
@@ -1,8 +1,8 @@
-# Makefile.in generated by automake 1.7.9 from Makefile.am.
+# Makefile.in generated by automake 1.6.3 from Makefile.am.
# KDE tags expanded automatically by am_edit - $Revision: 483858 $
# @configure_input@
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -14,81 +14,108 @@
# PARTICULAR PURPOSE.
@SET_MAKE@
+SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ../..
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOMAKE = @AUTOMAKE@
+AUTOHEADER = @AUTOHEADER@
+
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
+transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
+build_alias = @build_alias@
build_triplet = @build@
+host_alias = @host_alias@
host_triplet = @host@
+target_alias = @target_alias@
target_triplet = @target@
-ACLOCAL = @ACLOCAL@
-AMDEP_FALSE = @AMDEP_FALSE@
-AMDEP_TRUE = @AMDEP_TRUE@
+
+EXEEXT = @EXEEXT@
+OBJEXT = @OBJEXT@
+PATH_SEPARATOR = @PATH_SEPARATOR@
AMTAR = @AMTAR@
AR = @AR@
ARTSCCONFIG = @ARTSCCONFIG@
-AUTOCONF = @AUTOCONF@
+AS = @AS@
AUTODIRS = @AUTODIRS@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
CONF_FILES = @CONF_FILES@
CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
-CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
-CYGPATH_W = @CYGPATH_W@
DCOPIDL = @DCOPIDL@
DCOPIDL2CPP = @DCOPIDL2CPP@
DCOPIDLNG = @DCOPIDLNG@
DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
-DEFS = @DEFS@
DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOXYGEN = @DOXYGEN@
+DOXYGEN_PROJECT_NAME = @DOXYGEN_PROJECT_NAME@
+DOXYGEN_PROJECT_NUMBER = @DOXYGEN_PROJECT_NUMBER@
+DPMSINC = @DPMSINC@
+DPMSLIB = @DPMSLIB@
ECHO = @ECHO@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
EGREP = @EGREP@
ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
-EXEEXT = @EXEEXT@
+EXR_FLAGS = @EXR_FLAGS@
F77 = @F77@
-FFLAGS = @FFLAGS@
FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+GCJ = @GCJ@
+GCJFLAGS = @GCJFLAGS@
+GLINC = @GLINC@
+GLLIB = @GLLIB@
GMSGFMT = @GMSGFMT@
-GREP = @GREP@
HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+JAR = @JAR@
+JAVAC = @JAVAC@
+JAVAH = @JAVAH@
+JVMLIBS = @JVMLIBS@
KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
KCONFIG_COMPILER = @KCONFIG_COMPILER@
KDECONFIG = @KDECONFIG@
KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+KDE_HAS_DOXYGEN = @KDE_HAS_DOXYGEN@
+KDE_HAVE_DOT = @KDE_HAVE_DOT@
KDE_INCLUDES = @KDE_INCLUDES@
KDE_LDFLAGS = @KDE_LDFLAGS@
KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
@@ -105,24 +132,34 @@
KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
KDE_USE_PIE = @KDE_USE_PIE@
KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
-LDFLAGS = @LDFLAGS@
LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
+LEX = @LEX@
+LEXLIB = @LEXLIB@
+LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+LIBBZ2 = @LIBBZ2@
LIBCOMPAT = @LIBCOMPAT@
LIBCRYPT = @LIBCRYPT@
LIBDL = @LIBDL@
+LIBGEN = @LIBGEN@
LIBJPEG = @LIBJPEG@
LIBOBJS = @LIBOBJS@
LIBPNG = @LIBPNG@
LIBPTHREAD = @LIBPTHREAD@
+LIBPYTHON = @LIBPYTHON@
+LIBQIMGIO = @LIBQIMGIO@
LIBRESOLV = @LIBRESOLV@
-LIBS = @LIBS@
+LIBSHADOW = @LIBSHADOW@
LIBSM = @LIBSM@
LIBSOCKET = @LIBSOCKET@
+LIBSSL = @LIBSSL@
+LIBTIFF = @LIBTIFF@
LIBTOOL = @LIBTOOL@
LIBUCB = @LIBUCB@
LIBUTIL = @LIBUTIL@
LIBZ = @LIBZ@
+LIB_EXR = @LIB_EXR@
+LIB_JASPER = @LIB_JASPER@
LIB_KAB = @LIB_KAB@
LIB_KABC = @LIB_KABC@
LIB_KDECORE = @LIB_KDECORE@
@@ -146,13 +183,12 @@
LIB_POLL = @LIB_POLL@
LIB_QPE = @LIB_QPE@
LIB_QT = @LIB_QT@
+LIB_QTOPIA = @LIB_QTOPIA@
LIB_SMB = @LIB_SMB@
LIB_X11 = @LIB_X11@
LIB_XEXT = @LIB_XEXT@
LIB_XRENDER = @LIB_XRENDER@
LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAKEINFO = @MAKEINFO@
MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
MCOPIDL = @MCOPIDL@
MEINPROC = @MEINPROC@
@@ -160,22 +196,27 @@
MSGFMT = @MSGFMT@
NOOPT_CFLAGS = @NOOPT_CFLAGS@
NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
-OBJEXT = @OBJEXT@
+OBJC = @OBJC@
+OBJCFLAGS = @OBJCFLAGS@
+OBJDUMP = @OBJDUMP@
PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
+PAMLIBS = @PAMLIBS@
+PASSWDLIBS = @PASSWDLIBS@
PERL = @PERL@
PKG_CONFIG = @PKG_CONFIG@
+PYTHONINC = @PYTHONINC@
+PYTHONLIB = @PYTHONLIB@
+PYTHONMODDIR = @PYTHONMODDIR@
+QTDOCDIR = @QTDOCDIR@
QTE_NORTTI = @QTE_NORTTI@
+QTOPIA_INCLUDES = @QTOPIA_INCLUDES@
QT_INCLUDES = @QT_INCLUDES@
QT_LDFLAGS = @QT_LDFLAGS@
RANLIB = @RANLIB@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
+RC = @RC@
+SETUIDFLAGS = @SETUIDFLAGS@
+SSL_INCLUDES = @SSL_INCLUDES@
+SSL_LDFLAGS = @SSL_LDFLAGS@
STRIP = @STRIP@
TOPSUBDIRS = @TOPSUBDIRS@
UIC = @UIC@
@@ -188,49 +229,20 @@
VERSION = @VERSION@
WOVERLOADED_VIRTUAL = @WOVERLOADED_VIRTUAL@
XGETTEXT = @XGETTEXT@
-XMKMF = @XMKMF@
XMLLINT = @XMLLINT@
+XPMINC = @XPMINC@
+XPMLIB = @XPMLIB@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
X_INCLUDES = @X_INCLUDES@
X_LDFLAGS = @X_LDFLAGS@
X_PRE_LIBS = @X_PRE_LIBS@
X_RPATH = @X_RPATH@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_CXX = @ac_ct_CXX@
-ac_ct_F77 = @ac_ct_F77@
all_includes = @all_includes@
all_libraries = @all_libraries@
-am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
-am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
-am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
-am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
am__include = @am__include@
-am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-include_ARTS_FALSE = @include_ARTS_FALSE@
-include_ARTS_TRUE = @include_ARTS_TRUE@
-include_x11_FALSE = @include_x11_FALSE@
-include_x11_TRUE = @include_x11_TRUE@
-includedir = @includedir@
-infodir = @infodir@
install_sh = @install_sh@
+jni_includes = @jni_includes@
kde_appsdir = @kde_appsdir@
kde_bindir = @kde_bindir@
kde_confdir = @kde_confdir@
@@ -254,28 +266,8 @@
kde_wallpaperdir = @kde_wallpaperdir@
kde_widgetdir = @kde_widgetdir@
kdeinitdir = @kdeinitdir@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-localstatedir = @localstatedir@
-mandir = @mandir@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
qt_includes = @qt_includes@
qt_libraries = @qt_libraries@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-sysconfdir = @sysconfdir@
-target = @target@
-target_alias = @target_alias@
-target_cpu = @target_cpu@
-target_os = @target_os@
-target_vendor = @target_vendor@
-unsermake_enable_pch_FALSE = @unsermake_enable_pch_FALSE@
-unsermake_enable_pch_TRUE = @unsermake_enable_pch_TRUE@
x_includes = @x_includes@
x_libraries = @x_libraries@
xdg_appsdir = @xdg_appsdir@
@@ -284,12 +276,11 @@
KDE_DOCS = injection
KDE_LANG = en
subdir = doc/en
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
DIST_SOURCES =
-DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
+DIST_COMMON = Makefile.am Makefile.in
#>- all: all-am
#>+ 1
all: docs-am all-am
@@ -317,9 +308,6 @@
tags: TAGS
TAGS:
-ctags: CTAGS
-CTAGS:
-
#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
#>+ 1
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
@@ -330,13 +318,7 @@
#>- distdir: $(DISTFILES)
#>+ 1
distdir: distdir-nls $(DISTFILES)
- @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
- list='$(DISTFILES)'; for file in $$list; do \
- case $$file in \
- $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
- $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
- esac; \
+ @list='$(DISTFILES)'; for file in $$list; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@@ -361,6 +343,7 @@
all-am: Makefile
installdirs:
+
install: install-am
install-exec: install-exec-am
install-data: install-data-am
@@ -374,7 +357,7 @@
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
@@ -382,7 +365,7 @@
clean-generic:
distclean-generic:
- -rm -f $(CONFIG_CLEAN_FILES)
+ -rm -f Makefile $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@@ -396,7 +379,7 @@
clean-am: clean-docs clean-bcheck clean-generic clean-libtool mostlyclean-am
distclean: distclean-am
- -rm -f Makefile
+
distclean-am: clean-am distclean-generic distclean-libtool
dvi: dvi-am
@@ -420,21 +403,13 @@
installcheck-am:
maintainer-clean: maintainer-clean-am
- -rm -f Makefile
+
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
uninstall-am: uninstall-info-am
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
@@ -444,15 +419,14 @@
install-info-am install-man install-strip installcheck \
installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic \
- mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
- uninstall-info-am
+ mostlyclean-libtool uninstall uninstall-am uninstall-info-am
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
#>+ 2
-KDE_DIST=Makefile.in index.docbook
+KDE_DIST=index.docbook
#>+ 24
index.cache.bz2: $(srcdir)/index.docbook $(KDE_XSL_STYLESHEET) index.docbook
Modified: frame_injection_g/trunk/injection.kdevelop
===============================================...
[truncated message content] |
|
From: <sat...@us...> - 2010-03-11 15:10:11
|
Revision: 233
http://w-meter.svn.sourceforge.net/w-meter/?rev=233&view=rev
Author: sathakselva
Date: 2010-03-11 14:40:30 +0000 (Thu, 11 Mar 2010)
Log Message:
-----------
Source & Destination IP address processing added in data frames
Modified Paths:
--------------
frame_injection_g/trunk/src/data_dataframe_cpp.cpp
Modified: frame_injection_g/trunk/src/data_dataframe_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/data_dataframe_cpp.cpp 2010-03-11 13:59:43 UTC (rev 232)
+++ frame_injection_g/trunk/src/data_dataframe_cpp.cpp 2010-03-11 14:40:30 UTC (rev 233)
@@ -337,18 +337,30 @@
uint16_t temp_payload_size = lineedit_payload->text().length();
const char *str_payload = lineedit_payload->text();
- QString str_ipsource=lineedit_ip_source->text();
+ QString str_ipsource = lineedit_ip_source->text();
+ QString str_ipdest = lineedit_ip_dest->text();
unsigned long ip;
- uint16_t a,b,c,d;
+ uint8_t src_ip[4], dest_ip[4];
ip=inet_addr( str_ipsource );
- d=( ip>>24 )&0xff;
- c=( ip>>16 )&0xff;
- b=( ip>>8 )&0xff;
- a=ip&0xff;
- printf( "%2x\n%2x\n%2x\n%2x",a,b,c,d );
+ int run, shift = 24;
+
+ for (run = 3; run >=0; run--)
+ {
+ src_ip[run] = ( ip >> shift ) & 0xff;
+ shift -= 8;
+ }
+
+ printf("%02x %02x %02x %02x\n", src_ip[0], src_ip[1], src_ip[2], src_ip[3]);
+
+ ip=inet_addr( str_ipdest );
+ for (run = 3, shift = 24; run >=0; run--)
+ {
+ dest_ip[run] = ( ip >> shift ) & 0xff;
+ shift -= 8;
+ }
uint8_t llc_hdr[8] = {0xaa, 0xaa, 0x03,0x00,0x00,0x00,0x08,0x00};
//values initializing in a dynamic array
uint8_t control_header_arr1[] =
@@ -402,7 +414,7 @@
}
else
{
- /* Otherwise increase the memory size to append LLC header */
+ /* Otherwise increase the variable size to append LLC header */
int llc_hdr_len = sizeof(llc_hdr)/sizeof(llc_hdr[0]);
control_header_arr=( unsigned char* ) realloc( control_header_arr, (frame_len + llc_hdr_len) * ( sizeof( unsigned char ) ) );
if ( control_header_arr == NULL )
@@ -416,7 +428,9 @@
frame_len = frame_len + llc_hdr_len;
/* Add IP header
This part is very ugly. Need to modify */
- unsigned char ip_hdr[] = {0x45, 0x00, 0x00, 0x54, 0x00, 0x00, 0x40, 0x00, 0x40, 0x01, 0xb7, 0x44, 0xc0, 0xa8, 0x01, 0x0b, 0xc0, 0xa8, 0x01, 0x09};
+ unsigned char ip_hdr[] = {
+ 0x45, 0x00, 0x00, 0x54, 0x00, 0x00, 0x40, 0x00, 0x40, 0x01, 0xb7, 0x44, src_ip[0], src_ip[1], src_ip[2], src_ip[3], dest_ip[0], dest_ip[1], dest_ip[2], dest_ip[3]
+ };
int ip_hdr_len = sizeof(ip_hdr)/sizeof(ip_hdr[0]);
@@ -458,7 +472,7 @@
unsigned char temp_char_arr[msdu_size];
for ( int i=0; i<msdu_size; i++ )
- temp_char_arr[i]='a';
+ temp_char_arr[i]='a';
uint16_t temp_sum = frame_len + msdu_size;
@@ -628,7 +642,6 @@
lineedit_msdu_size->setText( "0" );
}
-
void data_dataframe_cpp::save_in_txt( char *file )
{
FILE *fptr;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <sat...@us...> - 2010-03-11 13:59:50
|
Revision: 232
http://w-meter.svn.sourceforge.net/w-meter/?rev=232&view=rev
Author: sathakselva
Date: 2010-03-11 13:59:43 +0000 (Thu, 11 Mar 2010)
Log Message:
-----------
Data frame supports IP and ICMP packets
Modified Paths:
--------------
frame_injection_g/trunk/src/data_dataframe_cpp.cpp
Modified: frame_injection_g/trunk/src/data_dataframe_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/data_dataframe_cpp.cpp 2010-03-11 12:18:52 UTC (rev 231)
+++ frame_injection_g/trunk/src/data_dataframe_cpp.cpp 2010-03-11 13:59:43 UTC (rev 232)
@@ -414,7 +414,26 @@
control_header_arr[frame_len+i] = llc_hdr[i];
frame_len = frame_len + llc_hdr_len;
+ /* Add IP header
+ This part is very ugly. Need to modify */
+ unsigned char ip_hdr[] = {0x45, 0x00, 0x00, 0x54, 0x00, 0x00, 0x40, 0x00, 0x40, 0x01, 0xb7, 0x44, 0xc0, 0xa8, 0x01, 0x0b, 0xc0, 0xa8, 0x01, 0x09};
+ int ip_hdr_len = sizeof(ip_hdr)/sizeof(ip_hdr[0]);
+
+ control_header_arr= ( unsigned char* ) realloc( control_header_arr, (frame_len + ip_hdr_len ) * ( sizeof( unsigned char ) ) );
+ for ( i=0; i<ip_hdr_len; i++)
+ control_header_arr[frame_len+i] = ip_hdr[i];
+ frame_len = frame_len + ip_hdr_len;
+
+ unsigned char icmp_hdr[] = {0x08, 0x00, 0xd5, 0x1a, 0x7b, 0x0e, 0x01, 0x30};
+ int icmp_hdr_len = sizeof(icmp_hdr)/sizeof(icmp_hdr[0]);
+
+ control_header_arr= ( unsigned char* ) realloc( control_header_arr, (frame_len + icmp_hdr_len ) * ( sizeof( unsigned char ) ) );
+
+ for ( i=0; i<icmp_hdr_len; i++)
+ control_header_arr[frame_len+i] = icmp_hdr[i];
+ frame_len = frame_len + icmp_hdr_len;
+
if ( radiobutton_user_defined->isChecked()==1 )
{
uint16_t temp_sum = frame_len + temp_payload_size;
@@ -425,7 +444,7 @@
if ( control_header_arr == NULL )
{
printf( "Unable to allocate memory...\n" );
- exit( 1 );
+ exit( 1 );
}
//initializing payload to control_header_arr array
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <sat...@us...> - 2010-03-11 12:19:19
|
Revision: 231
http://w-meter.svn.sourceforge.net/w-meter/?rev=231&view=rev
Author: sathakselva
Date: 2010-03-11 12:18:52 +0000 (Thu, 11 Mar 2010)
Log Message:
-----------
QoS Null Data frame added
Modified Paths:
--------------
frame_injection_g/trunk/src/data_dataframe_cpp.cpp
frame_injection_g/trunk/src/data_qos_data_cpp.cpp
Modified: frame_injection_g/trunk/src/data_dataframe_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/data_dataframe_cpp.cpp 2010-03-11 12:02:58 UTC (rev 230)
+++ frame_injection_g/trunk/src/data_dataframe_cpp.cpp 2010-03-11 12:18:52 UTC (rev 231)
@@ -436,7 +436,6 @@
}
else if ( radiobutton_user_defined->isChecked()==0 )
{
- int msdu_size=lineedit_msdu_size->text().toInt();
unsigned char temp_char_arr[msdu_size];
for ( int i=0; i<msdu_size; i++ )
Modified: frame_injection_g/trunk/src/data_qos_data_cpp.cpp
===================================================================
--- frame_injection_g/trunk/src/data_qos_data_cpp.cpp 2010-03-11 12:02:58 UTC (rev 230)
+++ frame_injection_g/trunk/src/data_qos_data_cpp.cpp 2010-03-11 12:18:52 UTC (rev 231)
@@ -407,28 +407,36 @@
for ( i =0;i < size_ctrl_hdr_arr1; i++ )
control_header_arr[i]=control_header_arr1[i];
-
- if ( radiobutton_user_defined->isChecked()==1 )
+
+ int msdu_size=lineedit_msdu_size->text().toInt();
+ if (msdu_size == 0 )
{
- int temp_sum=size_ctrl_hdr_arr1+temp_payload_size;
-
- //reallocation of control_header_arr
- control_header_arr= ( unsigned char* ) realloc( control_header_arr, temp_sum * sizeof( unsigned char ) );
- if ( control_header_arr == NULL )
- {
- printf( "Unable to allocate memory...\n" );
- exit( 1 );
- }
- //including payload to control_header_arr array
- for ( int r=0;r<=temp_payload_size;r++ )
- control_header_arr[size_ctrl_hdr_arr1+r]=str_payload[r];
-
- func_qos_call( control_header_arr,temp_sum );
+ /* Payload size is 0, then make it NULL frame */
+ control_header_arr[0] |= 0x40;
+ func_qos_call( control_header_arr, size_ctrl_hdr_arr1 );
}
else
- if ( radiobutton_user_defined->isChecked()==0 )
+ {
+ // Payload is not NULL
+ if ( radiobutton_user_defined->isChecked()==1 )
{
- int msdu_size=lineedit_msdu_size->text().toInt();
+ int temp_sum=size_ctrl_hdr_arr1+temp_payload_size;
+
+ //reallocation of control_header_arr
+ control_header_arr= ( unsigned char* ) realloc( control_header_arr, temp_sum * sizeof( unsigned char ) );
+ if ( control_header_arr == NULL )
+ {
+ printf( "Unable to allocate memory...\n" );
+ exit( 1 );
+ }
+ //including payload to control_header_arr array
+ for ( int r=0;r<=temp_payload_size;r++ )
+ control_header_arr[size_ctrl_hdr_arr1+r]=str_payload[r];
+
+ func_qos_call( control_header_arr,temp_sum );
+ }
+ else
+ {
int temp_sum=size_ctrl_hdr_arr1+msdu_size;
unsigned char temp_char_arr[msdu_size];
for ( int i=0;i<msdu_size;i++ )
@@ -447,6 +455,7 @@
func_qos_call( control_header_arr,temp_sum );
}
+ }
}
else
KMessageBox::error( this,"MSDU size should be less than 2305" );
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <sat...@us...> - 2010-03-11 12:03:06
|
Revision: 230
http://w-meter.svn.sourceforge.net/w-meter/?rev=230&view=rev
Author: sathakselva
Date: 2010-03-11 12:02:58 +0000 (Thu, 11 Mar 2010)
Log Message:
-----------
Null Data frame added
Modified Paths:
--------------
frame_injection_g/trunk/doc/Makefile
frame_injection_g/trunk/doc/Makefile.in
frame_injection_g/trunk/doc/en/Makefile
frame_injection_g/trunk/doc/en/Makefile.in
frame_injection_g/trunk/injection.kdevelop
frame_injection_g/trunk/libtool
frame_injection_g/trunk/po/Makefile
frame_injection_g/trunk/po/Makefile.in
frame_injection_g/trunk/src/Data_Qos_data.cpp
frame_injection_g/trunk/src/Makefile
frame_injection_g/trunk/src/Makefile.in
frame_injection_g/trunk/src/data_dataFrame.cpp
frame_injection_g/trunk/src/data_dataframe_cpp.cpp
Modified: frame_injection_g/trunk/doc/Makefile
===================================================================
--- frame_injection_g/trunk/doc/Makefile 2010-03-10 15:09:19 UTC (rev 229)
+++ frame_injection_g/trunk/doc/Makefile 2010-03-11 12:02:58 UTC (rev 230)
@@ -1,9 +1,9 @@
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
+# Makefile.in generated by automake 1.7.9 from Makefile.am.
# KDE tags expanded automatically by am_edit - $Revision: 483858 $
# doc/Makefile. Generated from Makefile.in by configure.
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -18,10 +18,16 @@
# the SUBDIRS is filled automatically by am_edit. If files are
# in this directory they are installed into the english dir
+srcdir = .
+top_srcdir = ..
+
pkgdatadir = $(datadir)/injection
pkglibdir = $(libdir)/injection
pkgincludedir = $(includedir)/injection
+top_builddir = ..
+
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c -p
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
@@ -33,59 +39,26 @@
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
-build_triplet = x86_64-redhat-linux-gnu
-host_triplet = x86_64-redhat-linux-gnu
-target_triplet = x86_64-redhat-linux-gnu
-subdir = doc
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
- $(top_srcdir)/configure.in
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
-SOURCES =
-DIST_SOURCES =
-#>- RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
-#>- html-recursive info-recursive install-data-recursive \
-#>- install-dvi-recursive install-exec-recursive \
-#>- install-html-recursive install-info-recursive \
-#>- install-pdf-recursive install-ps-recursive install-recursive \
-#>- installcheck-recursive installdirs-recursive pdf-recursive \
-#>- ps-recursive uninstall-recursive
-#>+ 7
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive nmcheck-recursive bcheck-recursive
-RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
- distclean-recursive maintainer-clean-recursive
-ETAGS = etags
-CTAGS = ctags
-DIST_SUBDIRS = $(SUBDIRS)
-#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-#>+ 1
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
-ACLOCAL = ${SHELL} /extra/work/wmeter/src/inject/admin/missing --run aclocal-1.10
-AMTAR = ${SHELL} /extra/work/wmeter/src/inject/admin/missing --run tar
+build_triplet = i686-redhat-linux-gnu
+host_triplet = i686-redhat-linux-gnu
+target_triplet = i686-redhat-linux-gnu
+ACLOCAL = ${SHELL} /root/work/injection/w-meter/frame_injection_g/trunk/admin/missing --run aclocal-1.7
+AMDEP_FALSE = #
+AMDEP_TRUE =
+AMTAR = ${SHELL} /root/work/injection/w-meter/frame_injection_g/trunk/admin/missing --run tar
AR = ar
ARTSCCONFIG = /usr/bin/artsc-config
AUTOCONF = $(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure
AUTODIRS =
-AUTOHEADER = ${SHELL} /extra/work/wmeter/src/inject/admin/missing --run autoheader
-AUTOMAKE = ${SHELL} /extra/work/wmeter/src/inject/admin/missing --run automake-1.10
+AUTOHEADER = ${SHELL} /root/work/injection/w-meter/frame_injection_g/trunk/admin/missing --run autoheader
+AUTOMAKE = ${SHELL} /root/work/injection/w-meter/frame_injection_g/trunk/admin/missing --run automake-1.7
AWK = gawk
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -Wformat-security -Wmissing-format-attribute
CONF_FILES = $(top_srcdir)/./admin/configure.in.min $(top_srcdir)/configure.in.in
CPP = gcc -E
-CPPFLAGS = -DQT_THREAD_SUPPORT -D_REENTRANT
+CPPFLAGS = -DQT_THREAD_SUPPORT -g -D_REENTRANT
CXX = g++
CXXCPP = g++ -E
CXXDEPMODE = depmode=gcc3
@@ -110,23 +83,22 @@
GMSGFMT = /usr/bin/msgfmt
GREP = /bin/grep
HAVE_GCC_VISIBILITY = 0
-INSTALL = /usr/bin/install -c -p
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL} $(INSTALL_STRIP_FLAG)
INSTALL_SCRIPT = ${INSTALL}
-INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
KCFG_DEPENDENCIES = $(KCONFIG_COMPILER)
KCONFIG_COMPILER = /usr/bin/kconfig_compiler
KDECONFIG = /usr/bin/kde-config
KDE_CHECK_PLUGIN = $(KDE_PLUGIN) -rpath $(libdir)
KDE_EXTRA_RPATH =
KDE_INCLUDES = -I/usr/include/kde
-KDE_LDFLAGS = -L/usr/lib64
+KDE_LDFLAGS = -L/usr/lib
KDE_MT_LDFLAGS =
KDE_MT_LIBS = -lpthread
KDE_NO_UNDEFINED = -Wl,--no-undefined -Wl,--allow-shlib-undefined
KDE_PLUGIN = -avoid-version -module -no-undefined $(KDE_NO_UNDEFINED) $(KDE_RPATH) $(KDE_MT_LDFLAGS)
-KDE_RPATH = -R $(libdir) -R $(kde_libraries) -R $(qt_libraries) -R $(x_libraries)
+KDE_RPATH = -R $(libdir) -R $(kde_libraries) -R $(qt_libraries)
KDE_USE_CLOSURE_FALSE =
KDE_USE_CLOSURE_TRUE = #
KDE_USE_FINAL_FALSE =
@@ -136,7 +108,7 @@
KDE_USE_NMCHECK_TRUE = #
KDE_USE_PIE = -pie
KDE_XSL_STYLESHEET = /usr/share/apps/ksgmltools2/customization/kde-chunk.xsl
-LDFLAGS = -lwmpit -lpcap
+LDFLAGS = -lpcap
LDFLAGS_AS_NEEDED =
LDFLAGS_NEW_DTAGS =
LIBCOMPAT =
@@ -183,12 +155,11 @@
LIB_XRENDER =
LN_S = ln -s
LTLIBOBJS =
-MAKEINFO = ${SHELL} /extra/work/wmeter/src/inject/admin/missing --run makeinfo
+MAKEINFO = ${SHELL} /root/work/injection/w-meter/frame_injection_g/trunk/admin/missing --run makeinfo
MAKEKDEWIDGETS =
MCOPIDL = /usr/bin/mcopidl
MEINPROC = /usr/bin/meinproc
-MKDIR_P = /bin/mkdir -p
-MOC = /usr/lib64/qt-3.3/bin/moc
+MOC = /usr/lib/qt-3.3/bin/moc
MSGFMT = /usr/bin/msgfmt
NOOPT_CFLAGS = -O0
NOOPT_CXXFLAGS = -O0
@@ -203,14 +174,14 @@
PERL = /usr/bin/perl
PKG_CONFIG = /usr/bin/pkg-config
QTE_NORTTI =
-QT_INCLUDES = -I/usr/lib64/qt-3.3/include
-QT_LDFLAGS = -L/usr/lib64/qt-3.3/lib
+QT_INCLUDES = -I/usr/lib/qt-3.3/include
+QT_LDFLAGS = -L/usr/lib/qt-3.3/lib
RANLIB = ranlib
SET_MAKE =
SHELL = /bin/sh
STRIP = strip
TOPSUBDIRS = doc po src
-UIC = /usr/lib64/qt-3.3/bin/uic -L $(kde_widgetdir) -nounload
+UIC = /usr/lib/qt-3.3/bin/uic -L $(kde_widgetdir) -nounload
UIC_TR = tr2i18n
USER_INCLUDES =
USER_LDFLAGS =
@@ -224,44 +195,45 @@
XMLLINT = /usr/bin/xmllint
X_EXTRA_LIBS =
X_INCLUDES = -I.
-X_LDFLAGS = -L/usr/lib64
+X_LDFLAGS =
X_PRE_LIBS =
-X_RPATH = -R $(x_libraries)
-abs_builddir = /extra/work/wmeter/src/inject/doc
-abs_srcdir = /extra/work/wmeter/src/inject/doc
-abs_top_builddir = /extra/work/wmeter/src/inject
-abs_top_srcdir = /extra/work/wmeter/src/inject
+X_RPATH =
ac_ct_CC = gcc
ac_ct_CXX = g++
ac_ct_F77 = gfortran
-all_includes = -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I.
-all_libraries = -L/usr/lib64/qt-3.3/lib -L/usr/lib64
+all_includes = -I/usr/include/kde -I/usr/lib/qt-3.3/include -I.
+all_libraries = -L/usr/lib/qt-3.3/lib
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE =
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE =
am__include = include
am__leading_dot = .
am__quote =
-am__tar = ${AMTAR} chof - "$$tardir"
-am__untar = ${AMTAR} xf -
bindir = ${exec_prefix}/bin
-build = x86_64-redhat-linux-gnu
+build = i686-redhat-linux-gnu
build_alias =
-build_cpu = x86_64
+build_cpu = i686
build_os = linux-gnu
build_vendor = redhat
-builddir = .
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE}
dvidir = ${docdir}
exec_prefix = ${prefix}
-host = x86_64-redhat-linux-gnu
+host = i686-redhat-linux-gnu
host_alias =
-host_cpu = x86_64
+host_cpu = i686
host_os = linux-gnu
host_vendor = redhat
htmldir = ${docdir}
+include_ARTS_FALSE = #
+include_ARTS_TRUE =
+include_x11_FALSE = #
+include_x11_TRUE =
includedir = ${prefix}/include
infodir = ${datarootdir}/info
-install_sh = $(SHELL) /extra/work/wmeter/src/inject/admin/install-sh
+install_sh = /root/work/injection/w-meter/frame_injection_g/trunk/admin/install-sh
kde_appsdir = ${datadir}/applnk
kde_bindir = ${exec_prefix}/bin
kde_confdir = ${datadir}/config
@@ -270,7 +242,7 @@
kde_icondir = ${datadir}/icons
kde_includes = /usr/include/kde
kde_kcfgdir = ${datadir}/config.kcfg
-kde_libraries = /usr/lib64
+kde_libraries = /usr/lib
kde_libs_htmldir = /usr/share/doc/HTML
kde_libs_prefix = /usr
kde_locale = ${datadir}/locale
@@ -283,97 +255,86 @@
kde_styledir = ${libdir}/kde3/plugins/styles
kde_templatesdir = ${datadir}/templates
kde_wallpaperdir = ${datadir}/wallpapers
-kde_widgetdir = /usr/lib64/kde3/plugins/designer
+kde_widgetdir = /usr/lib/kde3/plugins/designer
kdeinitdir = $(kde_moduledir)
-libdir = ${exec_prefix}/lib64
+libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
localstatedir = ${prefix}/var
mandir = ${datarootdir}/man
-mkdir_p = /bin/mkdir -p
oldincludedir = /usr/include
pdfdir = ${docdir}
prefix = /usr
program_transform_name = s,x,x,
psdir = ${docdir}
-qt_includes = /usr/lib64/qt-3.3/include
-qt_libraries = /usr/lib64/qt-3.3/lib
+qt_includes = /usr/lib/qt-3.3/include
+qt_libraries = /usr/lib/qt-3.3/lib
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
-srcdir = .
sysconfdir = ${prefix}/etc
-target = x86_64-redhat-linux-gnu
+target = i686-redhat-linux-gnu
target_alias =
-target_cpu = x86_64
+target_cpu = i686
target_os = linux-gnu
target_vendor = redhat
-top_build_prefix = ../
-top_builddir = ..
-top_srcdir = ..
+unsermake_enable_pch_FALSE =
+unsermake_enable_pch_TRUE = #
x_includes = .
-x_libraries = /usr/lib64
+x_libraries = /usr/lib
xdg_appsdir = ${datadir}/applications/kde
xdg_directorydir = ${datadir}/desktop-directories
xdg_menudir = ${sysconfdir}/xdg/menus
+
KDE_LANG = en
KDE_DOCS = injection
#>- SUBDIRS = $(AUTODIRS)
#>+ 1
SUBDIRS =. en
+subdir = doc
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+DIST_SOURCES =
+
+#>- RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
+#>- ps-recursive install-info-recursive uninstall-info-recursive \
+#>- all-recursive install-data-recursive install-exec-recursive \
+#>- installdirs-recursive install-recursive uninstall-recursive \
+#>- check-recursive installcheck-recursive
+#>+ 5
+RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
+ ps-recursive install-info-recursive uninstall-info-recursive \
+ all-recursive install-data-recursive install-exec-recursive \
+ installdirs-recursive install-recursive uninstall-recursive \
+ check-recursive installcheck-recursive nmcheck-recursive bcheck-recursive
+DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
+DIST_SUBDIRS = $(SUBDIRS)
#>- all: all-recursive
#>+ 1
all: docs-am all-recursive
.SUFFIXES:
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
-#>- @for dep in $?; do \
-#>- case '$(am__configure_deps)' in \
-#>- *$$dep*) \
-#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
-#>- && exit 0; \
-#>- exit 1;; \
-#>- esac; \
-#>- done; \
-#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
#>- cd $(top_srcdir) && \
#>- $(AUTOMAKE) --gnu doc/Makefile
-#>+ 12
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
+#>+ 3
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu doc/Makefile
cd $(top_srcdir) && perl admin/am_edit doc/Makefile.in
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- esac;
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: $(am__configure_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
@@ -381,13 +342,7 @@
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
- @failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
+ @set fnord $$MAKEFLAGS; amf=$$2; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
@@ -399,20 +354,15 @@
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || eval $$failcom; \
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-$(RECURSIVE_CLEAN_TARGETS):
- @failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
+mostlyclean-recursive clean-recursive distclean-recursive \
+maintainer-clean-recursive:
+ @set fnord $$MAKEFLAGS; amf=$$2; \
dot_seen=no; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
@@ -433,7 +383,7 @@
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || eval $$failcom; \
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
@@ -444,30 +394,35 @@
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
done
+ETAGS = etags
+ETAGSFLAGS =
+
+CTAGS = ctags
+CTAGSFLAGS =
+
+tags: TAGS
+
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
- $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
mkid -fID $$unique
-tags: TAGS
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
- if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ if (etags --etags-include --version) >/dev/null 2>&1; then \
include_option=--etags-include; \
- empty_fix=.; \
else \
include_option=--include; \
- empty_fix=; \
fi; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
- test ! -f $$subdir/TAGS || \
+ test -f $$subdir/TAGS && \
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
@@ -475,23 +430,23 @@
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
- test -n "$$unique" || unique=$$empty_fix; \
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- $$tags $$unique; \
- fi
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique
+
ctags: CTAGS
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
+ here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$tags $$unique
@@ -503,23 +458,30 @@
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+top_distdir = ..
+distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+
distdir: $(DISTFILES)
- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- list='$(DISTFILES)'; \
- dist_files=`for file in $$list; do echo $$file; done | \
- sed -e "s|^$$srcdirstrip/||;t" \
- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- case $$dist_files in \
- */*) $(MKDIR_P) `echo "$$dist_files" | \
- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- sort -u` ;; \
- esac; \
- for file in $$dist_files; do \
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkinstalldirs) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
if test -d $$d/$$file; then \
- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
@@ -530,19 +492,15 @@
|| exit 1; \
fi; \
done
- list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
- test -d "$(distdir)/$$subdir" \
- || $(MKDIR_P) "$(distdir)/$$subdir" \
+ test -d $(distdir)/$$subdir \
+ || mkdir $(distdir)/$$subdir \
|| exit 1; \
- distdir=`$(am__cd) $(distdir) && pwd`; \
- top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
(cd $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
- top_distdir="$$top_distdir" \
- distdir="$$distdir/$$subdir" \
- am__remove_distdir=: \
- am__skip_length_check=: \
+ top_distdir="$(top_distdir)" \
+ distdir=../$(distdir)/$$subdir \
distdir) \
|| exit 1; \
fi; \
@@ -552,6 +510,7 @@
all-am: Makefile
installdirs: installdirs-recursive
installdirs-am:
+
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
@@ -571,7 +530,7 @@
clean-generic:
distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@@ -586,34 +545,25 @@
distclean: distclean-recursive
-rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-tags
+distclean-am: clean-am distclean-generic distclean-libtool \
+ distclean-tags
dvi: dvi-recursive
dvi-am:
-html: html-recursive
-
info: info-recursive
info-am:
install-data-am:
-install-dvi: install-dvi-recursive
-
install-exec-am:
-install-html: install-html-recursive
-
install-info: install-info-recursive
install-man:
-install-pdf: install-pdf-recursive
-
-install-ps: install-ps-recursive
-
installcheck-am:
maintainer-clean: maintainer-clean-recursive
@@ -632,47 +582,40 @@
ps-am:
-uninstall-am:
+uninstall-am: uninstall-info-am
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
- install-strip
+uninstall-info: uninstall-info-recursive
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am check check-am clean clean-generic clean-libtool \
- ctags ctags-recursive distclean distclean-generic \
- distclean-libtool distclean-tags distdir dvi dvi-am html \
- html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs installdirs-am maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-generic \
- mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
- uninstall uninstall-am
+.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
+ clean-generic clean-libtool clean-recursive ctags \
+ ctags-recursive distclean distclean-generic distclean-libtool \
+ distclean-recursive distclean-tags distdir dvi dvi-am \
+ dvi-recursive info info-am info-recursive install install-am \
+ install-data install-data-am install-data-recursive \
+ install-exec install-exec-am install-exec-recursive \
+ install-info install-info-am install-info-recursive install-man \
+ install-recursive install-strip installcheck installcheck-am \
+ installdirs installdirs-am installdirs-recursive \
+ maintainer-clean maintainer-clean-generic \
+ maintainer-clean-recursive mostlyclean mostlyclean-generic \
+ mostlyclean-libtool mostlyclean-recursive pdf pdf-am \
+ pdf-recursive ps ps-am ps-recursive tags tags-recursive \
+ uninstall uninstall-am uninstall-info-am \
+ uninstall-info-recursive uninstall-recursive
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
#>+ 2
-KDE_DIST=Makefile.in Makefile.am
+KDE_DIST=Makefile.in
#>+ 2
docs-am:
-#>+ 15
+#>+ 6
force-reedit:
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
- cd $(top_srcdir) && \
+ cd $(top_srcdir) && \
$(AUTOMAKE) --gnu doc/Makefile
cd $(top_srcdir) && perl admin/am_edit doc/Makefile.in
Modified: frame_injection_g/trunk/doc/Makefile.in
===================================================================
--- frame_injection_g/trunk/doc/Makefile.in 2010-03-10 15:09:19 UTC (rev 229)
+++ frame_injection_g/trunk/doc/Makefile.in 2010-03-11 12:02:58 UTC (rev 230)
@@ -1,9 +1,9 @@
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
+# Makefile.in generated by automake 1.7.9 from Makefile.am.
# KDE tags expanded automatically by am_edit - $Revision: 483858 $
# @configure_input@
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -17,11 +17,17 @@
# the SUBDIRS is filled automatically by am_edit. If files are
# in this directory they are installed into the english dir
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ..
+
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
@@ -36,42 +42,9 @@
build_triplet = @build@
host_triplet = @host@
target_triplet = @target@
-subdir = doc
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
- $(top_srcdir)/configure.in
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
-SOURCES =
-DIST_SOURCES =
-#>- RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
-#>- html-recursive info-recursive install-data-recursive \
-#>- install-dvi-recursive install-exec-recursive \
-#>- install-html-recursive install-info-recursive \
-#>- install-pdf-recursive install-ps-recursive install-recursive \
-#>- installcheck-recursive installdirs-recursive pdf-recursive \
-#>- ps-recursive uninstall-recursive
-#>+ 7
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive nmcheck-recursive bcheck-recursive
-RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
- distclean-recursive maintainer-clean-recursive
-ETAGS = etags
-CTAGS = ctags
-DIST_SUBDIRS = $(SUBDIRS)
-#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-#>+ 1
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
AMTAR = @AMTAR@
AR = @AR@
ARTSCCONFIG = @ARTSCCONFIG@
@@ -110,7 +83,6 @@
GMSGFMT = @GMSGFMT@
GREP = @GREP@
HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
-INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
@@ -187,7 +159,6 @@
MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
MCOPIDL = @MCOPIDL@
MEINPROC = @MEINPROC@
-MKDIR_P = @MKDIR_P@
MOC = @MOC@
MSGFMT = @MSGFMT@
NOOPT_CFLAGS = @NOOPT_CFLAGS@
@@ -227,27 +198,24 @@
X_LDFLAGS = @X_LDFLAGS@
X_PRE_LIBS = @X_PRE_LIBS@
X_RPATH = @X_RPATH@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_F77 = @ac_ct_F77@
all_includes = @all_includes@
all_libraries = @all_libraries@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
-builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
@@ -259,6 +227,10 @@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
+include_ARTS_FALSE = @include_ARTS_FALSE@
+include_ARTS_TRUE = @include_ARTS_TRUE@
+include_x11_FALSE = @include_x11_FALSE@
+include_x11_TRUE = @include_x11_TRUE@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
@@ -290,7 +262,6 @@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
-mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
@@ -300,80 +271,70 @@
qt_libraries = @qt_libraries@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
sysconfdir = @sysconfdir@
target = @target@
target_alias = @target_alias@
target_cpu = @target_cpu@
target_os = @target_os@
target_vendor = @target_vendor@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
+unsermake_enable_pch_FALSE = @unsermake_enable_pch_FALSE@
+unsermake_enable_pch_TRUE = @unsermake_enable_pch_TRUE@
x_includes = @x_includes@
x_libraries = @x_libraries@
xdg_appsdir = @xdg_appsdir@
xdg_directorydir = @xdg_directorydir@
xdg_menudir = @xdg_menudir@
+
KDE_LANG = en
KDE_DOCS = injection
#>- SUBDIRS = $(AUTODIRS)
#>+ 1
SUBDIRS =. en
+subdir = doc
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+DIST_SOURCES =
+
+#>- RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
+#>- ps-recursive install-info-recursive uninstall-info-recursive \
+#>- all-recursive install-data-recursive install-exec-recursive \
+#>- installdirs-recursive install-recursive uninstall-recursive \
+#>- check-recursive installcheck-recursive
+#>+ 5
+RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
+ ps-recursive install-info-recursive uninstall-info-recursive \
+ all-recursive install-data-recursive install-exec-recursive \
+ installdirs-recursive install-recursive uninstall-recursive \
+ check-recursive installcheck-recursive nmcheck-recursive bcheck-recursive
+DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
+DIST_SUBDIRS = $(SUBDIRS)
#>- all: all-recursive
#>+ 1
all: docs-am all-recursive
.SUFFIXES:
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
-#>- @for dep in $?; do \
-#>- case '$(am__configure_deps)' in \
-#>- *$$dep*) \
-#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
-#>- && exit 0; \
-#>- exit 1;; \
-#>- esac; \
-#>- done; \
-#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
#>- cd $(top_srcdir) && \
#>- $(AUTOMAKE) --gnu doc/Makefile
-#>+ 12
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
+#>+ 3
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu doc/Makefile
cd $(top_srcdir) && perl admin/am_edit doc/Makefile.in
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- esac;
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: $(am__configure_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
@@ -381,13 +342,7 @@
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
- @failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
+ @set fnord $$MAKEFLAGS; amf=$$2; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
@@ -399,20 +354,15 @@
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || eval $$failcom; \
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-$(RECURSIVE_CLEAN_TARGETS):
- @failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
+mostlyclean-recursive clean-recursive distclean-recursive \
+maintainer-clean-recursive:
+ @set fnord $$MAKEFLAGS; amf=$$2; \
dot_seen=no; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
@@ -433,7 +383,7 @@
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || eval $$failcom; \
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
@@ -444,30 +394,35 @@
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
done
+ETAGS = etags
+ETAGSFLAGS =
+
+CTAGS = ctags
+CTAGSFLAGS =
+
+tags: TAGS
+
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
- $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
mkid -fID $$unique
-tags: TAGS
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
- if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ if (etags --etags-include --version) >/dev/null 2>&1; then \
include_option=--etags-include; \
- empty_fix=.; \
else \
include_option=--include; \
- empty_fix=; \
fi; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
- test ! -f $$subdir/TAGS || \
+ test -f $$subdir/TAGS && \
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
@@ -475,23 +430,23 @@
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
- test -n "$$unique" || unique=$$empty_fix; \
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- $$tags $$unique; \
- fi
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ test -z "$(ETAGS_ARGS)$$tags$$unique" \
+ || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique
+
ctags: CTAGS
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
+ here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$tags $$unique
@@ -503,23 +458,30 @@
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+top_distdir = ..
+distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+
distdir: $(DISTFILES)
- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- list='$(DISTFILES)'; \
- dist_files=`for file in $$list; do echo $$file; done | \
- sed -e "s|^$$srcdirstrip/||;t" \
- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- case $$dist_files in \
- */*) $(MKDIR_P) `echo "$$dist_files" | \
- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- sort -u` ;; \
- esac; \
- for file in $$dist_files; do \
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkinstalldirs) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
if test -d $$d/$$file; then \
- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
@@ -530,19 +492,15 @@
|| exit 1; \
fi; \
done
- list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
- test -d "$(distdir)/$$subdir" \
- || $(MKDIR_P) "$(distdir)/$$subdir" \
+ test -d $(distdir)/$$subdir \
+ || mkdir $(distdir)/$$subdir \
|| exit 1; \
- distdir=`$(am__cd) $(distdir) && pwd`; \
- top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
(cd $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
- top_distdir="$$top_distdir" \
- distdir="$$distdir/$$subdir" \
- am__remove_distdir=: \
- am__skip_length_check=: \
+ top_distdir="$(top_distdir)" \
+ distdir=../$(distdir)/$$subdir \
distdir) \
|| exit 1; \
fi; \
@@ -552,6 +510,7 @@
all-am: Makefile
installdirs: installdirs-recursive
installdirs-am:
+
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
@@ -571,7 +530,7 @@
clean-generic:
distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@@ -586,34 +545,25 @@
distclean: distclean-recursive
-rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-tags
+distclean-am: clean-am distclean-generic distclean-libtool \
+ distclean-tags
dvi: dvi-recursive
dvi-am:
-html: html-recursive
-
info: info-recursive
info-am:
install-data-am:
-install-dvi: install-dvi-recursive
-
install-exec-am:
-install-html: install-html-recursive
-
install-info: install-info-recursive
install-man:
-install-pdf: install-pdf-recursive
-
-install-ps: install-ps-recursive
-
installcheck-am:
maintainer-clean: maintainer-clean-recursive
@@ -632,47 +582,40 @@
ps-am:
-uninstall-am:
+uninstall-am: uninstall-info-am
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
- install-strip
+uninstall-info: uninstall-info-recursive
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am check check-am clean clean-generic clean-libtool \
- ctags ctags-recursive distclean distclean-generic \
- distclean-libtool distclean-tags distdir dvi dvi-am html \
- html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs installdirs-am maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-generic \
- mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
- uninstall uninstall-am
+.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
+ clean-generic clean-libtool clean-recursive ctags \
+ ctags-recursive distclean distclean-generic distclean-libtool \
+ distclean-recursive distclean-tags distdir dvi dvi-am \
+ dvi-recursive info info-am info-recursive install install-am \
+ install-data install-data-am install-data-recursive \
+ install-exec install-exec-am install-exec-recursive \
+ install-info install-info-am install-info-recursive install-man \
+ install-recursive install-strip installcheck installcheck-am \
+ installdirs installdirs-am installdirs-recursive \
+ maintainer-clean maintainer-clean-generic \
+ maintainer-clean-recursive mostlyclean mostlyclean-generic \
+ mostlyclean-libtool mostlyclean-recursive pdf pdf-am \
+ pdf-recursive ps ps-am ps-recursive tags tags-recursive \
+ uninstall uninstall-am uninstall-info-am \
+ uninstall-info-recursive uninstall-recursive
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
#>+ 2
-KDE_DIST=Makefile.in Makefile.am
+KDE_DIST=Makefile.in
#>+ 2
docs-am:
-#>+ 15
+#>+ 6
force-reedit:
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
- cd $(top_srcdir) && \
+ cd $(top_srcdir) && \
$(AUTOMAKE) --gnu doc/Makefile
cd $(top_srcdir) && perl admin/am_edit doc/Makefile.in
Modified: frame_injection_g/trunk/doc/en/Makefile
===================================================================
--- frame_injection_g/trunk/doc/en/Makefile 2010-03-10 15:09:19 UTC (rev 229)
+++ frame_injection_g/trunk/doc/en/Makefile 2010-03-11 12:02:58 UTC (rev 230)
@@ -1,9 +1,9 @@
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
+# Makefile.in generated by automake 1.7.9 from Makefile.am.
# KDE tags expanded automatically by am_edit - $Revision: 483858 $
# doc/en/Makefile. Generated from Makefile.in by configure.
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -15,10 +15,16 @@
+srcdir = .
+top_srcdir = ../..
+
pkgdatadir = $(datadir)/injection
pkglibdir = $(libdir)/injection
pkgincludedir = $(includedir)/injection
+top_builddir = ../..
+
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c -p
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
@@ -30,39 +36,26 @@
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
-build_triplet = x86_64-redhat-linux-gnu
-host_triplet = x86_64-redhat-linux-gnu
-target_triplet = x86_64-redhat-linux-gnu
-subdir = doc/en
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
- $(top_srcdir)/configure.in
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
-SOURCES =
-DIST_SOURCES =
-#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-#>+ 1
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
-ACLOCAL = ${SHELL} /extra/work/wmeter/src/inject/admin/missing --run aclocal-1.10
-AMTAR = ${SHELL} /extra/work/wmeter/src/inject/admin/missing --run tar
+build_triplet = i686-redhat-linux-gnu
+host_triplet = i686-redhat-linux-gnu
+target_triplet = i686-redhat-linux-gnu
+ACLOCAL = ${SHELL} /root/work/injection/w-meter/frame_injection_g/trunk/admin/missing --run aclocal-1.7
+AMDEP_FALSE = #
+AMDEP_TRUE =
+AMTAR = ${SHELL} /root/work/injection/w-meter/frame_injection_g/trunk/admin/missing --run tar
AR = ar
ARTSCCONFIG = /usr/bin/artsc-config
AUTOCONF = $(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure
AUTODIRS =
-AUTOHEADER = ${SHELL} /extra/work/wmeter/src/inject/admin/missing --run autoheader
-AUTOMAKE = ${SHELL} /extra/work/wmeter/src/inject/admin/missing --run automake-1.10
+AUTOHEADER = ${SHELL} /root/work/injection/w-meter/frame_injection_g/trunk/admin/missing --run autoheader
+AUTOMAKE = ${SHELL} /root/work/injection/w-meter/frame_injection_g/trunk/admin/missing --run automake-1.7
AWK = gawk
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -Wformat-security -Wmissing-format-attribute
CONF_FILES = $(top_srcdir)/./admin/configure.in.min $(top_srcdir)/configure.in.in
CPP = gcc -E
-CPPFLAGS = -DQT_THREAD_SUPPORT -D_REENTRANT
+CPPFLAGS = -DQT_THREAD_SUPPORT -g -D_REENTRANT
CXX = g++
CXXCPP = g++ -E
CXXDEPMODE = depmode=gcc3
@@ -87,23 +80,22 @@
GMSGFMT = /usr/bin/msgfmt
GREP = /bin/grep
HAVE_GCC_VISIBILITY = 0
-INSTALL = /usr/bin/install -c -p
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL} $(INSTALL_STRIP_FLAG)
INSTALL_SCRIPT = ${INSTALL}
-INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
KCFG_DEPENDENCIES = $(KCONFIG_COMPILER)
KCONFIG_COMPILER = /usr/bin/kconfig_compiler
KDECONFIG = /usr/bin/kde-config
KDE_CHECK_PLUGIN = $(KDE_PLUGIN) -rpath $(libdir)
KDE_EXTRA_RPATH =
KDE_INCLUDES = -I/usr/include/kde
-KDE_LDFLAGS = -L/usr/lib64
+KDE_LDFLAGS = -L/usr/lib
KDE_MT_LDFLAGS =
KDE_MT_LIBS = -lpthread
KDE_NO_UNDEFINED = -Wl,--no-undefined -Wl,--allow-shlib-undefined
KDE_PLUGIN = -avoid-version -module -no-undefined $(KDE_NO_UNDEFINED) $(KDE_RPATH) $(KDE_MT_LDFLAGS)
-KDE_RPATH = -R $(libdir) -R $(kde_libraries) -R $(qt_libraries) -R $(x_libraries)
+KDE_RPATH = -R $(libdir) -R $(kde_libraries) -R $(qt_libraries)
KDE_USE_CLOSURE_FALSE =
KDE_USE_CLOSURE_TRUE = #
KDE_USE_FINAL_FALSE =
@@ -113,7 +105,7 @@
KDE_USE_NMCHECK_TRUE = #
KDE_USE_PIE = -pie
KDE_XSL_STYLESHEET = /usr/share/apps/ksgmltools2/customization/kde-chunk.xsl
-LDFLAGS = -lwmpit -lpcap
+LDFLAGS = -lpcap
LDFLAGS_AS_NEEDED =
LDFLAGS_NEW_DTAGS =
LIBCOMPAT =
@@ -160,12 +152,11 @@
LIB_XRENDER =
LN_S = ln -s
LTLIBOBJS =
-MAKEINFO = ${SHELL} /extra/work/wmeter/src/inject/admin/missing --run makeinfo
+MAKEINFO = ${SHELL} /root/work/injection/w-meter/frame_injection_g/trunk/admin/missing --run makeinfo
MAKEKDEWIDGETS =
MCOPIDL = /usr/bin/mcopidl
MEINPROC = /usr/bin/meinproc
-MKDIR_P = /bin/mkdir -p
-MOC = /usr/lib64/qt-3.3/bin/moc
+MOC = /usr/lib/qt-3.3/bin/moc
MSGFMT = /usr/bin/msgfmt
NOOPT_CFLAGS = -O0
NOOPT_CXXFLAGS = -O0
@@ -180,14 +171,14 @@
PERL = /usr/bin/perl
PKG_CONFIG = /usr/bin/pkg-config
QTE_NORTTI =
-QT_INCLUDES = -I/usr/lib64/qt-3.3/include
-QT_LDFLAGS = -L/usr/lib64/qt-3.3/lib
+QT_INCLUDES = -I/usr/lib/qt-3.3/include
+QT_LDFLAGS = -L/usr/lib/qt-3.3/lib
RANLIB = ranlib
SET_MAKE =
SHELL = /bin/sh
STRIP = strip
TOPSUBDIRS = doc po src
-UIC = /usr/lib64/qt-3.3/bin/uic -L $(kde_widgetdir) -nounload
+UIC = /usr/lib/qt-3.3/bin/uic -L $(kde_widgetdir) -nounload
UIC_TR = tr2i18n
USER_INCLUDES =
USER_LDFLAGS =
@@ -201,44 +192,45 @@
XMLLINT = /usr/bin/xmllint
X_EXTRA_LIBS =
X_INCLUDES = -I.
-X_LDFLAGS = -L/usr/lib64
+X_LDFLAGS =
X_PRE_LIBS =
-X_RPATH = -R $(x_libraries)
-abs_builddir = /extra/work/wmeter/src/inject/doc/en
-abs_srcdir = /extra/work/wmeter/src/inject/doc/en
-abs_top_builddir = /extra/work/wmeter/src/inject
-abs_top_srcdir = /extra/work/wmeter/src/inject
+X_RPATH =
ac_ct_CC = gcc
ac_ct_CXX = g++
ac_ct_F77 = gfortran
-all_includes = -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I.
-all_libraries = -L/usr/lib64/qt-3.3/lib -L/usr/lib64
+all_includes = -I/usr/include/kde -I/usr/lib/qt-3.3/include -I.
+all_libraries = -L/usr/lib/qt-3.3/lib
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE =
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE =
am__include = include
am__leading_dot = .
am__quote =
-am__tar = ${AMTAR} chof - "$$tardir"
-am__untar = ${AMTAR} xf -
bindir = ${exec_prefix}/bin
-build = x86_64-redhat-linux-gnu
+build = i686-redhat-linux-gnu
build_alias =
-build_cpu = x86_64
+build_cpu = i686
build_os = linux-gnu
build_vendor = redhat
-builddir = .
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE}
dvidir = ${docdir}
exec_prefix = ${prefix}
-host = x86_64-redhat-linux-gnu
+host = i686-redhat-linux-gnu
host_alias =
-host_cpu = x86_64
+host_cpu = i686
host_os = linux-gnu
host_vendor = redhat
htmldir = ${docdir}
+include_ARTS_FALSE = #
+include_ARTS_TRUE =
+include_x11_FALSE = #
+include_x11_TRUE =
includedir = ${prefix}/include
infodir = ${datarootdir}/info
-install_sh = $(SHELL) /extra/work/wmeter/src/inject/admin/install-sh
+install_sh = /root/work/injection/w-meter/frame_injection_g/trunk/admin/install-sh
kde_appsdir = ${datadir}/applnk
kde_bindir = ${exec_prefix}/bin
kde_confdir = ${datadir}/config
@@ -247,7 +239,7 @@
kde_icondir = ${datadir}/icons
kde_includes = /usr/include/kde
kde_kcfgdir = ${datadir}/config.kcfg
-kde_libraries = /usr/lib64
+kde_libraries = /usr/lib
kde_libs_htmldir = /usr/share/doc/HTML
kde_libs_prefix = /usr
kde_locale = ${datadir}/locale
@@ -260,118 +252,100 @@
kde_styledir = ${libdir}/kde3/plugins/styles
kde_templatesdir = ${datadir}/templates
kde_wallpaperdir = ${datadir}/wallpapers
-kde_widgetdir = /usr/lib64/kde3/plugins/designer
+kde_widgetdir = /usr/lib/kde3/plugins/designer
kdeinitdir = $(kde_moduledir)
-libdir = ${exec_prefix}/lib64
+libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
localstatedir = ${prefix}/var
mandir = ${datarootdir}/man
-mkdir_p = /bin/mkdir -p
oldincludedir = /usr/include
pdfdir = ${docdir}
prefix = /usr
program_transform_name = s,x,x,
psdir = ${docdir}
-qt_includes = /usr/lib64/qt-3.3/include
-qt_libraries = /usr/lib64/qt-3.3/lib
+qt_includes = /usr/lib/qt-3.3/include
+qt_libraries = /usr/lib/qt-3.3/lib
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
-srcdir = .
sysconfdir = ${prefix}/etc
-target = x86_64-redhat-linux-gnu
+target = i686-redhat-linux-gnu
target_alias =
-target_cpu = x86_64
+target_cpu = i686
target_os = linux-gnu
target_vendor = redhat
-top_build_prefix = ../../
-top_builddir = ../..
-top_srcdir = ../..
+unsermake_enable_pch_FALSE =
+unsermake_enable_pch_TRUE = #
x_includes = .
-x_libraries = /usr/lib64
+x_libraries = /usr/lib
xdg_appsdir = ${datadir}/applications/kde
xdg_directorydir = ${datadir}/desktop-directories
xdg_menudir = ${sysconfdir}/xdg/menus
KDE_DOCS = injection
KDE_LANG = en
+subdir = doc/en
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+DIST_SOURCES =
+DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
#>- all: all-am
#>+ 1
all: docs-am all-am
.SUFFIXES:
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
-#>- @for dep in $?; do \
-#>- case '$(am__configure_deps)' in \
-#>- *$$dep*) \
-#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
-#>- && exit 0; \
-#>- exit 1;; \
-#>- esac; \
-#>- done; \
-#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/en/Makefile'; \
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
#>- cd $(top_srcdir) && \
#>- $(AUTOMAKE) --gnu doc/en/Makefile
-#>+ 12
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/en/Makefile'; \
+#>+ 3
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu doc/en/Makefile
cd $(top_srcdir) && perl admin/am_edit doc/en/Makefile.in
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- esac;
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: $(am__configure_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
tags: TAGS
TAGS:
ctags: CTAGS
CTAGS:
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+top_distdir = ../..
+distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+
#>- distdir: $(DISTFILES)
#>+ 1
distdir: distdir-nls $(DISTFILES)
- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- list='$(DISTFILES)'; \
- dist_files=`for file in $$list; do echo $$file; done | \
- sed -e "s|^$$srcdirstrip/||;t" \
- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- case $$dist_files in \
- */*) $(MKDIR_P) `echo "$$dist_files" | \
- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- sort -u` ;; \
- esac; \
- for file in $$dist_files; do \
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkinstalldirs) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
if test -d $$d/$$file; then \
- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
@@ -385,6 +359,7 @@
check-am: all-am
check: check-am
all-am: Makefile
+
installdirs:
install: install-am
install-exec: install-exec-am
@@ -407,7 +382,7 @@
clean-generic:
distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@@ -422,14 +397,12 @@
distclean: distclean-am
-rm -f Makefile
-distclean-am: clean-am distclean-generic
+distclean-am: clean-am distclean-generic distclean-libtool
dvi: dvi-am
dvi-am:
-html: html-am
-
info: info-am
info-am:
@@ -438,20 +411,12 @@
#>+ 1
install-data-am: install-docs install-nls
-install-dvi: install-dvi-am
-
install-exec-am:
-install-html: install-html-am
-
install-info: install-info-am
install-man:
-install-pdf: install-pdf-am
-
-install-ps: install-ps-am
-
installcheck-am:
maintainer-clean: maintainer-clean-am
@@ -470,27 +435,24 @@
ps-am:
-uninstall-am:
+uninstall-am: uninstall-info-am
-.MAKE: install-am install-strip
-
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
distclean distclean-generic distclean-libtool distdir dvi \
- dvi-am html html-am info info-am install install-am \
- install-data install-data-am install-dvi install-dvi-am \
- install-exec install-exec-am install-html install-html-am \
- install-info install-info-am install-man install-pdf \
- install-pdf-am install-ps install-ps-am install-strip \
- installcheck installcheck-am installdirs maintainer-clean \
+ dvi-am info info-am install install-am install-data \
+ install-data-am install-exec install-exec-am install-info \
+ install-info-am install-man install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic \
- mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
+ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
+ uninstall-info-am
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
#>+ 2
-KDE_DIST=index.docbook Makefile.in Makefile.am
+KDE_DIST=Makefile.in index.docbook
#>+ 24
index.cache.bz2: $(srcdir)/index.docbook $(KDE_XSL_STYLESHEET) index.docbook
@@ -537,18 +499,9 @@
cp $(srcdir)/$$file $(distdir); \
done
-#>+ 15
+#>+ 6
force-reedit:
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/en/Makefile'; \
- cd $(top_srcdir) && \
+ cd $(top_...
[truncated message content] |
|
From: <sat...@us...> - 2010-03-10 15:09:26
|
Revision: 229
http://w-meter.svn.sourceforge.net/w-meter/?rev=229&view=rev
Author: sathakselva
Date: 2010-03-10 15:09:19 +0000 (Wed, 10 Mar 2010)
Log Message:
-----------
A class created to configure a WLAN interface
Added Paths:
-----------
framework/tags/selvam/dev_config.cpp
framework/tags/selvam/dev_config.h
Added: framework/tags/selvam/dev_config.cpp
===================================================================
--- framework/tags/selvam/dev_config.cpp (rev 0)
+++ framework/tags/selvam/dev_config.cpp 2010-03-10 15:09:19 UTC (rev 229)
@@ -0,0 +1,9 @@
+#include "dev_config.h"
+#include "iwlib.h"
+
+WLAN_config::WLAN_config()
+{
+ skfd = 0;
+}
+
+
Added: framework/tags/selvam/dev_config.h
===================================================================
--- framework/tags/selvam/dev_config.h (rev 0)
+++ framework/tags/selvam/dev_config.h 2010-03-10 15:09:19 UTC (rev 229)
@@ -0,0 +1,9 @@
+
+class WLAN_config
+{
+ private:
+ int skfd
+
+ public:
+ WLAN_config();
+};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <sat...@us...> - 2010-03-05 13:45:19
|
Revision: 228
http://w-meter.svn.sourceforge.net/w-meter/?rev=228&view=rev
Author: sathakselva
Date: 2010-03-05 13:45:13 +0000 (Fri, 05 Mar 2010)
Log Message:
-----------
code cleanup for sniffer.h file
Modified Paths:
--------------
framework/tags/selvam/sniffer.h
Modified: framework/tags/selvam/sniffer.h
===================================================================
--- framework/tags/selvam/sniffer.h 2010-03-05 13:40:15 UTC (rev 227)
+++ framework/tags/selvam/sniffer.h 2010-03-05 13:45:13 UTC (rev 228)
@@ -1,12 +1,11 @@
-
-#define MAX_CAPTURE_SIZE 2346 /* maximum size of packets to capture in bytes */
-#define RADIOTAP_HEADER_SIZE 32 /* Length of radiotap header (in bytes) */
-#define CRC_STATUS_INDEX 16 /* Position in radiotap for the CRC related information */
+#define MAX_CAPTURE_SIZE 2346 /* maximum size of packets to capture in bytes */
+#define RADIOTAP_HEADER_SIZE 32 /* Length of radiotap header (in bytes) */
+#define CRC_STATUS_INDEX 16 /* Position in radiotap for the CRC related information */
#define CRC_PRESENT_MASK 0x10 /* mask to check the presence of CRC in radiotap header */
#define CRC_STATUS_MASK 0x40 /* Mask to check the status of CRC in radiotap header */
-#define FCS_LENGTH 4 /* Length of 802.11 Frame check sequence (FCS) in bytes */
-#define MAC_ADDRESS_LEN 6 /* Length of MAC address in bytes */
+#define FCS_LENGTH 4 /* Length of Frame check sequence (FCS) in bytes */
+#define MAC_ADDRESS_LEN 6 /* Length of MAC address in bytes */
#define PROTOCOL_VERSION_MASK 0x03
#define FRAME_TYPE_MASK 0x0C
@@ -24,7 +23,7 @@
#define FROM_DS_BIT_MASK 0x02
#define TO_DS_BIT_MASK 0x01
-#define AID_MASK 0x3FFF /* For Association ID */
+#define AID_MASK 0x3FFF /* For Association ID */
#define QoS_HEADER_PRESENT_MASK 0x80 /* Mask to check the presence of QoS control field in data frames */
/* Flags that are present in the capability information element */
@@ -187,7 +186,6 @@
#define GET_RATE(x) ((x)&(SUPPORTED_RATE_MASK))
-
enum
{
FALSE =0,
@@ -305,31 +303,36 @@
BlockAck
};
+
+
class WLAN_sniffer
{
private:
- int ssid_start_pos, support_rate_start_pos, channel_start_pos, tim_start_pos, erp_start_pos, extended_rate_pos, challenge_txt_start_pos, ibss_param_start_pos;
+ int ssid_start_pos, support_rate_start_pos, channel_start_pos, tim_start_pos, erp_start_pos, extended_rate_pos, challenge_txt_start_pos, ibss_param_start_pos;
+
public:
WLAN_sniffer();
- void reset_global_variables(void);
void init(char *, pcap_t ** );
- void dissect_wlan(const unsigned char *, int );
void copy_receiver_address (unsigned char * , unsigned char *);
void copy_transmitter_address (unsigned char *, unsigned char *);
void copy_bssid (unsigned char *, unsigned char *, int);
- void remove_radiotap_hdr(const uint8_t *, uint8_t *, int );
- unsigned int check_qos_header_presence(unsigned char *);
- long long int get_timestamp(unsigned char *, int);
+
+ //void copy_mac_address (unsigned char *, unsigned char *, int);
void disp_frame_ctrl_flags(unsigned char *);
void disp_capability_info(unsigned char *, int);
+ void parse_info_element(unsigned char *, int, int);
void copy_ssid(unsigned char *, unsigned char *, int , int);
- int check_challenge_txt_presence(int , int);
void display_rates (unsigned char *, int);
int check_challenge_txt_presence(int , int);
int is_non_erp_present(unsigned char *);
int is_use_protection_set(unsigned char *);
int is_barker_preamble_set(unsigned char *);
- void parse_info_element(unsigned char *, int, int);
-
+ unsigned int check_qos_header_presence(unsigned char *);
+ long long int get_timestamp(unsigned char *, int);
+ void reset_global_variables(void);
+ void remove_radiotap_hdr(const uint8_t *, uint8_t *, int );
+ void copy_challenge_text(unsigned char *, unsigned char *, int , int );
+ void dissect_wlan(const unsigned char *, int );
};
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <sat...@us...> - 2010-03-05 13:40:21
|
Revision: 227
http://w-meter.svn.sourceforge.net/w-meter/?rev=227&view=rev
Author: sathakselva
Date: 2010-03-05 13:40:15 +0000 (Fri, 05 Mar 2010)
Log Message:
-----------
code cleanup for sniffer.cpp file
Modified Paths:
--------------
framework/tags/selvam/sniffer.cpp
Modified: framework/tags/selvam/sniffer.cpp
===================================================================
--- framework/tags/selvam/sniffer.cpp 2010-03-05 13:29:36 UTC (rev 226)
+++ framework/tags/selvam/sniffer.cpp 2010-03-05 13:40:15 UTC (rev 227)
@@ -3,7 +3,7 @@
WLAN_sniffer::WLAN_sniffer()
{
-
+ ssid_start_pos = support_rate_start_pos = channel_start_pos = tim_start_pos = erp_start_pos = extended_rate_pos = challenge_txt_start_pos = ibss_param_start_pos = -1;
}
void WLAN_sniffer::init(char *dev, pcap_t **handle)
@@ -31,41 +31,28 @@
printf("\nDatalink type =%s\n\n", pcap_datalink_val_to_name( pcap_datalink(*handle) ));
}
+
void WLAN_sniffer::copy_receiver_address (unsigned char *frame, unsigned char *addr)
{
- int pos;
- for (pos = Rx_ADDRESS_START_POS; pos < (Rx_ADDRESS_START_POS + MAC_ADDRESS_LEN) ; pos++)
- *addr++ = frame[pos]; /* *addr++ <==> *(addr++) */
+ int i;
+ for (i = Rx_ADDRESS_START_POS; i < (Rx_ADDRESS_START_POS + MAC_ADDRESS_LEN) ; i++)
+ *addr++ = frame[i]; /* *addr++ <==> *(addr++) */
}
void WLAN_sniffer::copy_transmitter_address (unsigned char *frame, unsigned char *addr)
{
- int pos;
- for (pos = Tx_ADDRESS_START_POS; pos < (Tx_ADDRESS_START_POS + MAC_ADDRESS_LEN) ; pos++)
- *addr++ = frame[pos];
+ int i;
+ for (i = Tx_ADDRESS_START_POS; i < (Tx_ADDRESS_START_POS + MAC_ADDRESS_LEN) ; i++)
+ *addr++ = frame[i];
}
void WLAN_sniffer::copy_bssid (unsigned char *frame, unsigned char *addr, int pos)
{
- int pos;
- for (pos = pos; pos < (pos + MAC_ADDRESS_LEN) ; pos++)
- *addr++ = frame[pos];
+ int i;
+ for (i = pos; i < (pos + MAC_ADDRESS_LEN) ; i++)
+ *addr++ = frame[i];
}
-void WLAN_sniffer::remove_radiotap_hdr(const uint8_t *pkt, uint8_t *mac_frame, int len)
-{
- /* Remove the Radiotap header and store the remainig fields in another variable */
-
- int pos,j;
- for (pos = RADIOTAP_HEADER_SIZE, j=0; pos < len; pos++)
- mac_frame[j++] = pkt [pos];
-}
-
-void WLAN_sniffer::reset_global_variables()
-{
- ssid_start_pos = support_rate_start_pos = channel_start_pos = tim_start_pos = erp_start_pos = extended_rate_pos = challenge_txt_start_pos = ibss_param_start_pos = -1;
-}
-
unsigned int WLAN_sniffer::check_qos_header_presence(unsigned char *frame)
{
unsigned int qos_header_present = 0;
@@ -77,16 +64,17 @@
long long int WLAN_sniffer::get_timestamp(unsigned char *frame, int index)
{
long long int timestamp = 0;
- int timestamp_size = 8, pos;
- for (pos = index + timestamp_size; pos >= index; pos--)
+ int timestamp_size = 8, i;
+ for (i = index + timestamp_size; i >= index; i--)
{
- timestamp |= frame[pos];
- if (pos!= index)
+ timestamp |= frame[i];
+ if (i!= index)
timestamp = timestamp << 8;
}
return timestamp;
}
+
void WLAN_sniffer::disp_frame_ctrl_flags(unsigned char *frame)
{
printf("Order bit : %d\n", Is_ORDER_SET ( frame[FC_FLAG_POS] ));
@@ -99,6 +87,7 @@
printf("To DS bit : %d\n", Is_TO_DS_SET ( frame[FC_FLAG_POS] ));
}
+
void WLAN_sniffer::disp_capability_info(unsigned char *frame, int index)
{
printf( "ESS bit : %d\n", Is_ESS_SET( frame [index] ) );
@@ -120,62 +109,7 @@
printf( "Immediate BA: %d\n", Is_IMMEDIATE_BA_SET( frame [index +1] ) );
}
-void WLAN_sniffer::copy_ssid(unsigned char *frame, unsigned char *name, int start_pos, int ssid_len)
-{
- int index = start_pos;
- while (index <= (start_pos + ssid_len -1))
- *name++ = frame[index++];
-}
-int WLAN_sniffer::check_challenge_txt_presence(int algo, int auth_seq_no)
-{
- int challenge_txt_present = 0;
- if ((algo == SHARED_KEY) && ((auth_seq_no == 2) || (auth_seq_no == 3)))
- challenge_txt_present = 1;
- return challenge_txt_present;
-}
-
-void WLAN_sniffer::copy_challenge_text(unsigned char *frame, unsigned char *txt, int start_pos, int len)
-{
- int index = start_pos;
- while (index <= (start_pos + len -1))
- *txt++ = frame[index++];
-}
-
-void WLAN_sniffer::display_rates (unsigned char *frame, int pos)
-{
- int no_of_rates, i;
- no_of_rates = frame[pos+1];
- printf("Rates :");
- for (i = 0; i < no_of_rates; i++)
- printf("%5.1f\t", GET_RATE(frame[pos+2+i]) /2.0);
- printf("\n");
-}
-
-int WLAN_sniffer::is_non_erp_present(unsigned char *frame)
-{
- int non_erp_present = 0;
- if (erp_start_pos > 0)
- return Is_NON_ERP_PRESENT(frame[erp_start_pos+2]);
- return non_erp_present;
-}
-
-int WLAN_sniffer::is_use_protection_set(unsigned char *frame)
-{
- int use_protection = 0;
- if (erp_start_pos > 0)
- return Is_USE_PROTECTION_SET(frame[erp_start_pos+2]);
- return use_protection;
-}
-
-int WLAN_sniffer::is_barker_preamble_set(unsigned char *frame)
-{
- int preamble = 0;
- if (erp_start_pos > 0)
- return Is_BARKER_PREAMBLE_SET(frame[erp_start_pos+2]);
- return preamble;
-}
-
void WLAN_sniffer::parse_info_element(unsigned char *frame, int start_pos, int total_len)
{
int exit_flag = 0, ie_len;
@@ -247,7 +181,7 @@
}
default:
{
- printf("Skipping the unknown information element...\n");
+ printf("Skipping the reserved information element...\n");
length = frame[start_pos + 1];
start_pos += (length + 2 );
}
@@ -257,6 +191,76 @@
}
}
+void WLAN_sniffer::copy_ssid(unsigned char *frame, unsigned char *name, int start_pos, int ssid_len)
+{
+ int index = start_pos;
+ while (index <= (start_pos + ssid_len -1))
+ *name++ = frame[index++];
+}
+
+void WLAN_sniffer::copy_challenge_text(unsigned char *frame, unsigned char *txt, int start_pos, int len)
+{
+ int index = start_pos;
+ while (index <= (start_pos + len -1))
+ *txt++ = frame[index++];
+}
+
+void WLAN_sniffer::display_rates (unsigned char *frame, int pos)
+{
+ int no_of_rates, i;
+ no_of_rates = frame[pos+1];
+ printf("Rates :");
+ for (i = 0; i < no_of_rates; i++)
+ printf("%5.1f\t", GET_RATE(frame[pos+2+i]) /2.0);
+ printf("\n");
+}
+
+int WLAN_sniffer::check_challenge_txt_presence(int algo, int auth_seq_no)
+{
+ int challenge_txt_present = 0;
+ if ((algo == SHARED_KEY) && ((auth_seq_no == 2) || (auth_seq_no == 3)))
+ challenge_txt_present = 1;
+ return challenge_txt_present;
+}
+
+int WLAN_sniffer::is_non_erp_present(unsigned char *frame)
+{
+ int non_erp_present = 0;
+ if (erp_start_pos > 0)
+ return Is_NON_ERP_PRESENT(frame[erp_start_pos+2]);
+ return non_erp_present;
+}
+
+int WLAN_sniffer::is_use_protection_set(unsigned char *frame)
+{
+ int use_protection = 0;
+ if (erp_start_pos > 0)
+ return Is_USE_PROTECTION_SET(frame[erp_start_pos+2]);
+ return use_protection;
+}
+
+int WLAN_sniffer::is_barker_preamble_set(unsigned char *frame)
+{
+ int preamble = 0;
+ if (erp_start_pos > 0)
+ return Is_BARKER_PREAMBLE_SET(frame[erp_start_pos+2]);
+ return preamble;
+}
+
+void WLAN_sniffer::reset_global_variables()
+{
+ ssid_start_pos = support_rate_start_pos = channel_start_pos = tim_start_pos = erp_start_pos = extended_rate_pos = challenge_txt_start_pos = ibss_param_start_pos = -1;
+}
+
+void WLAN_sniffer::remove_radiotap_hdr(const uint8_t *pkt, uint8_t *mac_frame, int len)
+{
+ /* Remove the Radiotap header and store the remainig fields in another variable */
+
+ int i,j;
+ for (i = RADIOTAP_HEADER_SIZE, j=0; i < len; i++)
+ mac_frame[j++] = pkt [i];
+}
+
void WLAN_sniffer::dissect_wlan(const unsigned char *packet, int pkt_len)
{
@@ -282,7 +286,7 @@
version = GET_WLAN_PROTOCOL_VER (wlan_frame[VER_TYPE_SUBTYPE_POS] );
type = GET_WLAN_FRAME_TYPE ( wlan_frame[VER_TYPE_SUBTYPE_POS] );
sub_type = GET_WLAN_FRAME_SUBTYPE ( wlan_frame[VER_TYPE_SUBTYPE_POS] );
-
+
fc_flag = wlan_frame[FC_FLAG_POS];
disp_frame_ctrl_flags(wlan_frame);
@@ -296,6 +300,7 @@
printf( "Fragment No : %d\n", GET_WLAN_FRAG_NO( wlan_frame[SEQ_FRAG_START_POS], wlan_frame[SEQ_FRAG_START_POS+1] ));
printf( "Sequence No : %d\n", GET_WLAN_SEQUENCE_NO( wlan_frame[SEQ_FRAG_START_POS], wlan_frame[SEQ_FRAG_START_POS+1] ));
}
+
switch (type)
{
case MANAGEMENT:
@@ -318,7 +323,7 @@
{
printf("Sub type : Association Request\n");
disp_capability_info(wlan_frame, ASSOC_REQ_CAPABILITY_POS);
- printf("Listen Interval : %d \n", GET_LISTEN_INTERVAL(wlan_frame[ASSOC_REQ_LISTEN_INTERVAL_POS], wlan_frame[ASSOC_REQ_LISTEN_INTERVAL_POS+1]));
+ printf("Listen Interval : %d \n", GET_LISTEN_INTERVAL(wlan_frame[ASSOC_REQ_LISTEN_INTERVAL_POS], wlan_frame[ASSOC_REQ_LISTEN_INTERVAL_POS+1]));
parse_info_element(wlan_frame, ASSOC_REQ_IE_START_POS, wlan_frame_len);
int ssid_len = wlan_frame[ssid_start_pos+1];
unsigned char ssid[ssid_len];
@@ -342,9 +347,10 @@
case REASSOCIATION_REQ :
{
unsigned char current_ap_addr[MAC_ADDRESS_LEN];
- printf("Sub type : Reassociation Request\n");
- disp_capability_info(wlan_frame, REASSOC_REQ_CAPABILITY_POS);
- printf("Listen Interval : %d \n", GET_LISTEN_INTERVAL(wlan_frame[REASSOC_REQ_LISTEN_INTERVAL_POS], wlan_frame[REASSOC_REQ_LISTEN_INTERVAL_POS+1]));
+ printf("Sub type : Reassociation Request\n");
+ disp_capability_info(wlan_frame, REASSOC_REQ_CAPABILITY_POS);
+ printf("Listen Interval : %d \n", GET_LISTEN_INTERVAL(wlan_frame[REASSOC_REQ_LISTEN_INTERVAL_POS], wlan_frame[REASSOC_REQ_LISTEN_INTERVAL_POS+1]));
+
copy_bssid(wlan_frame, current_ap_addr, REASSOC_REQ_AP_ADDR_POS);
parse_info_element(wlan_frame, REASSOC_REQ_IE_START_POS, wlan_frame_len);
int ssid_len = wlan_frame[ssid_start_pos+1];
@@ -436,10 +442,22 @@
printf("Channel Number : %u\n", channel_no);
printf("Non ERP Present : %d\n", is_non_erp_present(wlan_frame));
printf("Use protection : %d\n", is_use_protection_set(wlan_frame));
- printf("Barker preamble : %d\n", is_barker_preamble_set(wlan_frame));
+ printf("Barker preamble : %d\n", is_barker_preamble_set(wlan_frame));
display_rates(wlan_frame, extended_rate_pos);
break;
}
+ case ATIM :
+ {
+ break;
+ }
+ case DISASSOCIATION :
+ {
+ printf("Sub type : Disassociation\n");
+ printf("Reason code : %d\n", GET_REASON_CODE(wlan_frame[DISASSOC_REASON_POS], wlan_frame[DISASSOC_REASON_POS+1]));
+ if ((DISASSOC_REASON_POS+1) <= (wlan_frame_len - FCS_LENGTH))
+ parse_info_element(wlan_frame, DISASSOC_IE_START_POS, wlan_frame_len);
+ break;
+ }
case AUTHENTICATION :
{
printf("Sub type : Authentication");
@@ -467,18 +485,6 @@
parse_info_element(wlan_frame, DEAUTH_IE_START_POS, wlan_frame_len);
break;
}
- case ATIM :
- {
- break;
- }
- case DISASSOCIATION :
- {
- printf("Sub type : Disassociation\n");
- printf("Reason code : %d\n", GET_REASON_CODE(wlan_frame[DISASSOC_REASON_POS], wlan_frame[DISASSOC_REASON_POS+1]));
- if ((DISASSOC_REASON_POS+1) <= (wlan_frame_len - FCS_LENGTH))
- parse_info_element(wlan_frame, DISASSOC_IE_START_POS, wlan_frame_len);
- break;
- }
case ACTION :
{
printf("Action frame\n");
@@ -490,8 +496,8 @@
case 15:
{
printf("Sub type : Reserved\n");
- break;
- }
+ }
+ break;
}
break;
}
@@ -589,5 +595,8 @@
printf("Type : Data\n");
break;
}
+ case RESERVED_TYPE:
+ printf("Type : Reserved\n");
}
}
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|