1# simplified hardware data expression 2 3# hardware type class 4class "ethernet" { 5 match if substring(hardware, 0, 1) = encode-int(1, 8); 6} 7 8# ethernet address superclass 9class "ethernet-address" { 10 match substring(hardware, 1, 6); 11} 12 13subclass "ethernet-address" 00:0B:FD:32:E6:FA { } 14