Class: Ifconf::UnknownLinkLayer

Inherits:
LinkLayer show all
Defined in:
lib/ifconf/unknown_link_layer.rb

Overview

Link layer for interfaces whose encapsulation type is not recognized.

Instance Attribute Summary

Attributes inherited from LinkLayer

#encapsulation, #hardware_addr, #tx_queue_len

Instance Method Summary collapse

Methods inherited from LinkLayer

#==, build, #hash, #to_s

Constructor Details

#initialize(tx_queue_len: nil) ⇒ UnknownLinkLayer

Returns a new instance of UnknownLinkLayer.



4
5
6
# File 'lib/ifconf/unknown_link_layer.rb', line 4

def initialize(tx_queue_len: nil, **)
  super(encapsulation: :unknown, hardware_addr: nil, tx_queue_len: tx_queue_len)
end