4 * Copyright (C) 2012 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
15 printfraginfo(char *prefix, struct ipfr *ifr)
21 if (ifr->ipfr_v == 6) {
28 fr.fr_flags = 0xffffffff;
30 PRINTF(" %s -> ", hostname(family, &ifr->ipfr_src));
32 if (kmemcpy((char *)&fr, (u_long)ifr->ipfr_rule,
36 PRINTF("%s id %x ttl %lu pr %d pkts %u bytes %u seen0 %d ref %d\n",
37 hostname(family, &ifr->ipfr_dst), ifr->ipfr_id,
38 ifr->ipfr_ttl, ifr->ipfr_p, ifr->ipfr_pkts, ifr->ipfr_bytes,
39 ifr->ipfr_seen0, ifr->ipfr_ref);