Method: Pio::Type::EthernetHeader#ethernet_header
- Defined in:
- lib/pio/type/ethernet_header.rb
#ethernet_header(options) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/pio/type/ethernet_header.rb', line 9 def ethernet_header() class_eval do mac_address :destination_mac mac_address :source_mac uint16 :ether_type, value: [:ether_type] end end |