#include "ipf.h"
/*
* This is meant to work without the IPv6 header files being present or
* the inet_ntop() library.
*/
{
p = buf[6];
flow &= 0xfffff;
printf(" %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x",
if (plen >= 4)
if (p == IPPROTO_TCP || p == IPPROTO_UDP)
printf(" >");
addrs += 8;
printf(" %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x",
if (plen >= 4)
if (p == IPPROTO_TCP || p == IPPROTO_UDP)
putchar('\n');
}