Class: Nl::Linux::OvsFlow::AttributeSets::KeyAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::OvsFlow::AttributeSets::KeyAttrs
- Defined in:
- nl-linux/generated/nl/linux/ovs_flow.rb
Defined Under Namespace
Classes: Arp, Attribute, CtLabels, CtMark, CtOrigTupleIpv4, CtOrigTupleIpv6, CtState, CtZone, DpHash, Encap, Ethernet, Ethertype, Icmp, Icmpv6, InPort, Ipv4, Ipv6, Ipv6Exthdrs, Mpls, Nd, NdExtensions, Nsh, PacketType, Priority, RecircId, Sctp, SkbMark, Tcp, TcpFlags, Tunnel, TunnelInfo, Udp, Vlan
Constant Summary
Constants inherited from AttributeSet
Class Method Summary collapse
-
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
-
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
Instance Method Summary collapse
-
#arp ⇒ Structs::OvsKeyArp
struct ovs_key_arp.
-
#ct_labels ⇒ String
16-octet connection tracking label.
-
#ct_mark ⇒ Integer
connection tracking mark.
- #ct_orig_tuple_ipv4 ⇒ Structs::OvsKeyCtTupleIpv4
-
#ct_orig_tuple_ipv6 ⇒ String
struct ovs_key_ct_tuple_ipv6.
-
#ct_state ⇒ Integer
Known flags are defined in Flags::CtStateFlags.
-
#ct_zone ⇒ Integer
connection tracking zone.
-
#dp_hash ⇒ Integer
Value 0 indicates the hash is not computed by the datapath.
- #encap ⇒ AttributeSets::KeyAttrs
-
#ethernet ⇒ Structs::OvsKeyEthernet
struct ovs_key_ethernet.
- #ethertype ⇒ Integer
- #icmp ⇒ Structs::OvsKeyIcmp
- #icmpv6 ⇒ Structs::OvsKeyIcmp
- #in_port ⇒ Integer
- #ipv4 ⇒ Structs::OvsKeyIpv4
-
#ipv6 ⇒ Structs::OvsKeyIpv6
struct ovs_key_ipv6.
-
#ipv6_exthdrs ⇒ Structs::OvsKeyIpv6Exthdrs
struct ovs_key_ipv6_exthdr.
- #mpls ⇒ Structs::OvsKeyMpls
-
#nd ⇒ Structs::OvsKeyNd
struct ovs_key_nd.
-
#nd_extensions ⇒ String
Should not be sent to the kernel.
- #nsh ⇒ AttributeSets::OvsNshKeyAttrs
-
#packet_type ⇒ Integer
Should not be sent to the kernel.
- #priority ⇒ Integer
- #recirc_id ⇒ Integer
- #sctp ⇒ Structs::OvsKeySctp
- #skb_mark ⇒ Integer
- #tcp ⇒ Structs::OvsKeyTcp
- #tcp_flags ⇒ Integer
- #tunnel ⇒ AttributeSets::TunnelKeyAttrs
-
#tunnel_info ⇒ String
struct ip_tunnel_info.
- #udp ⇒ Structs::OvsKeyUdp
- #vlan ⇒ Integer
Methods inherited from AttributeSet
#<<, #[], build_attributes, decode, #encode, #initialize
Constructor Details
This class inherits a constructor from Nl::AttributeSet
Class Method Details
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
1284 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1284 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
1290 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1290 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#arp ⇒ Structs::OvsKeyArp
struct ovs_key_arp
1190 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1190 def arp; self[:"arp"]&.value; end |
#ct_labels ⇒ String
16-octet connection tracking label
1244 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1244 def ct_labels; self[:"ct_labels"]&.value; end |
#ct_mark ⇒ Integer
connection tracking mark
1239 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1239 def ct_mark; self[:"ct_mark"]&.value; end |
#ct_orig_tuple_ipv4 ⇒ Structs::OvsKeyCtTupleIpv4
1248 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1248 def ct_orig_tuple_ipv4; self[:"ct_orig_tuple_ipv4"]&.value; end |
#ct_orig_tuple_ipv6 ⇒ String
struct ovs_key_ct_tuple_ipv6
1253 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1253 def ct_orig_tuple_ipv6; self[:"ct_orig_tuple_ipv6"]&.value; end |
#ct_state ⇒ Integer
Known flags are defined in Flags::CtStateFlags.
1229 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1229 def ct_state; self[:"ct_state"]&.value; end |
#ct_zone ⇒ Integer
connection tracking zone
1234 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1234 def ct_zone; self[:"ct_zone"]&.value; end |
#dp_hash ⇒ Integer
Value 0 indicates the hash is not computed by the datapath.
1216 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1216 def dp_hash; self[:"dp_hash"]&.value; end |
#encap ⇒ AttributeSets::KeyAttrs
1139 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1139 def encap; self[:"encap"]&.value; end |
#ethernet ⇒ Structs::OvsKeyEthernet
struct ovs_key_ethernet
1152 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1152 def ethernet; self[:"ethernet"]&.value; end |
#ethertype ⇒ Integer
1160 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1160 def ethertype; self[:"ethertype"]&.value; end |
#icmp ⇒ Structs::OvsKeyIcmp
1181 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1181 def icmp; self[:"icmp"]&.value; end |
#icmpv6 ⇒ Structs::OvsKeyIcmp
1185 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1185 def icmpv6; self[:"icmpv6"]&.value; end |
#in_port ⇒ Integer
1147 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1147 def in_port; self[:"in_port"]&.value; end |
#ipv4 ⇒ Structs::OvsKeyIpv4
1164 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1164 def ipv4; self[:"ipv4"]&.value; end |
#ipv6 ⇒ Structs::OvsKeyIpv6
struct ovs_key_ipv6
1169 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1169 def ipv6; self[:"ipv6"]&.value; end |
#ipv6_exthdrs ⇒ Structs::OvsKeyIpv6Exthdrs
struct ovs_key_ipv6_exthdr
1277 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1277 def ipv6_exthdrs; self[:"ipv6_exthdrs"]&.value; end |
#mpls ⇒ Structs::OvsKeyMpls
1224 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1224 def mpls; self[:"mpls"]&.value; end |
#nd ⇒ Structs::OvsKeyNd
struct ovs_key_nd
1195 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1195 def nd; self[:"nd"]&.value; end |
#nd_extensions ⇒ String
Should not be sent to the kernel
1267 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1267 def nd_extensions; self[:"nd_extensions"]&.value; end |
#nsh ⇒ AttributeSets::OvsNshKeyAttrs
1257 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1257 def nsh; self[:"nsh"]&.value; end |
#packet_type ⇒ Integer
Should not be sent to the kernel
1262 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1262 def packet_type; self[:"packet_type"]&.value; end |
#priority ⇒ Integer
1143 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1143 def priority; self[:"priority"]&.value; end |
#recirc_id ⇒ Integer
1220 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1220 def recirc_id; self[:"recirc_id"]&.value; end |
#sctp ⇒ Structs::OvsKeySctp
1207 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1207 def sctp; self[:"sctp"]&.value; end |
#skb_mark ⇒ Integer
1199 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1199 def skb_mark; self[:"skb_mark"]&.value; end |
#tcp ⇒ Structs::OvsKeyTcp
1173 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1173 def tcp; self[:"tcp"]&.value; end |
#tcp_flags ⇒ Integer
1211 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1211 def tcp_flags; self[:"tcp_flags"]&.value; end |
#tunnel ⇒ AttributeSets::TunnelKeyAttrs
1203 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1203 def tunnel; self[:"tunnel"]&.value; end |
#tunnel_info ⇒ String
struct ip_tunnel_info
1272 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1272 def tunnel_info; self[:"tunnel_info"]&.value; end |
#udp ⇒ Structs::OvsKeyUdp
1177 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1177 def udp; self[:"udp"]&.value; end |
#vlan ⇒ Integer
1156 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1156 def vlan; self[:"vlan"]&.value; end |