Sync usage with man page.
[netbsd-mini2440.git] / dist / ipf / lib / printtqtable.c
blob90937519dbd52d6c2fd80de1b80456364ee11a5e
1 /* $NetBSD$ */
3 /*
4 * Copyright (C) 2007 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
7 */
9 #include <fcntl.h>
10 #include <sys/ioctl.h>
11 #include "ipf.h"
14 void printtqtable(table)
15 ipftq_t *table;
17 int i;
19 printf("TCP Entries per state\n");
20 for (i = 0; i < IPF_TCP_NSTATES; i++)
21 printf(" %5d", i);
22 printf("\n");
24 for (i = 0; i < IPF_TCP_NSTATES; i++)
25 printf(" %5d", table[i].ifq_ref - 1);
26 printf("\n");