summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ipf/lib/common/printhostmap.c
blob: 59b86d6b75a40a748387471f4fb9ad098f62d14f (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "ipf.h"

void printhostmap(hmp, hv)
hostmap_t *hmp;
u_int hv;       
{
	printf("%s,", inet_ntoa(hmp->hm_srcip));
	printf("%s -> ", inet_ntoa(hmp->hm_dstip));
	printf("%s ", inet_ntoa(hmp->hm_mapip));
	printf("(use = %d hv = %u)\n", hmp->hm_ref, hv);
}