Remove unused struct fields.
authorKirill Isakov <is-kir@ya.ru>
Thu, 29 Jul 2021 17:18:32 +0000 (23:18 +0600)
committerKirill Isakov <is-kir@ya.ru>
Thu, 29 Jul 2021 17:56:39 +0000 (23:56 +0600)
src/connection.h
src/node.h

index 206417b..bddcee2 100644 (file)
@@ -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 */
index 1b33789..fc872d3 100644 (file)
@@ -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 */