def METHOD_NAME(
    self,
    mark=None,
    mark_mask=0xFFFFFFFF,
    tuple_orig=None,
    tuple_reply=None,
):
    """
    Dump all entries from conntrack table with filters
    Filters can be only part of a conntrack tuple
    :param NFCTAttrTuple tuple_orig: filter on original tuple
    :param NFCTAttrTuple tuple_reply: filter on reply tuple
    Examples::
        # Filter only on tcp connections
        for entry in ct.dump_entries(tuple_orig=NFCTAttrTuple(
                                         proto=socket.IPPROTO_TCP)):
            print("This entry is tcp: {}".format(entry))
        # Filter only on icmp message to 8.8.8.8
        for entry in ct.dump_entries(tuple_orig=NFCTAttrTuple(
                                         proto=socket.IPPROTO_ICMP,
                                         daddr='8.8.8.8')):
            print("This entry is icmp to 8.8.8.8: {}".format(entry))
    """
    for ndmsg in self.dump(
        mark=mark,
        mark_mask=mark_mask,
        tuple_orig=tuple_orig,
        tuple_reply=tuple_reply,
    ):
        if tuple_orig is not None and not tuple_orig.nla_eq(
            ndmsg['nfgen_family'], ndmsg.get_attr('CTA_TUPLE_ORIG')
        ):
            continue
        if tuple_reply is not None and not tuple_reply.nla_eq(
            ndmsg['nfgen_family'], ndmsg.get_attr('CTA_TUPLE_REPLY')
        ):
            continue
        yield ConntrackEntry(
            ndmsg['nfgen_family'],
            ndmsg.get_attr('CTA_TUPLE_ORIG'),
            ndmsg.get_attr('CTA_TUPLE_REPLY'),
            ndmsg.get_attr('CTA_STATUS'),
            ndmsg.get_attr('CTA_TIMEOUT'),
            ndmsg.get_attr('CTA_PROTOINFO'),
            ndmsg.get_attr('CTA_MARK'),
            ndmsg.get_attr('CTA_ID'),
            ndmsg.get_attr('CTA_USE'),
        )