Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ethtool_rx_ntuple_flow_spec Struct Reference

#include <ethtool.h>

Data Fields

__u32 flow_type
 
union {
   struct ethtool_tcpip4_spec   tcp_ip4_spec
 
   struct ethtool_tcpip4_spec   udp_ip4_spec
 
   struct ethtool_tcpip4_spec   sctp_ip4_spec
 
   struct ethtool_ah_espip4_spec   ah_ip4_spec
 
   struct ethtool_ah_espip4_spec   esp_ip4_spec
 
   struct ethtool_usrip4_spec   usr_ip4_spec
 
   struct ethhdr   ether_spec
 
   __u8   hdata [72]
 
h_u
 
union {
   struct ethtool_tcpip4_spec   tcp_ip4_spec
 
   struct ethtool_tcpip4_spec   udp_ip4_spec
 
   struct ethtool_tcpip4_spec   sctp_ip4_spec
 
   struct ethtool_ah_espip4_spec   ah_ip4_spec
 
   struct ethtool_ah_espip4_spec   esp_ip4_spec
 
   struct ethtool_usrip4_spec   usr_ip4_spec
 
   struct ethhdr   ether_spec
 
   __u8   hdata [72]
 
m_u
 
__u16 vlan_tag
 
__u16 vlan_tag_mask
 
__u64 data
 
__u64 data_mask
 
__s32 action
 

Detailed Description

struct ethtool_rx_ntuple_flow_spec - specification for RX flow filter : Type of match to perform, e.g. TCP_V4_FLOW : Flow field values to match (dependent on ) : Masks for flow field value bits to be ignored : VLAN tag to match : Mask for VLAN tag bits to be ignored : Driver-dependent data to match : Mask for driver-dependent data bits to be ignored : RX ring/queue index to deliver to (non-negative) or other action (negative, e.g. ETHTOOL_RXNTUPLE_ACTION_DROP)

For flow types TCP_V4_FLOW, UDP_V4_FLOW and SCTP_V4_FLOW, where a field value and mask are both zero this is treated as if all mask bits are set i.e. the field is ignored.

Definition at line 634 of file ethtool.h.

Field Documentation

Definition at line 652 of file ethtool.h.

Definition at line 640 of file ethtool.h.

Definition at line 649 of file ethtool.h.

__u64 data_mask

Definition at line 650 of file ethtool.h.

Definition at line 641 of file ethtool.h.

struct ethhdr ether_spec

Definition at line 643 of file ethtool.h.

__u32 flow_type

Definition at line 635 of file ethtool.h.

union { ... } h_u
__u8 hdata[72]

Definition at line 644 of file ethtool.h.

union { ... } m_u
struct ethtool_tcpip4_spec sctp_ip4_spec

Definition at line 639 of file ethtool.h.

Definition at line 637 of file ethtool.h.

Definition at line 638 of file ethtool.h.

Definition at line 642 of file ethtool.h.

__u16 vlan_tag

Definition at line 647 of file ethtool.h.

__u16 vlan_tag_mask

Definition at line 648 of file ethtool.h.


The documentation for this struct was generated from the following file: