summaryrefslogtreecommitdiff
path: root/tools/dftestlib/bytes_ipv6.py
blob: 4736051b9e6476cede335d5ccc8149440ca1b5a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Copyright (c) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>

from dftestlib import dftest

class testBytesIPv6(dftest.DFTest):
    trace_file = "ipv6.cap"

    def test_ipv6_1(self):
        dfilter = "ipv6.dst == ff05::9999"
        self.assertDFilterCount(dfilter, 1)

    def test_ipv6_2(self):
        dfilter = "ipv6.dst == ff05::9990"
        self.assertDFilterCount(dfilter, 0)