Commit 04c51b55 authored by 's avatar
Browse files

Added test_packet_read


git-svn-id: file:///home/svn/mapi/trunk@221 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent f16eab13
include ../Makefile.in
MAKE_ALL= test_bpf_filter test_get_info test_byte_counter test_close_flow test_create_flow test_get_next_pkt test_mapi_apply_function test_mapi_connect test_mapi_read_results test_off_bpf_filter test_off_pkt_counter test_off_res2file test_off_stats test_off_str_search test_off_to_buffer test_pkt_counter test_sample_pkts test_str_search test_tcp_offline_flow test_to_buffer test_error test_for_error_cases test_loop test_get_flow_info test_mapi_get_function_info test_to_file test_off_ethereal_reti test_off_ethereal_rets test_video test_comboflow
MAKE_ALL= test_bpf_filter test_get_info test_byte_counter test_close_flow test_create_flow test_get_next_pkt test_mapi_apply_function test_mapi_connect test_mapi_read_results test_off_bpf_filter test_off_pkt_counter test_off_res2file test_off_stats test_off_str_search test_off_to_buffer test_pkt_counter test_sample_pkts test_str_search test_tcp_offline_flow test_to_buffer test_error test_for_error_cases test_loop test_get_flow_info test_mapi_get_function_info test_to_file test_off_ethereal_reti test_off_ethereal_rets test_video test_comboflow test_packet_read
CFLAGS=-g -O2 $(C_WARNINGS)
......@@ -97,6 +97,9 @@ test_get_flow_info: ../mapi.so test_get_flow_info.c ../mapi.h
test_mapi_get_function_info: ../mapi.so test_mapi_get_function_info.c ../mapi.h
$(CC) $(CFLAGS) -o test_mapi_get_function_info test_mapi_get_function_info.c ../mapi.so -lpcap -lpthread
test_packet_read: ../mapi.so test_packet_read.c ../mapi.h
$(CC) $(CFLAGS) -o test_packet_read test_packet_read.c ../mapi.so -lpcap -lpthread
clean:
rm -rf $(MAKE_ALL)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment