aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-netmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-netmon.c')
-rw-r--r--epan/dissectors/packet-netmon.c630
1 files changed, 315 insertions, 315 deletions
diff --git a/epan/dissectors/packet-netmon.c b/epan/dissectors/packet-netmon.c
index 1f31d89314..92aadb79db 100644
--- a/epan/dissectors/packet-netmon.c
+++ b/epan/dissectors/packet-netmon.c
@@ -71,277 +71,277 @@ static const range_string filter_types[] = {
static dissector_table_t provider_id_table;
/* Initialize the protocol and registered fields */
-static int proto_netmon_header = -1;
-static int proto_netmon_event = -1;
-static int proto_netmon_filter = -1;
-static int proto_netmon_network_info = -1;
-static int proto_netmon_system_trace = -1;
-static int proto_netmon_system_config = -1;
-static int proto_netmon_process = -1;
-
-static int hf_netmon_header_title_comment = -1;
-static int hf_netmon_header_description_comment = -1;
-
-static int hf_netmon_event_size = -1;
-static int hf_netmon_event_header_type = -1;
-static int hf_netmon_event_flags = -1;
-static int hf_netmon_event_flags_extended_info = -1;
-static int hf_netmon_event_flags_private_session = -1;
-static int hf_netmon_event_flags_string_only = -1;
-static int hf_netmon_event_flags_trace_message = -1;
-static int hf_netmon_event_flags_no_cputime = -1;
-static int hf_netmon_event_flags_32bit_header = -1;
-static int hf_netmon_event_flags_64bit_header = -1;
-static int hf_netmon_event_flags_classic_header = -1;
-static int hf_netmon_event_event_property = -1;
-static int hf_netmon_event_event_property_xml = -1;
-static int hf_netmon_event_event_property_forwarded_xml = -1;
-static int hf_netmon_event_event_property_legacy_eventlog = -1;
-static int hf_netmon_event_thread_id = -1;
-static int hf_netmon_event_process_id = -1;
-static int hf_netmon_event_timestamp = -1;
-static int hf_netmon_event_provider_id = -1;
-static int hf_netmon_event_event_desc_id = -1;
-static int hf_netmon_event_event_desc_version = -1;
-static int hf_netmon_event_event_desc_channel = -1;
-static int hf_netmon_event_event_desc_level = -1;
-static int hf_netmon_event_event_desc_opcode = -1;
-static int hf_netmon_event_event_desc_task = -1;
-static int hf_netmon_event_event_desc_keyword = -1;
-static int hf_netmon_event_kernel_time = -1;
-static int hf_netmon_event_user_time = -1;
-static int hf_netmon_event_processor_time = -1;
-static int hf_netmon_event_activity_id = -1;
-static int hf_netmon_event_processor_number = -1;
-static int hf_netmon_event_alignment = -1;
-static int hf_netmon_event_logger_id = -1;
-static int hf_netmon_event_extended_data_count = -1;
-static int hf_netmon_event_user_data_length = -1;
-static int hf_netmon_event_reassembled = -1;
-static int hf_netmon_event_extended_data_reserved = -1;
-static int hf_netmon_event_extended_data_type = -1;
-static int hf_netmon_event_extended_data_linkage = -1;
-static int hf_netmon_event_extended_data_reserved2 = -1;
-static int hf_netmon_event_extended_data_size = -1;
-static int hf_netmon_event_extended_data = -1;
-static int hf_netmon_event_user_data = -1;
-
-static int hf_netmon_filter_version = -1;
-static int hf_netmon_filter_type = -1;
-static int hf_netmon_filter_app_major_version = -1;
-static int hf_netmon_filter_app_minor_version = -1;
-static int hf_netmon_filter_app_name = -1;
-static int hf_netmon_filter_filter = -1;
-
-static int hf_netmon_network_info_version = -1;
-static int hf_netmon_network_info_adapter_count = -1;
-static int hf_netmon_network_info_computer_name = -1;
-static int hf_netmon_network_info_friendly_name = -1;
-static int hf_netmon_network_info_description = -1;
-static int hf_netmon_network_info_miniport_guid = -1;
-static int hf_netmon_network_info_media_type = -1;
-static int hf_netmon_network_info_mtu = -1;
-static int hf_netmon_network_info_link_speed = -1;
-static int hf_netmon_network_info_mac_address = -1;
-static int hf_netmon_network_info_ipv4_count = -1;
-static int hf_netmon_network_info_ipv6_count = -1;
-static int hf_netmon_network_info_gateway_count = -1;
-static int hf_netmon_network_info_dhcp_server_count = -1;
-static int hf_netmon_network_info_dns_ipv4_count = -1;
-static int hf_netmon_network_info_dns_ipv6_count = -1;
-static int hf_netmon_network_info_ipv4 = -1;
-static int hf_netmon_network_info_subnet = -1;
-static int hf_netmon_network_info_ipv6 = -1;
-static int hf_netmon_network_info_gateway = -1;
-static int hf_netmon_network_info_dhcp_server = -1;
-static int hf_netmon_network_info_dns_ipv4 = -1;
-static int hf_netmon_network_info_dns_ipv6 = -1;
-
-static int hf_netmon_system_trace_buffer_size = -1;
-static int hf_netmon_system_trace_version = -1;
-static int hf_netmon_system_trace_provider_version = -1;
-static int hf_netmon_system_trace_num_processors = -1;
-static int hf_netmon_system_trace_end_time = -1;
-static int hf_netmon_system_trace_timer_resolution = -1;
-static int hf_netmon_system_trace_max_file_size = -1;
-static int hf_netmon_system_trace_log_file_mode = -1;
-static int hf_netmon_system_trace_buffers_written = -1;
-static int hf_netmon_system_trace_start_buffers = -1;
-static int hf_netmon_system_trace_pointers_size = -1;
-static int hf_netmon_system_trace_events_lost = -1;
-static int hf_netmon_system_trace_cpu_speed = -1;
-static int hf_netmon_system_trace_logger_name = -1;
-static int hf_netmon_system_trace_log_file_name_ptr = -1;
-static int hf_netmon_system_trace_time_zone_info = -1;
-static int hf_netmon_system_trace_boot_time = -1;
-static int hf_netmon_system_trace_perf_freq = -1;
-static int hf_netmon_system_trace_start_time = -1;
-static int hf_netmon_system_trace_reserved_flags = -1;
-static int hf_netmon_system_trace_buffers_lost = -1;
-static int hf_netmon_system_trace_session_name = -1;
-static int hf_netmon_system_trace_log_file_name = -1;
-static int hf_netmon_system_trace_group_mask1 = -1;
-static int hf_netmon_system_trace_group_mask2 = -1;
-static int hf_netmon_system_trace_group_mask3 = -1;
-static int hf_netmon_system_trace_group_mask4 = -1;
-static int hf_netmon_system_trace_group_mask5 = -1;
-static int hf_netmon_system_trace_group_mask6 = -1;
-static int hf_netmon_system_trace_group_mask7 = -1;
-static int hf_netmon_system_trace_group_mask8 = -1;
-static int hf_netmon_system_trace_kernel_event_version = -1;
-
-static int hf_netmon_system_config_mhz = -1;
-static int hf_netmon_system_config_num_processors = -1;
-static int hf_netmon_system_config_mem_size = -1;
-static int hf_netmon_system_config_page_size = -1;
-static int hf_netmon_system_config_allocation_granularity = -1;
-static int hf_netmon_system_config_computer_name = -1;
-static int hf_netmon_system_config_domain_name = -1;
-static int hf_netmon_system_config_hyper_threading_flag = -1;
-static int hf_netmon_system_config_disk_number = -1;
-static int hf_netmon_system_config_bytes_per_sector = -1;
-static int hf_netmon_system_config_sectors_per_track = -1;
-static int hf_netmon_system_config_tracks_per_cylinder = -1;
-static int hf_netmon_system_config_cylinders = -1;
-static int hf_netmon_system_config_scsi_port = -1;
-static int hf_netmon_system_config_scsi_path = -1;
-static int hf_netmon_system_config_scsi_target = -1;
-static int hf_netmon_system_config_scsi_lun = -1;
-static int hf_netmon_system_config_manufacturer = -1;
-static int hf_netmon_system_config_partition_count = -1;
-static int hf_netmon_system_config_write_cache_enabled = -1;
-static int hf_netmon_system_config_pad = -1;
-static int hf_netmon_system_config_boot_drive_letter = -1;
-static int hf_netmon_system_config_spare = -1;
-static int hf_netmon_system_config_start_offset = -1;
-static int hf_netmon_system_config_partition_size = -1;
-static int hf_netmon_system_config_size = -1;
-static int hf_netmon_system_config_drive_type = -1;
-static int hf_netmon_system_config_drive_letter = -1;
-static int hf_netmon_system_config_partition_number = -1;
-static int hf_netmon_system_config_sectors_per_cluster = -1;
-static int hf_netmon_system_config_num_free_clusters = -1;
-static int hf_netmon_system_config_total_num_clusters = -1;
-static int hf_netmon_system_config_file_system = -1;
-static int hf_netmon_system_config_volume_ext = -1;
-static int hf_netmon_system_config_physical_addr = -1;
-static int hf_netmon_system_config_physical_addr_len = -1;
-static int hf_netmon_system_config_ipv4_index = -1;
-static int hf_netmon_system_config_ipv6_index = -1;
-static int hf_netmon_system_config_nic_description = -1;
-static int hf_netmon_system_config_ipaddresses = -1;
-static int hf_netmon_system_config_dns_server_addresses = -1;
-static int hf_netmon_system_config_memory_size = -1;
-static int hf_netmon_system_config_x_resolution = -1;
-static int hf_netmon_system_config_y_resolution = -1;
-static int hf_netmon_system_config_bits_per_pixel = -1;
-static int hf_netmon_system_config_vrefresh = -1;
-static int hf_netmon_system_config_chip_type = -1;
-static int hf_netmon_system_config_dac_type = -1;
-static int hf_netmon_system_config_adapter_string = -1;
-static int hf_netmon_system_config_bios_string = -1;
-static int hf_netmon_system_config_device_id = -1;
-static int hf_netmon_system_config_state_flags = -1;
-static int hf_netmon_system_config_process_id = -1;
-static int hf_netmon_system_config_service_state = -1;
-static int hf_netmon_system_config_sub_process_tag = -1;
-static int hf_netmon_system_config_service_name = -1;
-static int hf_netmon_system_config_display_name = -1;
-static int hf_netmon_system_config_process_name = -1;
-static int hf_netmon_system_config_s1 = -1;
-static int hf_netmon_system_config_s2 = -1;
-static int hf_netmon_system_config_s3 = -1;
-static int hf_netmon_system_config_s4 = -1;
-static int hf_netmon_system_config_s5 = -1;
-static int hf_netmon_system_config_tcb_table_partitions = -1;
-static int hf_netmon_system_config_max_hash_table_size = -1;
-static int hf_netmon_system_config_max_user_port = -1;
-static int hf_netmon_system_config_tcp_timed_wait_delay = -1;
-static int hf_netmon_system_config_irq_affinity = -1;
-static int hf_netmon_system_config_irq_num = -1;
-static int hf_netmon_system_config_device_desc_len = -1;
-static int hf_netmon_system_config_device_desc = -1;
-static int hf_netmon_system_config_device_id_len = -1;
-static int hf_netmon_system_config_friendly_name_len = -1;
-static int hf_netmon_system_config_friendly_name = -1;
-static int hf_netmon_system_config_target_id = -1;
-static int hf_netmon_system_config_device_type = -1;
-static int hf_netmon_system_config_device_timing_mode = -1;
-static int hf_netmon_system_config_location_information_len = -1;
-static int hf_netmon_system_config_location_information = -1;
-static int hf_netmon_system_config_system_manufacturer = -1;
-static int hf_netmon_system_config_system_product_name = -1;
-static int hf_netmon_system_config_bios_date = -1;
-static int hf_netmon_system_config_bios_version = -1;
-static int hf_netmon_system_config_load_order_group = -1;
-static int hf_netmon_system_config_svc_host_group = -1;
-static int hf_netmon_system_config_irq_group = -1;
-static int hf_netmon_system_config_pdo_name = -1;
-static int hf_netmon_system_config_nic_name = -1;
-static int hf_netmon_system_config_index = -1;
-static int hf_netmon_system_config_physical_addr_str = -1;
-static int hf_netmon_system_config_ip_address = -1;
-static int hf_netmon_system_config_subnet_mask = -1;
-static int hf_netmon_system_config_dhcp_server = -1;
-static int hf_netmon_system_config_gateway = -1;
-static int hf_netmon_system_config_primary_wins_server = -1;
-static int hf_netmon_system_config_secondary_wins_server = -1;
-static int hf_netmon_system_config_dns_server1 = -1;
-static int hf_netmon_system_config_dns_server2 = -1;
-static int hf_netmon_system_config_dns_server3 = -1;
-static int hf_netmon_system_config_dns_server4 = -1;
-static int hf_netmon_system_config_data = -1;
-
-
-
-static int hf_netmon_process_unique_process_key = -1;
-static int hf_netmon_process_process_id = -1;
-static int hf_netmon_process_parent_id = -1;
-static int hf_netmon_process_session_id = -1;
-static int hf_netmon_process_exit_status = -1;
-static int hf_netmon_process_directory_table_base = -1;
-static int hf_netmon_process_unknown = -1;
-static int hf_netmon_process_user_sid_revision = -1;
-static int hf_netmon_process_user_sid_subauth_count = -1;
-static int hf_netmon_process_user_sid_id = -1;
-static int hf_netmon_process_user_sid_authority = -1;
-static int hf_netmon_process_image_file_name = -1;
-static int hf_netmon_process_command_line = -1;
-static int hf_netmon_process_page_directory_base = -1;
-static int hf_netmon_process_page_fault_count = -1;
-static int hf_netmon_process_handle_count = -1;
-static int hf_netmon_process_reserved = -1;
-static int hf_netmon_process_peak_virtual_size = -1;
-static int hf_netmon_process_peak_working_set_size = -1;
-static int hf_netmon_process_peak_page_file_usage = -1;
-static int hf_netmon_process_quota_peak_paged_pool_usage = -1;
-static int hf_netmon_process_quota_peak_non_paged_pool_usage = -1;
-static int hf_netmon_process_virtual_size = -1;
-static int hf_netmon_process_workingset_size = -1;
-static int hf_netmon_process_pagefile_usage = -1;
-static int hf_netmon_process_quota_paged_pool_usage = -1;
-static int hf_netmon_process_quota_non_paged_pool_usage = -1;
-static int hf_netmon_process_private_page_count = -1;
-static int hf_netmon_process_directory_table_base32 = -1;
-
-
-static gint ett_netmon_header = -1;
-static gint ett_netmon_event = -1;
-static gint ett_netmon_event_desc = -1;
-static gint ett_netmon_event_flags = -1;
-static gint ett_netmon_event_property = -1;
-static gint ett_netmon_event_extended_data = -1;
-static gint ett_netmon_filter = -1;
-static gint ett_netmon_network_info = -1;
-static gint ett_netmon_network_info_list = -1;
-static gint ett_netmon_network_info_adapter = -1;
-static gint ett_netmon_system_trace = -1;
-static gint ett_netmon_event_buffer_context = -1;
-static gint ett_netmon_process = -1;
-static gint ett_netmon_sid = -1;
-static gint ett_netmon_system_config = -1;
-
-static expert_field ei_netmon_process_user_sid = EI_INIT;
+static int proto_netmon_header;
+static int proto_netmon_event;
+static int proto_netmon_filter;
+static int proto_netmon_network_info;
+static int proto_netmon_system_trace;
+static int proto_netmon_system_config;
+static int proto_netmon_process;
+
+static int hf_netmon_header_title_comment;
+static int hf_netmon_header_description_comment;
+
+static int hf_netmon_event_size;
+static int hf_netmon_event_header_type;
+static int hf_netmon_event_flags;
+static int hf_netmon_event_flags_extended_info;
+static int hf_netmon_event_flags_private_session;
+static int hf_netmon_event_flags_string_only;
+static int hf_netmon_event_flags_trace_message;
+static int hf_netmon_event_flags_no_cputime;
+static int hf_netmon_event_flags_32bit_header;
+static int hf_netmon_event_flags_64bit_header;
+static int hf_netmon_event_flags_classic_header;
+static int hf_netmon_event_event_property;
+static int hf_netmon_event_event_property_xml;
+static int hf_netmon_event_event_property_forwarded_xml;
+static int hf_netmon_event_event_property_legacy_eventlog;
+static int hf_netmon_event_thread_id;
+static int hf_netmon_event_process_id;
+static int hf_netmon_event_timestamp;
+static int hf_netmon_event_provider_id;
+static int hf_netmon_event_event_desc_id;
+static int hf_netmon_event_event_desc_version;
+static int hf_netmon_event_event_desc_channel;
+static int hf_netmon_event_event_desc_level;
+static int hf_netmon_event_event_desc_opcode;
+static int hf_netmon_event_event_desc_task;
+static int hf_netmon_event_event_desc_keyword;
+static int hf_netmon_event_kernel_time;
+static int hf_netmon_event_user_time;
+static int hf_netmon_event_processor_time;
+static int hf_netmon_event_activity_id;
+static int hf_netmon_event_processor_number;
+static int hf_netmon_event_alignment;
+static int hf_netmon_event_logger_id;
+static int hf_netmon_event_extended_data_count;
+static int hf_netmon_event_user_data_length;
+static int hf_netmon_event_reassembled;
+static int hf_netmon_event_extended_data_reserved;
+static int hf_netmon_event_extended_data_type;
+static int hf_netmon_event_extended_data_linkage;
+static int hf_netmon_event_extended_data_reserved2;
+static int hf_netmon_event_extended_data_size;
+static int hf_netmon_event_extended_data;
+static int hf_netmon_event_user_data;
+
+static int hf_netmon_filter_version;
+static int hf_netmon_filter_type;
+static int hf_netmon_filter_app_major_version;
+static int hf_netmon_filter_app_minor_version;
+static int hf_netmon_filter_app_name;
+static int hf_netmon_filter_filter;
+
+static int hf_netmon_network_info_version;
+static int hf_netmon_network_info_adapter_count;
+static int hf_netmon_network_info_computer_name;
+static int hf_netmon_network_info_friendly_name;
+static int hf_netmon_network_info_description;
+static int hf_netmon_network_info_miniport_guid;
+static int hf_netmon_network_info_media_type;
+static int hf_netmon_network_info_mtu;
+static int hf_netmon_network_info_link_speed;
+static int hf_netmon_network_info_mac_address;
+static int hf_netmon_network_info_ipv4_count;
+static int hf_netmon_network_info_ipv6_count;
+static int hf_netmon_network_info_gateway_count;
+static int hf_netmon_network_info_dhcp_server_count;
+static int hf_netmon_network_info_dns_ipv4_count;
+static int hf_netmon_network_info_dns_ipv6_count;
+static int hf_netmon_network_info_ipv4;
+static int hf_netmon_network_info_subnet;
+static int hf_netmon_network_info_ipv6;
+static int hf_netmon_network_info_gateway;
+static int hf_netmon_network_info_dhcp_server;
+static int hf_netmon_network_info_dns_ipv4;
+static int hf_netmon_network_info_dns_ipv6;
+
+static int hf_netmon_system_trace_buffer_size;
+static int hf_netmon_system_trace_version;
+static int hf_netmon_system_trace_provider_version;
+static int hf_netmon_system_trace_num_processors;
+static int hf_netmon_system_trace_end_time;
+static int hf_netmon_system_trace_timer_resolution;
+static int hf_netmon_system_trace_max_file_size;
+static int hf_netmon_system_trace_log_file_mode;
+static int hf_netmon_system_trace_buffers_written;
+static int hf_netmon_system_trace_start_buffers;
+static int hf_netmon_system_trace_pointers_size;
+static int hf_netmon_system_trace_events_lost;
+static int hf_netmon_system_trace_cpu_speed;
+static int hf_netmon_system_trace_logger_name;
+static int hf_netmon_system_trace_log_file_name_ptr;
+static int hf_netmon_system_trace_time_zone_info;
+static int hf_netmon_system_trace_boot_time;
+static int hf_netmon_system_trace_perf_freq;
+static int hf_netmon_system_trace_start_time;
+static int hf_netmon_system_trace_reserved_flags;
+static int hf_netmon_system_trace_buffers_lost;
+static int hf_netmon_system_trace_session_name;
+static int hf_netmon_system_trace_log_file_name;
+static int hf_netmon_system_trace_group_mask1;
+static int hf_netmon_system_trace_group_mask2;
+static int hf_netmon_system_trace_group_mask3;
+static int hf_netmon_system_trace_group_mask4;
+static int hf_netmon_system_trace_group_mask5;
+static int hf_netmon_system_trace_group_mask6;
+static int hf_netmon_system_trace_group_mask7;
+static int hf_netmon_system_trace_group_mask8;
+static int hf_netmon_system_trace_kernel_event_version;
+
+static int hf_netmon_system_config_mhz;
+static int hf_netmon_system_config_num_processors;
+static int hf_netmon_system_config_mem_size;
+static int hf_netmon_system_config_page_size;
+static int hf_netmon_system_config_allocation_granularity;
+static int hf_netmon_system_config_computer_name;
+static int hf_netmon_system_config_domain_name;
+static int hf_netmon_system_config_hyper_threading_flag;
+static int hf_netmon_system_config_disk_number;
+static int hf_netmon_system_config_bytes_per_sector;
+static int hf_netmon_system_config_sectors_per_track;
+static int hf_netmon_system_config_tracks_per_cylinder;
+static int hf_netmon_system_config_cylinders;
+static int hf_netmon_system_config_scsi_port;
+static int hf_netmon_system_config_scsi_path;
+static int hf_netmon_system_config_scsi_target;
+static int hf_netmon_system_config_scsi_lun;
+static int hf_netmon_system_config_manufacturer;
+static int hf_netmon_system_config_partition_count;
+static int hf_netmon_system_config_write_cache_enabled;
+static int hf_netmon_system_config_pad;
+static int hf_netmon_system_config_boot_drive_letter;
+static int hf_netmon_system_config_spare;
+static int hf_netmon_system_config_start_offset;
+static int hf_netmon_system_config_partition_size;
+static int hf_netmon_system_config_size;
+static int hf_netmon_system_config_drive_type;
+static int hf_netmon_system_config_drive_letter;
+static int hf_netmon_system_config_partition_number;
+static int hf_netmon_system_config_sectors_per_cluster;
+static int hf_netmon_system_config_num_free_clusters;
+static int hf_netmon_system_config_total_num_clusters;
+static int hf_netmon_system_config_file_system;
+static int hf_netmon_system_config_volume_ext;
+static int hf_netmon_system_config_physical_addr;
+static int hf_netmon_system_config_physical_addr_len;
+static int hf_netmon_system_config_ipv4_index;
+static int hf_netmon_system_config_ipv6_index;
+static int hf_netmon_system_config_nic_description;
+static int hf_netmon_system_config_ipaddresses;
+static int hf_netmon_system_config_dns_server_addresses;
+static int hf_netmon_system_config_memory_size;
+static int hf_netmon_system_config_x_resolution;
+static int hf_netmon_system_config_y_resolution;
+static int hf_netmon_system_config_bits_per_pixel;
+static int hf_netmon_system_config_vrefresh;
+static int hf_netmon_system_config_chip_type;
+static int hf_netmon_system_config_dac_type;
+static int hf_netmon_system_config_adapter_string;
+static int hf_netmon_system_config_bios_string;
+static int hf_netmon_system_config_device_id;
+static int hf_netmon_system_config_state_flags;
+static int hf_netmon_system_config_process_id;
+static int hf_netmon_system_config_service_state;
+static int hf_netmon_system_config_sub_process_tag;
+static int hf_netmon_system_config_service_name;
+static int hf_netmon_system_config_display_name;
+static int hf_netmon_system_config_process_name;
+static int hf_netmon_system_config_s1;
+static int hf_netmon_system_config_s2;
+static int hf_netmon_system_config_s3;
+static int hf_netmon_system_config_s4;
+static int hf_netmon_system_config_s5;
+static int hf_netmon_system_config_tcb_table_partitions;
+static int hf_netmon_system_config_max_hash_table_size;
+static int hf_netmon_system_config_max_user_port;
+static int hf_netmon_system_config_tcp_timed_wait_delay;
+static int hf_netmon_system_config_irq_affinity;
+static int hf_netmon_system_config_irq_num;
+static int hf_netmon_system_config_device_desc_len;
+static int hf_netmon_system_config_device_desc;
+static int hf_netmon_system_config_device_id_len;
+static int hf_netmon_system_config_friendly_name_len;
+static int hf_netmon_system_config_friendly_name;
+static int hf_netmon_system_config_target_id;
+static int hf_netmon_system_config_device_type;
+static int hf_netmon_system_config_device_timing_mode;
+static int hf_netmon_system_config_location_information_len;
+static int hf_netmon_system_config_location_information;
+static int hf_netmon_system_config_system_manufacturer;
+static int hf_netmon_system_config_system_product_name;
+static int hf_netmon_system_config_bios_date;
+static int hf_netmon_system_config_bios_version;
+static int hf_netmon_system_config_load_order_group;
+static int hf_netmon_system_config_svc_host_group;
+static int hf_netmon_system_config_irq_group;
+static int hf_netmon_system_config_pdo_name;
+static int hf_netmon_system_config_nic_name;
+static int hf_netmon_system_config_index;
+static int hf_netmon_system_config_physical_addr_str;
+static int hf_netmon_system_config_ip_address;
+static int hf_netmon_system_config_subnet_mask;
+static int hf_netmon_system_config_dhcp_server;
+static int hf_netmon_system_config_gateway;
+static int hf_netmon_system_config_primary_wins_server;
+static int hf_netmon_system_config_secondary_wins_server;
+static int hf_netmon_system_config_dns_server1;
+static int hf_netmon_system_config_dns_server2;
+static int hf_netmon_system_config_dns_server3;
+static int hf_netmon_system_config_dns_server4;
+static int hf_netmon_system_config_data;
+
+
+
+static int hf_netmon_process_unique_process_key;
+static int hf_netmon_process_process_id;
+static int hf_netmon_process_parent_id;
+static int hf_netmon_process_session_id;
+static int hf_netmon_process_exit_status;
+static int hf_netmon_process_directory_table_base;
+static int hf_netmon_process_unknown;
+static int hf_netmon_process_user_sid_revision;
+static int hf_netmon_process_user_sid_subauth_count;
+static int hf_netmon_process_user_sid_id;
+static int hf_netmon_process_user_sid_authority;
+static int hf_netmon_process_image_file_name;
+static int hf_netmon_process_command_line;
+static int hf_netmon_process_page_directory_base;
+static int hf_netmon_process_page_fault_count;
+static int hf_netmon_process_handle_count;
+static int hf_netmon_process_reserved;
+static int hf_netmon_process_peak_virtual_size;
+static int hf_netmon_process_peak_working_set_size;
+static int hf_netmon_process_peak_page_file_usage;
+static int hf_netmon_process_quota_peak_paged_pool_usage;
+static int hf_netmon_process_quota_peak_non_paged_pool_usage;
+static int hf_netmon_process_virtual_size;
+static int hf_netmon_process_workingset_size;
+static int hf_netmon_process_pagefile_usage;
+static int hf_netmon_process_quota_paged_pool_usage;
+static int hf_netmon_process_quota_non_paged_pool_usage;
+static int hf_netmon_process_private_page_count;
+static int hf_netmon_process_directory_table_base32;
+
+
+static gint ett_netmon_header;
+static gint ett_netmon_event;
+static gint ett_netmon_event_desc;
+static gint ett_netmon_event_flags;
+static gint ett_netmon_event_property;
+static gint ett_netmon_event_extended_data;
+static gint ett_netmon_filter;
+static gint ett_netmon_network_info;
+static gint ett_netmon_network_info_list;
+static gint ett_netmon_network_info_adapter;
+static gint ett_netmon_system_trace;
+static gint ett_netmon_event_buffer_context;
+static gint ett_netmon_process;
+static gint ett_netmon_sid;
+static gint ett_netmon_system_config;
+
+static expert_field ei_netmon_process_user_sid;
static dissector_table_t wtap_encap_table;
@@ -691,19 +691,19 @@ dissect_netmon_network_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
}
else if (link_speed >= 1000 * 1000 * 1000)
{
- proto_tree_add_uint64_format_value(adapter_tree, hf_netmon_network_info_link_speed, tvb, offset, 8, link_speed, "%" G_GINT64_MODIFIER "u Gbps", link_speed/(1000*1000*1000));
+ proto_tree_add_uint64_format_value(adapter_tree, hf_netmon_network_info_link_speed, tvb, offset, 8, link_speed, "%" PRIu64 " Gbps", link_speed/(1000*1000*1000));
}
else if (link_speed >= 1000 * 1000)
{
- proto_tree_add_uint64_format_value(adapter_tree, hf_netmon_network_info_link_speed, tvb, offset, 8, link_speed, "%" G_GINT64_MODIFIER "u Mbps", link_speed/(1000*1000));
+ proto_tree_add_uint64_format_value(adapter_tree, hf_netmon_network_info_link_speed, tvb, offset, 8, link_speed, "%" PRIu64 " Mbps", link_speed/(1000*1000));
}
else if (link_speed >= 1000)
{
- proto_tree_add_uint64_format_value(adapter_tree, hf_netmon_network_info_link_speed, tvb, offset, 8, link_speed, "%" G_GINT64_MODIFIER "u Kbps", link_speed/1000);
+ proto_tree_add_uint64_format_value(adapter_tree, hf_netmon_network_info_link_speed, tvb, offset, 8, link_speed, "%" PRIu64 " Kbps", link_speed/1000);
}
else
{
- proto_tree_add_uint64_format_value(adapter_tree, hf_netmon_network_info_link_speed, tvb, offset, 8, link_speed, "%" G_GINT64_MODIFIER "u bps", link_speed);
+ proto_tree_add_uint64_format_value(adapter_tree, hf_netmon_network_info_link_speed, tvb, offset, 8, link_speed, "%" PRIu64 " bps", link_speed);
}
offset += 8;
proto_tree_add_item(adapter_tree, hf_netmon_network_info_mac_address, tvb, offset, 6, ENC_NA);
@@ -2056,11 +2056,11 @@ void proto_register_netmon(void)
},
{ &hf_netmon_filter_app_name,
{ "Application Name", "netmon_filter.app_name",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_filter_filter,
{ "Filter", "netmon_filter.filter",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
};
@@ -2075,19 +2075,19 @@ void proto_register_netmon(void)
},
{ &hf_netmon_network_info_computer_name,
{ "Computer name", "netmon_network_info.computer_name",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_network_info_friendly_name,
{ "Friendly name", "netmon_network_info.friendly_name",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_network_info_description,
{ "Description", "netmon_network_info.description",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_network_info_miniport_guid,
{ "Miniport GUID", "netmon_network_info.miniport_guid",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_network_info_media_type,
{ "Media type", "netmon_network_info.media_type",
@@ -2246,11 +2246,11 @@ void proto_register_netmon(void)
},
{ &hf_netmon_system_trace_session_name,
{ "Session name", "netmon_system_trace.session_name",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_trace_log_file_name,
{ "Log file name", "netmon_system_trace.log_file_name",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_trace_group_mask1,
{ "Group Mask1", "netmon_system_trace.group_mask1",
@@ -2313,11 +2313,11 @@ void proto_register_netmon(void)
},
{ &hf_netmon_system_config_computer_name,
{ "Computer name", "netmon_system_config.computer_name",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_domain_name,
{ "Domain name", "netmon_system_config.domain_name",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_hyper_threading_flag,
{ "Hyper threading flag", "netmon_system_config.hyper_threading_flag",
@@ -2361,7 +2361,7 @@ void proto_register_netmon(void)
},
{ &hf_netmon_system_config_manufacturer,
{ "Manufacturer", "netmon_system_config.manufacturer",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_partition_count,
{ "Partition count", "netmon_system_config.partition_count",
@@ -2377,11 +2377,11 @@ void proto_register_netmon(void)
},
{ &hf_netmon_system_config_boot_drive_letter,
{ "Boot drive letter", "netmon_system_config.boot_drive_letter",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_spare,
{ "Spare", "netmon_system_config.spare",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_start_offset,
{ "Start offset", "netmon_system_config.start_offset",
@@ -2401,7 +2401,7 @@ void proto_register_netmon(void)
},
{ &hf_netmon_system_config_drive_letter,
{ "Drive letter", "netmon_system_config.drive_letter",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_partition_number,
{ "Partition number", "netmon_system_config.partition_number",
@@ -2421,7 +2421,7 @@ void proto_register_netmon(void)
},
{ &hf_netmon_system_config_file_system,
{ "File system", "netmon_system_config.file_system",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_volume_ext,
{ "Volume ext", "netmon_system_config.volume_ext",
@@ -2445,15 +2445,15 @@ void proto_register_netmon(void)
},
{ &hf_netmon_system_config_nic_description,
{ "File system", "netmon_system_config.file_system",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_ipaddresses,
{ "IP addresses", "netmon_system_config.ipaddresses",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_dns_server_addresses,
{ "DNS server addresses", "netmon_system_config.dns_server_addresses",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_memory_size,
{ "Memory size", "netmon_system_config.memory_size",
@@ -2477,23 +2477,23 @@ void proto_register_netmon(void)
},
{ &hf_netmon_system_config_chip_type,
{ "Chip type", "netmon_system_config.chip_type",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_dac_type,
{ "DAC type", "netmon_system_config.dac_type",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_adapter_string,
{ "Adapter string", "netmon_system_config.adapter_string",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_bios_string,
{ "BIOS string", "netmon_system_config.bios_string",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_device_id,
{ "Device ID", "netmon_system_config.device_id",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_state_flags,
{ "State flags", "netmon_system_config.state_flags",
@@ -2513,15 +2513,15 @@ void proto_register_netmon(void)
},
{ &hf_netmon_system_config_service_name,
{ "Service name", "netmon_system_config.service_name",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_display_name,
{ "Display name", "netmon_system_config.display_name",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_process_name,
{ "Process name", "netmon_system_config.process_name",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_s1,
{ "S1", "netmon_system_config.s1",
@@ -2573,11 +2573,11 @@ void proto_register_netmon(void)
},
{ &hf_netmon_system_config_device_desc,
{ "Device description", "netmon_system_config.device_desc",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_friendly_name,
{ "Friendly name", "netmon_system_config.friendly_name",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_device_id_len,
{ "Device ID length", "netmon_system_config.device_id_len",
@@ -2605,31 +2605,31 @@ void proto_register_netmon(void)
},
{ &hf_netmon_system_config_location_information,
{ "Location information", "netmon_system_config.location_information",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_system_manufacturer,
{ "System manufacturer", "netmon_system_config.system_manufacturer",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_system_product_name,
{ "System product name", "netmon_system_config.system_product_name",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_bios_date,
{ "BIOS date", "netmon_system_config.bios_date",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_bios_version,
{ "BIOS version", "netmon_system_config.bios_version",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_load_order_group,
{ "Load order group", "netmon_system_config.load_order_group",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_svc_host_group,
{ "svchost group", "netmon_system_config.svc_host_group",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_irq_group,
{ "IRQ group", "netmon_system_config.irq_group",
@@ -2637,11 +2637,11 @@ void proto_register_netmon(void)
},
{ &hf_netmon_system_config_pdo_name,
{ "PDO name", "netmon_system_config.pdo_name",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_nic_name,
{ "NIC name", "netmon_system_config.nic_name",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_index,
{ "Index", "netmon_system_config.index",
@@ -2649,7 +2649,7 @@ void proto_register_netmon(void)
},
{ &hf_netmon_system_config_physical_addr_str,
{ "Physical address", "netmon_system_config.physical_addr_str",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_system_config_ip_address,
{ "IP address", "netmon_system_config.ip_address",
@@ -2744,11 +2744,11 @@ void proto_register_netmon(void)
},
{ &hf_netmon_process_image_file_name,
{ "Image file name", "netmon_process.image_file_name",
- FT_STRING, STR_ASCII, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_process_command_line,
{ "Commandline", "netmon_process.command_line",
- FT_STRING, STR_UNICODE, NULL, 0x0, NULL, HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
{ &hf_netmon_process_page_directory_base,
{ "Page directory base", "netmon_process.page_directory_base",