projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add configurable experation time for invitations.
[tinc]
/
src
/
connection.h
diff --git
a/src/connection.h
b/src/connection.h
index
b41cf46
..
acd77bc
100644
(file)
--- a/
src/connection.h
+++ b/
src/connection.h
@@
-59,9
+59,9
@@
typedef struct connection_status_t {
typedef struct connection_t {
char *name; /* name he claims to have */
typedef struct connection_t {
char *name; /* name he claims to have */
+ char *hostname; /* the hostname of its real ip */
union sockaddr_t address; /* his real (internet) ip */
union sockaddr_t address; /* his real (internet) ip */
- char *hostname; /* the hostname of its real ip */
int protocol_major; /* used protocol */
int protocol_minor; /* used protocol */
int protocol_major; /* used protocol */
int protocol_minor; /* used protocol */
@@
-81,6
+81,8
@@
typedef struct connection_t {
cipher_t *outcipher; /* Cipher we will use to send data to him */
digest_t *indigest;
digest_t *outdigest;
cipher_t *outcipher; /* Cipher we will use to send data to him */
digest_t *indigest;
digest_t *outdigest;
+ uint64_t inbudget;
+ uint64_t outbudget;
#endif
ecdsa_t *ecdsa; /* his public ECDSA key */
#endif
ecdsa_t *ecdsa; /* his public ECDSA key */