Sha256: a6bc4f6059da55e58fcc142ea7b1fd0680c8ea7426e495243fbf332835d8948a
Contents?: true
Size: 619 Bytes
Versions: 1
Compression:
Stored size: 619 Bytes
Contents
require 'pio/open_flow/action' require 'pio/open_flow13/match' module Pio module OpenFlow13 # Set a header field. class SetDestinationMacAddress < OpenFlow::Action action_header action_type: 25, action_length: 16 uint16 :oxm_class, value: Match::OXM_CLASS_OPENFLOW_BASIC bit7 :oxm_field, value: Match::DestinationMacAddress::OXM_FIELD bit1 :oxm_hasmask, value: 0 uint8 :oxm_length, value: 6 mac_address :mac_address string :padding, length: 2 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.29.0 | lib/pio/open_flow13/set_destination_mac_address.rb |