Class: Trema::SetTransportDstPort
- Inherits:
-
SetTransportPort
- Object
- Action
- SetTransportPort
- Trema::SetTransportDstPort
- Defined in:
- ruby/trema/set-transport-dst-port.rb
Overview
An action to modify the destination TCP/UDP port of a packet.
Instance Attribute Summary
Attributes inherited from SetTransportPort
Instance Method Summary (collapse)
-
- (SetTransportDstPort) initialize(port_number)
constructor
Creates an action to modify the destination TCP/UDP port of a packet.
Constructor Details
- (SetTransportDstPort) initialize(port_number)
Creates an action to modify the destination TCP/UDP port of a packet.
39 40 41 |
# File 'ruby/trema/set-transport-dst-port.rb', line 39 def initialize port_number super port_number end |