1 # Copyright (c) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>
3 # SPDX-License-Identifier: GPL-2.0-or-later
6 from suite_dfilter
.dfiltertest
import *
9 class TestDfilterBytes
:
10 trace_file
= "arp.pcap"
12 def test_bytes_1(self
, checkDFilterCount
):
13 dfilter
= "arp.dst.hw == 00:64"
14 checkDFilterCount(dfilter
, 1)
16 def test_ipv6_2(self
, checkDFilterCount
):
17 dfilter
= "arp.dst.hw == 00:00"
18 checkDFilterCount(dfilter
, 0)