Class: OFPacketOut

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

Constant Summary

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



10
11
12
# File 'lib/messages/packet_out.rb', line 10

def body_length
  8 + actions_length + data.length
end