The Linux Kernel Logo
  • Development process
  • Submitting patches
  • Code of conduct
  • Maintainer handbook
  • All development-process docs
  • Core API
  • Driver APIs
  • Subsystems
    • Core subsystems
    • Human interfaces
    • Networking interfaces
      • Networking
        • AF_XDP
        • Bare UDP Tunnelling Module Documentation
        • batman-adv
        • SocketCAN - Controller Area Network
        • The UCAN Protocol
        • Hardware Device Drivers
        • Networking Diagnostics
        • Distributed Switch Architecture
        • Linux Devlink Documentation
        • CAIF
        • Netlink interface for ethtool
        • IEEE 802.15.4 Developer’s Guide
        • ISO 15765-2 (ISO-TP)
        • J1939 Documentation
        • Linux Networking and Network Devices APIs
        • MSG_ZEROCOPY
        • FAILOVER
        • Net DIM - Generic Network Dynamic Interrupt Moderation
        • NET_FAILOVER
        • Page Pool API
        • PHY Abstraction Layer
        • phylink
        • IP-Aliasing
        • Ethernet Bridging
        • SNMP counter
        • Checksum Offloads
        • Segmentation Offloads
        • Scaling in the Linux Networking Stack
        • Kernel TLS
        • Kernel TLS offload
        • In-Kernel TLS Handshake
        • Linux NFC subsystem
        • Netdev private dataroom for 6lowpan interfaces
        • 6pack Protocol
        • ARCnet Hardware
        • ARCnet
        • ATM
        • AX.25
        • Linux Ethernet Bonding Driver HOWTO
        • cdc_mbim - Driver for CDC MBIM Mobile Broadband modems
        • DCCP protocol
        • DCTCP (DataCenter TCP)
        • Device Memory TCP
        • DNS Resolver Module
        • Softnet Driver Issues
        • EQL Driver: Serial IP Load Balancing HOWTO
        • LC-trie implementation notes
        • Linux Socket Filtering aka Berkeley Packet Filter (BPF)
        • Generic HDLC layer
        • Generic Netlink
        • Netlink Family Specifications
          • Family conntrack netlink specification
          • Family devlink netlink specification
          • Family dpll netlink specification
          • Family ethtool netlink specification
          • Family fou netlink specification
          • Family handshake netlink specification
          • Family lockd netlink specification
          • Family mptcp_pm netlink specification
          • Family net-shaper netlink specification
          • Family netdev netlink specification
          • Family nfsd netlink specification
          • Family nftables netlink specification
          • Family nl80211 netlink specification
          • Family nlctrl netlink specification
          • Family ovs_datapath netlink specification
          • Family ovs_flow netlink specification
            • Summary
            • Operations
              • get
              • new
            • Multicast groups
            • Definitions
              • ovs-header
              • ovs-flow-stats
              • ovs-key-ethernet
              • ovs-key-mpls
              • ovs-key-ipv4
              • ovs-key-ipv6
              • ovs-key-ipv6-exthdrs
              • ovs-frag-type
              • ovs-key-tcp
              • ovs-key-udp
              • ovs-key-sctp
              • ovs-key-icmp
              • ovs-key-arp
              • ovs-key-nd
              • ovs-key-ct-tuple-ipv4
              • ovs-action-push-vlan
              • ovs-ufid-flags
              • ovs-action-hash
              • ovs-hash-alg
              • ovs-action-push-mpls
              • ovs-action-add-mpls
              • ct-state-flags
            • Attribute sets
              • flow-attrs
                • key (nest)
                • actions (nest)
                • stats (binary)
                • tcp-flags (u8)
                • used (u64)
                • clear (flag)
                • mask (nest)
                • probe (binary)
                • ufid (binary)
                • ufid-flags (u32)
                • pad (binary)
              • key-attrs
                • encap (nest)
                • priority (u32)
                • in-port (u32)
                • ethernet (binary)
                • vlan (u16)
                • ethertype (u16)
                • ipv4 (binary)
                • ipv6 (binary)
                • tcp (binary)
                • udp (binary)
                • icmp (binary)
                • icmpv6 (binary)
                • arp (binary)
                • nd (binary)
                • skb-mark (u32)
                • tunnel (nest)
                • sctp (binary)
                • tcp-flags (u16)
                • dp-hash (u32)
                • recirc-id (u32)
                • mpls (binary)
                • ct-state (u32)
                • ct-zone (u16)
                • ct-mark (u32)
                • ct-labels (binary)
                • ct-orig-tuple-ipv4 (binary)
                • ct-orig-tuple-ipv6 (binary)
                • nsh (nest)
                • packet-type (u32)
                • nd-extensions (binary)
                • tunnel-info (binary)
                • ipv6-exthdrs (binary)
              • action-attrs
                • output (u32)
                • userspace (nest)
                • set (nest)
                • push-vlan (binary)
                • pop-vlan (flag)
                • sample (nest)
                • recirc (u32)
                • hash (binary)
                • push-mpls (binary)
                • pop-mpls (u16)
                • set-masked (nest)
                • ct (nest)
                • trunc (u32)
                • push-eth (binary)
                • pop-eth (flag)
                • ct-clear (flag)
                • push-nsh (nest)
                • pop-nsh (flag)
                • meter (u32)
                • clone (nest)
                • check-pkt-len (nest)
                • add-mpls (binary)
                • dec-ttl (nest)
                • psample (nest)
              • tunnel-key-attrs
                • id (u64)
                • ipv4-src (u32)
                • ipv4-dst (u32)
                • tos (u8)
                • ttl (u8)
                • dont-fragment (flag)
                • csum (flag)
                • oam (flag)
                • geneve-opts (binary)
                • tp-src (u16)
                • tp-dst (u16)
                • vxlan-opts (nest)
                • ipv6-src (binary)
                • ipv6-dst (binary)
                • pad (binary)
                • erspan-opts (binary)
                • ipv4-info-bridge (flag)
              • check-pkt-len-attrs
                • pkt-len (u16)
                • actions-if-greater (nest)
                • actions-if-less-equal (nest)
              • sample-attrs
                • probability (u32)
                • actions (nest)
              • userspace-attrs
                • pid (u32)
                • userdata (binary)
                • egress-tun-port (u32)
                • actions (flag)
              • ovs-nsh-key-attrs
                • base (binary)
                • md1 (binary)
                • md2 (binary)
              • ct-attrs
                • commit (flag)
                • zone (u16)
                • mark (binary)
                • labels (binary)
                • helper (string)
                • nat (nest)
                • force-commit (flag)
                • eventmask (u32)
                • timeout (string)
              • nat-attrs
                • src (flag)
                • dst (flag)
                • ip-min (binary)
                • ip-max (binary)
                • proto-min (u16)
                • proto-max (u16)
                • persistent (flag)
                • proto-hash (flag)
                • proto-random (flag)
              • dec-ttl-attrs
                • action (nest)
              • vxlan-ext-attrs
                • gbp (u32)
              • psample-attrs
                • group (u32)
                • cookie (binary)
          • Family ovs_vport netlink specification
          • Family rt-addr netlink specification
          • Family rt-link netlink specification
          • Family rt-neigh netlink specification
          • Family rt-route netlink specification
          • Family rt-rule netlink specification
          • Family tc netlink specification
          • Family tcp_metrics netlink specification
          • Family team netlink specification
        • Generic networking statistics for netlink users
        • The Linux kernel GTP tunneling module
        • Identifier Locator Addressing (ILA)
        • IOAM6 Sysfs variables
        • io_uring zero copy Rx
        • IP dynamic address hack-port v0.03
        • IPsec
        • IP Sysctl
        • IPv6
        • IPVLAN Driver HOWTO
        • IPvs-sysctl
        • Kernel Connection Multiplexor
        • L2TP
        • The Linux LAPB Module Interface
        • How to use packet injection with mac80211
        • Management Component Transport Protocol (MCTP)
        • MPLS Sysfs variables
        • Multipath TCP (MPTCP)
        • MPTCP Sysfs variables
        • HOWTO for multiqueue network device support
        • Multi-PF Netdev
        • NAPI
        • Common Networking Struct Cachelines
        • Netconsole
        • Netdev features mess and how to get out from it alive
        • Network Devices, the Kernel, and You!
        • Netfilter Sysfs variables
        • NETIF Msg Level
        • Netmem Support for Network Drivers
        • Resilient Next-hop Groups
        • Netfilter Conntrack Sysfs variables
        • Netfilter’s flowtable infrastructure
        • OPEN Alliance 10BASE-T1x MAC-PHY Serial Interface (TC6) Framework Support
        • Open vSwitch datapath developer documentation
        • Operational States
        • Packet MMAP
        • Linux Phonet protocol family
        • PHY link topology
        • HOWTO for the linux packet generator
        • PLIP: The Parallel Line Internet Protocol Device
        • PPP Generic Driver and Channel Interface
        • The proc/net/tcp and proc/net/tcp6 variables
        • Power Sourcing Equipment (PSE) Documentation
        • How to use radiotap headers
        • RDS
        • Linux wireless regulatory documentation
        • Network Function Representors
        • RxRPC Network Protocol
        • SOCKET OPTIONS
        • SECURITY
        • EXAMPLE CLIENT USAGE
        • Linux Kernel SCTP
        • LSM/SeLinux secid
        • Seg6 Sysfs variables
        • struct sk_buff
        • SMC Sysctl
        • NIC SR-IOV APIs
        • Interface statistics
        • Stream Parser (strparser)
        • Ethernet switch device driver model (switchdev)
        • Sysfs tagging
        • TC Actions - Environmental Rules
        • TC queue based filtering
        • TCP Authentication Option Linux implementation (RFC5925)
        • Thin-streams and TCP
        • Team
        • Timestamping
        • Linux Kernel TIPC
        • Transparent proxy support
        • Universal TUN/TAP device driver
        • The UDP-Lite protocol (RFC 3828)
        • Virtual Routing and Forwarding (VRF)
        • Virtual eXtensible Local Area Networking documentation
        • Linux X.25 Project
        • X.25 Device Driver Interface
        • XFRM device - offloading the IPsec computations
        • XFRM proc - /proc/net/xfrm_* files
        • XFRM
        • XFRM Syscall
        • XDP RX Metadata
        • AF_XDP TX Metadata
      • NetLabel
      • InfiniBand
      • ISDN
      • MHI
    • Storage interfaces
    • Other subsystems
  • Locking
  • Licensing rules
  • Writing documentation
  • Development tools
  • Testing guide
  • Hacking guide
  • Tracing
  • Fault injection
  • Livepatching
  • Rust
  • Administration
  • Build system
  • Reporting issues
  • Userspace tools
  • Userspace API
  • Firmware
  • Firmware and Devicetree
  • CPU architectures
  • Unsorted documentation
  • Translations
