Debian Codegraph @

keama/tests/hardware2dx4.out

raw
1 {
2 # simplified hardware data expression
3 # hardware type class
4 "Dhcp4": {
5 "client-classes": [
6 {
7 "name": "ethernet",
8 /// from: match if (substring(hardware, 0, 1)) = (encode-int(1, 8))
9 "test": "substring(pkt4.htype,-1,all) == '\u0001'"
10 },
11 # ethernet address superclass
12 /// match: substring(hardware, 1, 6)
13 {
14 "name": "ethernet-address"
15 },
16 /// subclass selector 0x0x000bfd32e6fa
17 {
18 "name": "sub#ethernet-address#0",
19 /// from: match substring(hardware, 1, 6)
20 /// data: 0x000bfd32e6fa
21 "test": "substring(pkt4.mac,0,6) == 0x000bfd32e6fa"
22 }
23 ]
24 }
25 }