fixtures/ethernet_header/vlan_ethernet_header.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

[
  0xff, 0xff, 0xff, 0xff, 0xff, 0xff, # destination_mac
  0x00, 0x26, 0x82, 0xeb, 0xea, 0xd1, # source_mac
  0x81, 0x00, # ether_type
  0b101_0_000001100100, # vlan_pcp, vlan_cfi, vlan_vid
  0x81, 0x00, # ether_type_vlan
].pack('C14nC2')