repo.or.cz
/
unleashed
/
lotheac.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge remote-tracking branch 'origin/master'
[unleashed/lotheac.git]
/
usr
/
src
/
cmd
/
ipf
/
lib
/
common
/
printhostmap.c
blob
59b86d6b75a40a748387471f4fb9ad098f62d14f
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
}