logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rte_flow_action_conntrack

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                    rte_flow_action_conntrack(3)

Detailed Description

WarningEXPERIMENTAL: this structure may change without prior notice

       RTE_FLOW_ACTION_TYPE_CONNTRACK

       Configuration and initial state for the connection tracking module. This structure could be used for both
       setting and query. All fields should be in host byte order.

       Definition at line 4027 of file rte_flow.h.

Field Documentation

uint16_tpeer_port
       The peer port number, can be the same port.

       Definition at line 4029 of file rte_flow.h.

   uint32_tis_original_dir
       Direction of this connection when creating a flow rule, the value only affects the creation of subsequent
       flow rules.

       Definition at line 4034 of file rte_flow.h.

   uint32_tenable
       Enable / disable the conntrack HW module. When disabled, the result will always be
       RTE_FLOW_CONNTRACK_FLAG_DISABLED. In this state the HW will act as passthrough. It only affects this
       conntrack object in the HW without any effect to the other objects.

       Definition at line 4042 of file rte_flow.h.

   uint32_tlive_connection
       At least one ack was seen after the connection was established.

       Definition at line 4044 of file rte_flow.h.

   uint32_tselective_ack
       Enable selective ACK on this connection.

       Definition at line 4046 of file rte_flow.h.

   uint32_tchallenge_ack_passed
       A challenge ack has passed.

       Definition at line 4048 of file rte_flow.h.

   uint32_tlast_direction
       1: The last packet is seen from the original direction. 0: The last packet is seen from the reply
       direction.

       Definition at line 4053 of file rte_flow.h.

   uint32_tliberal_mode
       No TCP check will be done except the state change.

       Definition at line 4055 of file rte_flow.h.

   enumrte_flow_conntrack_statestate
       The current state of this connection.

       Definition at line 4057 of file rte_flow.h.

   uint8_tmax_ack_window
       Scaling factor for maximal allowed ACK window.

       Definition at line 4059 of file rte_flow.h.

   uint8_tretransmission_limit
       Maximal allowed number of retransmission times.

       Definition at line 4061 of file rte_flow.h.

   structrte_flow_tcp_dir_paramoriginal_dir
       TCP parameters of the original direction.

       Definition at line 4063 of file rte_flow.h.

   structrte_flow_tcp_dir_paramreply_dir
       TCP parameters of the reply direction.

       Definition at line 4065 of file rte_flow.h.

   uint16_tlast_window
       The window value of the last packet passed this conntrack.

       Definition at line 4067 of file rte_flow.h.

   uint32_tlast_seq
       The sequence of the last packet passed this conntrack.

       Definition at line 4070 of file rte_flow.h.

   uint32_tlast_ack
       The acknowledgment of the last packet passed this conntrack.

       Definition at line 4072 of file rte_flow.h.

   uint32_tlast_end
       The total value ACK + payload length of the last packet passed this conntrack.

       Definition at line 4077 of file rte_flow.h.

Name

       rte_flow_action_conntrack

Synopsis

       #include <rte_flow.h>

   DataFields
       uint16_t peer_port
       uint32_t is_original_dir:1
       uint32_t enable:1
       uint32_t live_connection:1
       uint32_t selective_ack:1
       uint32_t challenge_ack_passed:1
       uint32_t last_direction:1
       uint32_t liberal_mode:1
       enum rte_flow_conntrack_statestate
       uint8_t max_ack_window
       uint8_t retransmission_limit
       struct rte_flow_tcp_dir_paramoriginal_dir
       struct rte_flow_tcp_dir_paramreply_dir
       uint16_t last_window
       uint32_t last_seq
       uint32_t last_ack
       uint32_t last_end

See Also