The Linux Kernel
  • Kernel subsystem documentation
  • Networking
  • Netlink Family Specifications
  • Family ovs_flow netlink specification
  • View page source

Family ovs_flow netlink specification¶

Contents

  • Family ovs_flow netlink specification

    • Summary

    • Operations

      • get

      • new

    • Multicast groups

    • Definitions

      • ovs-header

      • ovs-flow-stats

      • ovs-key-ethernet

      • ovs-key-mpls

      • ovs-key-ipv4

      • ovs-key-ipv6

      • ovs-key-ipv6-exthdrs

      • ovs-frag-type

      • ovs-key-tcp

      • ovs-key-udp

      • ovs-key-sctp

      • ovs-key-icmp

      • ovs-key-arp

      • ovs-key-nd

      • ovs-key-ct-tuple-ipv4

      • ovs-action-push-vlan

      • ovs-ufid-flags

      • ovs-action-hash

      • ovs-hash-alg

      • ovs-action-push-mpls

      • ovs-action-add-mpls

      • ct-state-flags

    • Attribute sets

      • flow-attrs

      • key-attrs

      • action-attrs

      • tunnel-key-attrs

      • check-pkt-len-attrs

      • sample-attrs

      • userspace-attrs

      • ovs-nsh-key-attrs

      • ct-attrs

      • nat-attrs

      • dec-ttl-attrs

      • vxlan-ext-attrs

      • psample-attrs

