Class: OFPacketIn

Inherits:
OFMessage show all
Defined in:
lib/messages/packet_in.rb

Constant Summary collapse

REASONS =
[:no_match, :action]

Constants inherited from OFMessage

OFMessage::HEADER_LENGTH, OFMessage::OFP_VERSION, OFMessage::TYPES

Instance Attribute Summary

Attributes inherited from SuperclassBase

#type_str

Instance Method Summary collapse

Methods inherited from SuperclassBase

#initialize_instance

Instance Method Details

#body_lengthObject



14
15
16
# File 'lib/messages/packet_in.rb', line 14

def body_length
  10 + data.length
end