printactivenat.c revision ab25eeb551a4be927a4b6ae2cf8aff7ed17decb4
/*
* Copyright (C) 1993-2001 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*
* Added redirect stuff and a variety of bug fixes. (mcn@EnGarde.com)
*/
#include "ipf.h"
#if !defined(lint)
static const char rcsid[] = "@(#)$Id: printactivenat.c,v 1.3.2.4 2004/05/11 16:07:32 darrenr Exp $";
#endif
int opts;
{
printf(" CLONE");
printf("]");
if (opts & OPT_VERBOSE) {
printf("\n\tage %lu use %hu sumd %s/",
printf("%s pr %u bkt %d/%d flags %x\n",
#ifdef USE_QUAD_T
printf("bytes %qu/%qu pkts %qu/%qu",
#else
#endif
}
printf("\n\tnat_next %p _pnext %p _hm %p\n",
printf("\t_hnext %p/%p _phnext %p/%p\n",
printf("\t_data %p _me %p _state %p _aps %p\n",
printf("\tfr %p ptr %p ifps %p/%p sync %p\n",
printf("\ttqe:pnext %p next %p ifq %p parent %p/%p\n",
printf("\ttqe:die %ld touched %ld flags %x state %d/%d\n",
}
putchar('\n');
}