Summary¶

OVS flow configuration over generic netlink.

Operations¶

get¶

Get / dump OVS flow configuration and state

value:

3

attribute-set:

flow-attrs

do:
request
attributes:

[key, ufid, ufid-flags]

reply
attributes:

[key, ufid, mask, stats, actions]

dump:
request
attributes:

[key, ufid, ufid-flags]

reply
attributes:

[key, ufid, mask, stats, actions]

new¶

Create OVS flow configuration in a data path

value:

1

attribute-set:

flow-attrs

do:
request
attributes:

[key, ufid, mask, actions]

Multicast groups¶

  • ovs_flow

Definitions¶

ovs-header¶

type:

struct

doc:

Header for OVS Generic Netlink messages.

members:
dp-ifindex (u32):

ifindex of local port for datapath (0 to make a request not specific to a datapath).

ovs-flow-stats¶

type:

struct

members:
n-packets (u64):

Number of matched packets.

n-bytes (u64):

Number of matched bytes.

ovs-key-ethernet¶

type:

struct

members:
eth-src (binary):

eth-dst (binary):

ovs-key-mpls¶

type:

struct

members:
mpls-lse (u32):

ovs-key-ipv4¶

type:

struct

members:
ipv4-src (u32):

ipv4-dst (u32):

ipv4-proto (u8):

