Rivoreo Source Code Repositories
src.rivoreo.one
/
net
/
ipfilter
/
f1bfecffbe415f749220c6befcf2a1b4a395de36
/
.
/
lib
/
printhostmap.c
blob: 79d65d412d98f0ae5e7eebace3f1d0fd17fd3285 [
file
] [
log
] [
blame
] [
raw
]
#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
);
}