:py:mod:`flow.record.fieldtypes.net.ipv4` ========================================= .. py:module:: flow.record.fieldtypes.net.ipv4 Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: flow.record.fieldtypes.net.ipv4.subnet flow.record.fieldtypes.net.ipv4.SubnetList flow.record.fieldtypes.net.ipv4.address Attributes ~~~~~~~~~~ .. autoapisummary:: flow.record.fieldtypes.net.ipv4.Address flow.record.fieldtypes.net.ipv4.Subnet .. py:class:: subnet(addr, netmask=None) Bases: :py:obj:`flow.record.FieldType` .. py:attribute:: net .. py:attribute:: mask .. py:method:: __contains__(addr) .. py:method:: __str__() Return str(self). .. py:method:: __repr__() Return repr(self). .. py:class:: SubnetList .. py:attribute:: subnets .. py:method:: load(path) .. py:method:: add(subnet) .. py:method:: __contains__(addr) .. py:class:: address(addr) Bases: :py:obj:`flow.record.FieldType` .. py:attribute:: val .. py:method:: __eq__(b) Return self==value. .. py:method:: __str__() Return str(self). .. py:method:: __repr__() Return repr(self). .. py:data:: Address .. py:data:: Subnet