ipv4-tos (u8):

ipv4-ttl (u8):

ipv4-frag (u8):

ovs-key-ipv6¶

type:

struct

members:
ipv6-src (binary):

ipv6-dst (binary):

ipv6-label (u32):

ipv6-proto (u8):

ipv6-tclass (u8):

ipv6-hlimit (u8):

ipv6-frag (u8):

ovs-key-ipv6-exthdrs¶

type:

struct

members:
hdrs (u16):

ovs-frag-type¶

name-prefix:

ovs-frag-type-

enum-name:

ovs-frag-type

type:

enum

entries:
none:

Packet is not a fragment.

first:

Packet is a fragment with offset 0.

later:

Packet is a fragment with nonzero offset.

any:

ovs-key-tcp¶

type:

struct

members:
tcp-src (u16):

tcp-dst (u16):

ovs-key-udp¶

type:

struct

members:
udp-src (u16):

udp-dst (u16):

ovs-key-sctp¶

type:

struct

members:
sctp-src (u16):

sctp-dst (u16):

ovs-key-icmp¶

type:

struct

members:
icmp-type (u8):

icmp-code (u8):

ovs-key-arp¶

type:

struct

members:
arp-sip (u32):

arp-tip (u32):

arp-op (u16):

arp-sha (binary):

arp-tha (binary):

ovs-key-nd¶

type:

struct

members:
nd_target (binary):

nd-sll (binary):

nd-tll (binary):

ovs-key-ct-tuple-ipv4¶

type:

struct

members:
ipv4-src (u32):

ipv4-dst (u32):

src-port (u16):

dst-port (u16):

ipv4-proto (u8):

ovs-action-push-vlan¶

type:

struct

members:
vlan_tpid (u16):

Tag protocol identifier (TPID) to push.

vlan_tci (u16):

Tag control identifier (TCI) to push.

ovs-ufid-flags¶

name-prefix:

ovs-ufid-f-

enum-name:

None

type:

flags

entries:
  • omit-key

  • omit-mask

  • omit-actions

ovs-action-hash¶

type:

struct

members:
hash-alg (u32):

