summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/packet-options.xml.i
blob: cd94e69c22d705f4c76dd6ce6df6f9f990584eec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!-- include start from firewall/packet-options.xml.i -->
<leafNode name="packet-length">
  <properties>
    <help>Payload size in bytes, including header and data to match</help>
    <valueHelp>
      <format>u32:1-65535</format>
      <description>Packet length to match</description>
    </valueHelp>
    <valueHelp>
      <format>&lt;start-end&gt;</format>
      <description>Packet length range to match</description>
    </valueHelp>
    <constraint>
      <validator name="numeric" argument="--allow-range --range 1-65535"/>
    </constraint>
    <multi/>
  </properties>
</leafNode>
<leafNode name="packet-length-exclude">
  <properties>
    <help>Payload size in bytes, including header and data not to match</help>
    <valueHelp>
      <format>u32:1-65535</format>
      <description>Packet length not to match</description>
    </valueHelp>
    <valueHelp>
      <format>&lt;start-end&gt;</format>
      <description>Packet length range not to match</description>
    </valueHelp>
    <constraint>
      <validator name="numeric" argument="--allow-range --range 1-65535"/>
    </constraint>
    <multi/>
  </properties>
</leafNode>
<leafNode name="packet-type">
  <properties>
    <help>Packet type</help>
    <completionHelp>
      <list>broadcast host multicast other</list>
    </completionHelp>
    <valueHelp>
      <format>broadcast</format>
      <description>Match broadcast packet type</description>
    </valueHelp>
    <valueHelp>
      <format>host</format>
      <description>Match host packet type, addressed to local host</description>
    </valueHelp>
    <valueHelp>
      <format>multicast</format>
      <description>Match multicast packet type</description>
    </valueHelp>
    <valueHelp>
      <format>other</format>
      <description>Match packet addressed to another host</description>
    </valueHelp>
    <constraint>
      <regex>(broadcast|host|multicast|other)</regex>
    </constraint>
  </properties>
</leafNode>
<!-- include end -->