Class: Ifconf::TunnelLinkLayer
- Defined in:
- lib/ifconf/tunnel_link_layer.rb
Overview
Link layer for IPIP and IPv6-in-IPv4 tunnel interfaces.
Instance Attribute Summary
Attributes inherited from LinkLayer
#encapsulation, #hardware_addr, #tx_queue_len
Instance Method Summary collapse
-
#initialize(tx_queue_len: nil) ⇒ TunnelLinkLayer
constructor
A new instance of TunnelLinkLayer.
Methods inherited from LinkLayer
Constructor Details
#initialize(tx_queue_len: nil) ⇒ TunnelLinkLayer
Returns a new instance of TunnelLinkLayer.
4 5 6 |
# File 'lib/ifconf/tunnel_link_layer.rb', line 4 def initialize(tx_queue_len: nil, **) super(encapsulation: :tunnel, hardware_addr: nil, tx_queue_len: tx_queue_len) end |