Module: PacketGen::Inject Private
- Defined in:
- lib/packetgen/inject.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Module to inject packets on wire
Class Method Summary collapse
-
.inject(iface:, data:) ⇒ void
private
Inject given data onto wire.
Class Method Details
.inject(iface:, data:) ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This method returns an undefined value.
Inject given data onto wire
20 21 22 |
# File 'lib/packetgen/inject.rb', line 20 def self.inject(iface:, data:) PCAPRUBWrapper.inject(iface: iface, data: data.to_s) end |