projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a29e6b4
)
Remove unused struct fields.
author
Kirill Isakov
<is-kir@ya.ru>
Thu, 29 Jul 2021 17:18:32 +0000
(23:18 +0600)
committer
Kirill Isakov
<is-kir@ya.ru>
Thu, 29 Jul 2021 17:56:39 +0000
(23:56 +0600)
src/connection.h
patch
|
blob
|
history
src/node.h
patch
|
blob
|
history
diff --git
a/src/connection.h
b/src/connection.h
index
206417b
..
bddcee2
100644
(file)
--- a/
src/connection.h
+++ b/
src/connection.h
@@
-89,9
+89,7
@@
typedef struct connection_t {
ecdsa_t *ecdsa; /* his public ECDSA key */
sptps_t sptps;
- int inmaclength;
int outmaclength;
- int incompression;
int outcompression;
char *hischallenge; /* The challenge we sent to him */
diff --git
a/src/node.h
b/src/node.h
index
1b33789
..
fc872d3
100644
(file)
--- a/
src/node.h
+++ b/
src/node.h
@@
-86,8
+86,6
@@
typedef struct node_t {
uint32_t sent_seqno; /* Sequence number last sent to this node */
uint32_t received_seqno; /* Sequence number last received from this node */
uint32_t received; /* Total valid packets received from this node */
- uint32_t prev_received_seqno;
- uint32_t prev_received;
uint32_t farfuture; /* Packets in a row that have arrived from the far future */
unsigned char *late; /* Bitfield marking late packets */