1*7c478bd9Sstevel@tonic-gate #include "ipf.h"
2*7c478bd9Sstevel@tonic-gate 
printhostmap(hmp,hv)3*7c478bd9Sstevel@tonic-gate void printhostmap(hmp, hv)
4*7c478bd9Sstevel@tonic-gate hostmap_t *hmp;
5*7c478bd9Sstevel@tonic-gate u_int hv;
6*7c478bd9Sstevel@tonic-gate {
7*7c478bd9Sstevel@tonic-gate 	printf("%s,", inet_ntoa(hmp->hm_srcip));
8*7c478bd9Sstevel@tonic-gate 	printf("%s -> ", inet_ntoa(hmp->hm_dstip));
9*7c478bd9Sstevel@tonic-gate 	printf("%s ", inet_ntoa(hmp->hm_mapip));
10*7c478bd9Sstevel@tonic-gate 	printf("(use = %d hv = %u)\n", hmp->hm_ref, hv);
11*7c478bd9Sstevel@tonic-gate }
12