Sha256: 5b1db74bb3f34bcadb94a34d67ea9946c5d26a5327f12db68122738f6f7d57dc
Contents?: true
Size: 481 Bytes
Versions: 1
Compression:
Stored size: 481 Bytes
Contents
# frozen_string_literal: true require 'pio/open_flow/action' require 'pio/type/mac_address' module Pio module OpenFlow10 # An action to modify the source Ethernet address of a packet. class SetSourceMacAddress < OpenFlow::Action action_header action_type: 4, action_length: 16 mac_address :mac_address string :padding, length: 6 hide :padding def initialize(mac_address) super mac_address: mac_address end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pio-0.30.2 | lib/pio/open_flow10/set_source_mac_address.rb |