X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=examples%2Fhop_table.pl;fp=examples%2Fhop_table.pl;h=7bb647ff633f56c0b07386b339da076e1a7797cd;hb=0565e35bbb112b94c89f693dcb74ac7efa9e424a;hp=0000000000000000000000000000000000000000;hpb=cce161221036760959ff1d0b7628a55942bf558a;p=spider.git diff --git a/examples/hop_table.pl b/examples/hop_table.pl new file mode 100644 index 00000000..7bb647ff --- /dev/null +++ b/examples/hop_table.pl @@ -0,0 +1,36 @@ +# +# hop table construction +# + +package DXProt; + +# default hopcount to use +$def_hopcount = 15; + +# some variable hop counts based on message type +%hopcount = +( + 11 => 10, + 16 => 10, + 17 => 10, + 19 => 10, + 21 => 10, +); + +# +# the per node hop control thingy +# + +%nodehops = +( + GB7DJK => { + 16 => 23, + 17 => 23, + }, + GB7TLH => { + 19 => 99, + 21 => 99, + 16 => 99, + 17 => 99, + } +);