2 * Copyright (C) 2012 by Darren Reed.
4 * See the IPFILTER.LICENCE file for details on licencing.
11 printdstlist(pp, copyfunc, name, opts, nodes, fields)
22 if ((*copyfunc)(pp, &dst, sizeof(dst)))
25 if ((name != NULL) && strncmp(name, dst.ipld_name, FR_GROUPLEN))
29 printdstlistdata(&dst, opts);
31 if ((dst.ipld_flags & IPDST_DELETE) != 0)
33 if ((opts & OPT_DEBUG) == 0)
39 for (node = nodes; node != NULL; ) {
42 n = calloc(1, node->ipfd_size);
45 if ((*copyfunc)(node, n, node->ipfd_size)) {
50 node = printdstlistnode(n, bcopywrap, opts, fields);
56 if ((opts & OPT_DEBUG) == 0)