849 |
| Known_location (ip,port) -> Ip.to_string ip |
| Known_location (ip,port) -> Ip.to_string ip |
850 |
| _ -> "firewalled" |
| _ -> "firewalled" |
851 |
with _ -> "" |
with _ -> "" |
852 |
|
|
853 |
|
type brand_stat = { |
854 |
|
mutable brand_seen : int; |
855 |
|
mutable brand_banned : int; |
856 |
|
mutable brand_filerequest : int; |
857 |
|
mutable brand_download : Int64.t; |
858 |
|
mutable brand_upload : Int64.t; |
859 |
|
} |
860 |
|
|
861 |
|
let dummy_stats = |
862 |
|
{ |
863 |
|
brand_seen = 0; |
864 |
|
brand_banned = 0; |
865 |
|
brand_filerequest = 0; |
866 |
|
brand_download = 0L; |
867 |
|
brand_upload = 0L; |
868 |
|
} |