xref: /titanic_41/usr/src/cmd/ipf/lib/common/printhostmap.c (revision 25cf1a301a396c38e8adf52c15f537b80d2483f7)
1 #include "ipf.h"
2 
3 void printhostmap(hmp, hv)
4 hostmap_t *hmp;
5 u_int hv;
6 {
7 	printf("%s,", inet_ntoa(hmp->hm_srcip));
8 	printf("%s -> ", inet_ntoa(hmp->hm_dstip));
9 	printf("%s ", inet_ntoa(hmp->hm_mapip));
10 	printf("(use = %d hv = %u)\n", hmp->hm_ref, hv);
11 }
12