Current Path : /compat/linux/proc/68247/cwd/usr/src/contrib/ipfilter/lib/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/68247/cwd/usr/src/contrib/ipfilter/lib/printtqtable.c |
/* * Copyright (C) 2007 by Darren Reed. * * See the IPFILTER.LICENCE file for details on licencing. */ #include <fcntl.h> #include <sys/ioctl.h> #include "ipf.h" void printtqtable(table) ipftq_t *table; { int i; printf("TCP Entries per state\n"); for (i = 0; i < IPF_TCP_NSTATES; i++) printf(" %5d", i); printf("\n"); for (i = 0; i < IPF_TCP_NSTATES; i++) printf(" %5d", table[i].ifq_ref - 1); printf("\n"); }