printpacket.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* Copyright (C) 1993-2001 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*
* $Id: printpacket.c,v 1.12 2002/11/02 13:27:29 darrenr Exp $
*/
#include "ipf.h"
#ifndef IP_OFFMASK
# define IP_OFFMASK 0x3fff
#endif
void printpacket(ip)
{
else
u_char *s;
int i;
if (len - i > 1) {
i++;
}
putchar(' ');
}
putchar('\n');
return;
}
return;
}
printf(" > ");
putchar(' ');
putchar('F');
putchar('S');
putchar('R');
putchar('P');
putchar('A');
putchar('U');
putchar('E');
putchar('C');
}
}
putchar('\n');
}