Debian Codegraph @

keama/tests/packetdx4.notyet

raw
1 # packet data expression
2 # Kea has no raw packet extractor in libeval
3
4 # authoritative is mandatory
5 authoritative;
6
7 # empty configs are not accepted by Kea
8 default-lease-time 1800;
9
10 # pretty standard hardware superclass extracting the Ethernet address directly
11 class "byhw" {
12 match packet(28, 6);
13 }
14
15 subclass "byhw" 00:07:0E:36:48:19 {
16 option host-name "test1";
17 }
18
19 # raw
20 option host-name = binary-to-ascii(16, 8, "-", packet(28, 6));