mirror of
git://erdgeist.org/opentracker
synced 2025-01-15 01:12:07 +00:00
Introduce the concept of an ot_net into opentracker.
This commit is contained in:
parent
5364ea31ca
commit
6c51fca9a1
@ -14,6 +14,8 @@
|
|||||||
typedef uint8_t ot_hash[20];
|
typedef uint8_t ot_hash[20];
|
||||||
typedef time_t ot_time;
|
typedef time_t ot_time;
|
||||||
typedef char ot_ip6[16];
|
typedef char ot_ip6[16];
|
||||||
|
typedef struct { ot_ip6 address; int bits; }
|
||||||
|
ot_net;
|
||||||
#ifdef WANT_V6
|
#ifdef WANT_V6
|
||||||
#define OT_IP_SIZE 16
|
#define OT_IP_SIZE 16
|
||||||
#define PEERS_BENCODED "6:peers6"
|
#define PEERS_BENCODED "6:peers6"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user