Class: OpenFlow::Protocol::PacketOut

Inherits:
Message show all
Defined in:
lib/openflow-protocol/messages/packet_out.rb

Constant Summary

Constants inherited from Message

Message::HEADER_LENGTH, Message::OFP_VERSION, Message::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



12
13
14
# File 'lib/openflow-protocol/messages/packet_out.rb', line 12

def body_length
  8 + actions_length + data.length
end