Algorithm used to compute hash prior to recirculation.

hash-basis (u32):

Basis used for computing hash.

ovs-hash-alg¶

enum-name:

ovs-hash-alg

type:

enum

doc:

Data path hash algorithm for computing Datapath hash. The algorithm type only specifies the fields in a flow will be used as part of the hash. Each datapath is free to use its own hash algorithm. The hash value will be opaque to the user space daemon.

entries:
  • ovs-hash-alg-l4

ovs-action-push-mpls¶

type:

struct

members:
mpls-lse (u32):

MPLS label stack entry to push

mpls-ethertype (u32):

Ethertype to set in the encapsulating ethernet frame. The only values ethertype should ever be given are ETH_P_MPLS_UC and ETH_P_MPLS_MC, indicating MPLS unicast or multicast. Other are rejected.

ovs-action-add-mpls¶

type:

struct

members:
mpls-lse (u32):

MPLS label stack entry to push

mpls-ethertype (u32):

Ethertype to set in the encapsulating ethernet frame. The only values ethertype should ever be given are ETH_P_MPLS_UC and ETH_P_MPLS_MC, indicating MPLS unicast or multicast. Other are rejected.

tun-flags (u16):

MPLS tunnel attributes.

ct-state-flags¶

enum-name:

None

type:

flags

name-prefix:

ovs-cs-f-

entries:
new:

Beginning of a new connection.

established:

Part of an existing connenction

related:

Related to an existing connection.

reply-dir:

Flow is in the reply direction.

invalid:

Could not track the connection.

tracked:

Conntrack has occurred.

src-nat:

Packet’s source address/port was mangled by NAT.

dst-nat:

Packet’s destination address/port was mangled by NAT.

Attribute sets¶

flow-attrs¶

key (nest)¶

nested-attributes:

key-attrs

doc:

Nested attributes specifying the flow key. Always present in notifications. Required for all requests (except dumps).

actions (nest)¶

nested-attributes:

action-attrs

doc:

Nested attributes specifying the actions to take for packets that match the key. Always present in notifications. Required for OVS_FLOW_CMD_NEW requests, optional for OVS_FLOW_CMD_SET requests. An OVS_FLOW_CMD_SET without OVS_FLOW_ATTR_ACTIONS will not modify the actions. To clear the actions, an OVS_FLOW_ATTR_ACTIONS without any nested attributes must be given.

stats (binary)¶

struct:

ovs-flow-stats

doc:

Statistics for this flow. Present in notifications if the stats would be nonzero. Ignored in requests.

tcp-flags (u8)¶

doc:

An 8-bit value giving the ORed value of all of the TCP flags seen on packets in this flow. Only present in notifications for TCP flows, and only if it would be nonzero. Ignored in requests.

used (u64)¶

doc:

A 64-bit integer giving the time, in milliseconds on the system monotonic clock, at which a packet was last processed for this flow. Only present in notifications if a packet has been processed for this flow. Ignored in requests.

clear (flag)¶

doc:

If present in a OVS_FLOW_CMD_SET request, clears the last-used time, accumulated TCP flags, and statistics for this flow. Otherwise ignored in requests. Never present in notifications.

mask (nest)¶

nested-attributes:

key-attrs

doc:

Nested attributes specifying the mask bits for wildcarded flow match. Mask bit value ‘1’ specifies exact match with corresponding flow key bit, while mask bit value ‘0’ specifies a wildcarded match. Omitting attribute is treated as wildcarding all corresponding fields. Optional for all requests. If not present, all flow key bits are exact match bits.

probe (binary)¶

doc:

Flow operation is a feature probe, error logging should be suppressed.

ufid (binary)¶

doc:

A value between 1-16 octets specifying a unique identifier for the flow. Causes the flow to be indexed by this value rather than the value of the OVS_FLOW_ATTR_KEY attribute. Optional for all requests. Present in notifications if the flow was created with this attribute.

display-hint:

uuid

ufid-flags (u32)¶

