Rivoreo Source Code Repositories
src.rivoreo.one
/
net
/
ipfilter
/
cd634538a62e677fdf7571167b38f6e649d01bb7
/
.
/
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
);
}