class PacketGen::BindingError
No known binding
Attributes
hdr[R]
@return [Headerable]
prev_hdr[R]
@return [Headerable]
Public Class Methods
new(prev_hdr, hdr)
click to toggle source
Calls superclass method
# File lib/packetgen.rb, line 34 def initialize(prev_hdr, hdr) super() @prev_hdr = prev_hdr @hdr = hdr end
Public Instance Methods
message()
click to toggle source
# File lib/packetgen.rb, line 40 def message "#{prev_hdr.class} knowns no layer association with #{hdr.protocol_name}. " \ "Try #{prev_hdr.class}.bind_layer(#{hdr.class}, " \ "#{prev_hdr.method_name}_proto_field: " \ "<value_for_#{hdr.method_name}>)" end