enum:

ovs-ufid-flags

doc:

A 32-bit value of ORed flags that provide alternative semantics for flow installation and retrieval. Optional for all requests.

pad (binary)¶

key-attrs¶

encap (nest)¶

nested-attributes:

key-attrs

priority (u32)¶

in-port (u32)¶

ethernet (binary)¶

struct:

ovs-key-ethernet

doc:

struct ovs_key_ethernet

vlan (u16)¶

byte-order:

big-endian

ethertype (u16)¶

byte-order:

big-endian

ipv4 (binary)¶

struct:

ovs-key-ipv4

ipv6 (binary)¶

struct:

ovs-key-ipv6

doc:

struct ovs_key_ipv6

tcp (binary)¶

struct:

ovs-key-tcp

udp (binary)¶

struct:

ovs-key-udp

icmp (binary)¶

struct:

ovs-key-icmp

icmpv6 (binary)¶

struct:

ovs-key-icmp

arp (binary)¶

struct:

ovs-key-arp

doc:

struct ovs_key_arp

nd (binary)¶

struct:

ovs-key-nd

doc:

struct ovs_key_nd

skb-mark (u32)¶

tunnel (nest)¶

nested-attributes:

tunnel-key-attrs

sctp (binary)¶

struct:

ovs-key-sctp

tcp-flags (u16)¶

byte-order:

big-endian

dp-hash (u32)¶

doc:

Value 0 indicates the hash is not computed by the datapath.

recirc-id (u32)¶

mpls (binary)¶

struct:

ovs-key-mpls

ct-state (u32)¶

enum:

ct-state-flags

enum-as-flags:

True

ct-zone (u16)¶

doc:

connection tracking zone

ct-mark (u32)¶

doc:

connection tracking mark

ct-labels (binary)¶

display-hint:

hex

doc:

16-octet connection tracking label

ct-orig-tuple-ipv4 (binary)¶

struct:

ovs-key-ct-tuple-ipv4

ct-orig-tuple-ipv6 (binary)¶

doc:

struct ovs_key_ct_tuple_ipv6

nsh (nest)¶

nested-attributes:

ovs-nsh-key-attrs

packet-type (u32)¶

byte-order:

big-endian

doc:

Should not be sent to the kernel

nd-extensions (binary)¶

doc:

Should not be sent to the kernel

tunnel-info (binary)¶

doc:

struct ip_tunnel_info

ipv6-exthdrs (binary)¶

struct:

ovs-key-ipv6-exthdrs

doc:

struct ovs_key_ipv6_exthdr

action-attrs¶

output (u32)¶

doc:

ovs port number in datapath

userspace (nest)¶

nested-attributes:

userspace-attrs

set (nest)¶

nested-attributes:

key-attrs

doc:

Replaces the contents of an existing header. The single nested attribute specifies a header to modify and its value.

push-vlan (binary)¶

struct:

ovs-action-push-vlan

doc:

Push a new outermost 802.1Q or 802.1ad header onto the packet.

pop-vlan (flag)¶

doc:

Pop the outermost 802.1Q or 802.1ad header from the packet.

sample (nest)¶

nested-attributes:

sample-attrs

doc:

Probabilistically executes actions, as specified in the nested attributes.

recirc (u32)¶

doc:

recirc id

hash (binary)¶

struct:

ovs-action-hash

push-mpls (binary)¶

struct:

ovs-action-push-mpls

doc:

Push a new MPLS label stack entry onto the top of the packets MPLS label stack. Set the ethertype of the encapsulating frame to either ETH_P_MPLS_UC or ETH_P_MPLS_MC to indicate the new packet contents.

pop-mpls (u16)¶

byte-order:

big-endian

doc:

ethertype

set-masked (nest)¶

nested-attributes:

key-attrs

doc:

Replaces the contents of an existing header. A nested attribute specifies a header to modify, its value, and a mask. For every bit set in the mask, the corresponding bit value is copied from the value to the packet header field, rest of the bits are left unchanged. The non-masked value bits must be passed in as zeroes. Masking is not supported for the OVS_KEY_ATTR_TUNNEL attribute.

