![]() |
PF_RING API
API documentation for PF_RING: high-speed packet capture, filtering and analysis framework.
|
Public Attributes | ||
| u_int32_t | tunnel_id | |
| u_int8_t | tunneled_dmac [ETH_ALEN] | |
| u_int8_t | tunneled_smac [ETH_ALEN] | |
| u_int16_t | tunneled_eth_type | |
| u_int8_t | tunneled_ip_version | |
| u_int8_t | tunneled_proto | |
| ip_addr | tunneled_ip_src | |
| ip_addr | tunneled_ip_dst | |
| u_int16_t | tunneled_l4_src_port | |
| u_int16_t | tunneled_l4_dst_port | |
| int32_t | if_index | |
| u_int8_t | smac [ETH_ALEN] | |
| u_int8_t | dmac [ETH_ALEN] | |
| u_int16_t | vlan_id | |
| u_int16_t | eth_type | |
| u_int8_t | proto | |
| ip_addr | shost | |
| ip_addr | dhost | |
| ip_addr | shost_mask | |
| ip_addr | dhost_mask | |
| u_int16_t | sport_low | |
| u_int16_t | sport_high | |
| u_int16_t | dport_low | |
| u_int16_t | dport_high | |
| struct { | ||
| u_int8_t flags | ||
| } | tcp | |
| u_int16_t | optional_fields | |
| struct { | ||
| u_int32_t tunnel_id | ||
| ip_addr shost | ||
| ip_addr dhost | ||
| ip_addr shost_mask | ||
| ip_addr dhost_mask | ||
| } | tunnel | |
| char | payload_pattern [32] | |
| unsigned long | jiffies_last_match | |
| struct net_device * | reflector_dev | |
| u_int16_t | rule_id | |
| rule_action_behaviour | rule_action | |
| u_int8_t | balance_id | |
| u_int8_t | balance_pool | |
| u_int8_t | locked | |
| u_int8_t | bidirectional | |
| filtering_rule_core_fields | core_fields | |
| filtering_rule_extended_fields | extended_fields | |
| char | reflector_device_name [REFLECTOR_NAME_LEN] | |
| filtering_internals | internals | |
| u_int32_t | s_addr | |
| u_int32_t | d_addr | |
| u_int16_t | s_port | |
| u_int16_t | d_port | |
| u_int16_t | queue_id | |
| silicom_redirector_rule_type | rule_type | |
| u_int8_t | rule_port | |
| u_int8_t | rule_target_port | |
| u_int16_t | vlan_id_low | |
| u_int16_t | vlan_id_high | |
| u_int8_t | l3_proto | |
| ip_addr | src_addr | |
| ip_addr | dst_addr | |
| u_int32_t | src_mask | |
| u_int32_t | dst_mask | |
| u_int16_t | src_port_low | |
| u_int16_t | src_port_high | |
| u_int16_t | dst_port_low | |
| u_int16_t | dst_port_high | |
| generic_flow_rule_action_type | action | |
| u_int64_t | flow_id | |
| u_int32_t | thread | |
| ip_addr | src_ip | |
| ip_addr | dst_ip | |
| ip_addr | src_ip_mask | |
| ip_addr | dst_ip_mask | |
| u_int16_t | src_port | |
| u_int16_t | dst_port | |
| u_int8_t | ip_version | |
| u_int8_t | protocol | |
| u_int8_t | interface | |
| u_int8_t | queue_id | |
| hw_filtering_rule_type | rule_family_type | |
| u_int16_t | priority | |
| union { | ||
| intel_82599_five_tuple_filter_hw_rule five_tuple_rule | ||
| intel_82599_perfect_filter_hw_rule perfect_rule | ||
| silicom_redirector_hw_rule redirector_rule | ||
| generic_flow_id_hw_rule flow_id_rule | ||
| generic_flow_tuple_hw_rule flow_tuple_rule | ||
| } | rule_family | |
| u_int8_t | cause | |
| u_int8_t | padding_0 | |
| u_int16_t | padding_1 | |
| u_int16_t | flags_out | |
| u_int16_t | flags_in | |
| u_int32_t | packets_out | |
| u_int32_t | packets_in | |
| u_int64_t | bytes_out | |
| u_int64_t | bytes_in | |
| struct pfring_timespec | last_seen | |
| u_int32_t | flow_id | |
| u_int8_t | l4_protocol | |
| u_int8_t | tos | |
| u_int8_t | tcp_flags | |
| u_int8_t | start_of_flow | |
| u_int8_t | reserved | |
| u_int32_t | fwd_packets | |
| u_int32_t | rev_packets | |
| u_int64_t | fwd_bytes | |
| u_int64_t | rev_bytes | |
| struct pfring_timespec | fwd_ts_first | |
| struct pfring_timespec | fwd_ts_last | |
| struct pfring_timespec | rev_ts_first | |
| struct pfring_timespec | rev_ts_last | |
| five_tuple_rule_handler | five_tuple_handler | |
| perfect_filter_hw_rule_handler | perfect_filter_handler | |
| ip_addr | host_peer_a | |
| ip_addr | host_peer_b | |
| u_int16_t | port_peer_a | |
| u_int16_t | port_peer_b | |
| u_int64_t | match | |
| u_int64_t | filtered | |
| u_int64_t | match_forward | |
| u_int32_t | inactivity | |
| zc_dev_wait_packet | wait_packet | |
| zc_dev_notify | usage_notification | |
| zc_dev_set_time | set_time | |
| zc_dev_adjust_time | adjust_time | |
| zc_dev_get_tx_time | get_tx_time | |
| zc_dev_control_queue | control_queue | |
| zc_dev_get_stats | get_stats | |
| u_int32_t | packet_memory_num_slots | |
| u_int32_t | packet_memory_slot_len | |
| u_int32_t | descr_packet_memory_tot_len | |
| u_int16_t | registers_index | |
| u_int16_t | stats_index | |
| u_int32_t | vector | |
| u_int32_t | num_queues | |
| zc_dev_ring_info | rx | |
| zc_dev_ring_info | tx | |
| u_int32_t | phys_card_memory_len | |
| zc_dev_model | device_model | |
| zc_memory_info | mem_info | |
| u_int16_t | channel_id | |
| void * | rx_descr_packet_memory | |
| void * | tx_descr_packet_memory | |
| char * | phys_card_memory | |
| struct net_device * | dev | |
| struct device * | hwdev | |
| u_char | device_address [6] | |
| void * | packet_waitqueue | |
| u_int8_t * | interrupt_received | |
| u_int8_t | in_use | |
| void * | rx_adapter | |
| void * | tx_adapter | |
| zc_dev_callbacks | callbacks | |
| zc_dev_operation | operation | |
| char | device_name [IFNAMSIZ] | |
| int32_t | channel_id | |
| pfring_device_type | device_type | |
| struct proc_dir_entry * | proc_entry | |
| union { | ||
| u_int8_t u6_addr8 [16] | ||
| u_int16_t u6_addr16 [8] | ||
| u_int32_t u6_addr32 [4] | ||
| } | u6_addr | |
| u_int8_t | ihl:4 | |
| u_int8_t | version:4 | |
| u_int16_t | tot_len | |
| u_int16_t | id | |
| u_int16_t | frag_off | |
| u_int8_t | ttl | |
| u_int16_t | check | |
| u_int32_t | saddr | |
| u_int32_t | daddr | |
| u_int32_t | ip6_un1_flow | |
| u_int16_t | ip6_un1_plen | |
| u_int8_t | ip6_un1_nxt | |
| u_int8_t | ip6_un1_hlim | |
| pfring_ft_in6_addr | ip6_src | |
| pfring_ft_in6_addr | ip6_dst | |
| u_int16_t | source | |
| u_int16_t | dest | |
| u_int32_t | seq | |
| u_int32_t | ack_seq | |
| u_int16_t | res1:4 | |
| u_int16_t | doff:4 | |
| u_int16_t | fin:1 | |
| u_int16_t | syn:1 | |
| u_int16_t | rst:1 | |
| u_int16_t | psh:1 | |
| u_int16_t | ack:1 | |
| u_int16_t | urg:1 | |
| u_int16_t | ece:1 | |
| u_int16_t | cwr:1 | |
| u_int16_t | window | |
| u_int16_t | urg_ptr | |
| u_int16_t | len | |