Class: Pio::OpenFlow13::Match::Oxm::PacketRegisters
Overview
Packet Register match field.
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object
1144
1145
1146
|
# File 'lib/pio/open_flow13/match.rb', line 1144
def method_missing(method, *args, &block)
tlv_value.__send__ method, *args, &block
end
|
Instance Method Details
#length ⇒ Object
1136
1137
1138
|
# File 'lib/pio/open_flow13/match.rb', line 1136
def length
tlv_value.length + 2
end
|
#masked? ⇒ Boolean
1140
1141
1142
|
# File 'lib/pio/open_flow13/match.rb', line 1140
def masked?
oxm_hasmask == 1
end
|