ct (nest)¶

nested-attributes:

ct-attrs

doc:

Track the connection. Populate the conntrack-related entries in the flow key.

trunc (u32)¶

doc:

struct ovs_action_trunc is a u32 max length

push-eth (binary)¶

doc:

struct ovs_action_push_eth

pop-eth (flag)¶

ct-clear (flag)¶

push-nsh (nest)¶

nested-attributes:

ovs-nsh-key-attrs

doc:

Push NSH header to the packet.

pop-nsh (flag)¶

doc:

Pop the outermost NSH header off the packet.

meter (u32)¶

doc:

Run packet through a meter, which may drop the packet, or modify the packet (e.g., change the DSCP field)

clone (nest)¶

nested-attributes:

action-attrs

doc:

Make a copy of the packet and execute a list of actions without affecting the original packet and key.

check-pkt-len (nest)¶

nested-attributes:

check-pkt-len-attrs

doc:

Check the packet length and execute a set of actions if greater than the specified packet length, else execute another set of actions.

add-mpls (binary)¶

struct:

ovs-action-add-mpls

doc:

Push a new MPLS label stack entry at the start of the packet or at the start of the l3 header depending on the value of l3 tunnel flag in the tun_flags field of this OVS_ACTION_ATTR_ADD_MPLS argument.

dec-ttl (nest)¶

nested-attributes:

dec-ttl-attrs

psample (nest)¶

nested-attributes:

psample-attrs

doc:

Sends a packet sample to psample for external observation.

tunnel-key-attrs¶

id (u64)¶

byte-order:

big-endian

value:

0

ipv4-src (u32)¶

byte-order:

big-endian

ipv4-dst (u32)¶

byte-order:

big-endian

tos (u8)¶

ttl (u8)¶

dont-fragment (flag)¶

csum (flag)¶

oam (flag)¶

geneve-opts (binary)¶

sub-type:

u32

tp-src (u16)¶

byte-order:

big-endian

tp-dst (u16)¶

byte-order:

big-endian

vxlan-opts (nest)¶

nested-attributes:

vxlan-ext-attrs

ipv6-src (binary)¶

doc:

struct in6_addr source IPv6 address

ipv6-dst (binary)¶

doc:

struct in6_addr destination IPv6 address

pad (binary)¶

erspan-opts (binary)¶

doc:

struct erspan_metadata

ipv4-info-bridge (flag)¶

check-pkt-len-attrs¶

pkt-len (u16)¶

actions-if-greater (nest)¶

nested-attributes:

action-attrs

actions-if-less-equal (nest)¶

nested-attributes:

action-attrs

sample-attrs¶

probability (u32)¶

actions (nest)¶

nested-attributes:

action-attrs

userspace-attrs¶

pid (u32)¶

userdata (binary)¶

egress-tun-port (u32)¶

actions (flag)¶

ovs-nsh-key-attrs¶

base (binary)¶

md1 (binary)¶

md2 (binary)¶

ct-attrs¶

commit (flag)¶

zone (u16)¶

mark (binary)¶

labels (binary)¶

helper (string)¶

nat (nest)¶

nested-attributes:

nat-attrs

force-commit (flag)¶

eventmask (u32)¶

timeout (string)¶

nat-attrs¶

src (flag)¶

dst (flag)¶

ip-min (binary)¶

ip-max (binary)¶

proto-min (u16)¶

proto-max (u16)¶

persistent (flag)¶

proto-hash (flag)¶

proto-random (flag)¶

dec-ttl-attrs¶

action (nest)¶

nested-attributes:

action-attrs

vxlan-ext-attrs¶

gbp (u32)¶

psample-attrs¶

group (u32)¶

cookie (binary)¶

Previous Next

© Copyright The kernel development community.

Built with Sphinx using a theme provided by Read the Docs.