summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/ct.t.payload
blob: 21c74581de3ac1d01b3491913410469cececd4fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# meta nfproto ipv4 ct original saddr 1.2.3.4
ip test-ip4 output
  [ meta load nfproto => reg 1 ]
  [ cmp eq reg 1 0x00000002 ]
  [ ct load src => reg 1 , dir original ]
  [ cmp eq reg 1 0x04030201 ]

# meta nfproto ipv6 ct original saddr ::1
inet test-inet input
  [ meta load nfproto => reg 1 ]
  [ cmp eq reg 1 0x0000000a ]
  [ ct load src => reg 1 , dir original ]
  [ cmp eq reg 1 0x00000000 0x00000000 0x00000000 0x01000000 ]