<model>
    <mount>:memory:</mount>
    <version>1.0.1</version>
    <description>OPNsense Packet Capture</description>
    <items>
        <settings>
            <interface type=".\InterfaceField">
                <Required>Y</Required>
                <AllowDynamic>Y</AllowDynamic>
                <Multiple>Y</Multiple>
            </interface>
            <description type="DescriptionField"/>
            <promiscuous type="BooleanField">
              <Default>0</Default>
              <Required>Y</Required>
            </promiscuous>
            <fam type="OptionField">
                <Required>Y</Required>
                <OptionValues>
                    <any>any</any>
                    <ip>IPv4 Only</ip>
                    <ip6>IPv6 Only</ip6>
                    <arp>Arp</arp>
                </OptionValues>
            </fam>
            <protocol_not type="BooleanField">
                <Default>0</Default>
                <Required>Y</Required>
            </protocol_not>
            <protocol type="ProtocolField">
                <Required>Y</Required>
                <Default>any</Default>
            </protocol>
            <host type=".\HostField"/>
            <port_not type="BooleanField">
                <Default>0</Default>
                <Required>Y</Required>
            </port_not>
            <port type="IntegerField">
                <MinimumValue>1</MinimumValue>
                <MaximumValue>65535</MaximumValue>
            </port>
            <snaplen type="IntegerField">
                <MinimumValue>1</MinimumValue>
                <MaximumValue>262144</MaximumValue>
            </snaplen>
            <count type="IntegerField">
                <Required>Y</Required>
                <Default>100</Default>
                <MinimumValue>0</MinimumValue>
            </count>
        </settings>
    </items>
</model>
