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