From 04c786917fec786412ccc72dfd66980d1696910d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Fri, 1 Jul 2022 10:33:59 +0200 Subject: [PATCH] lib/utils: drop long unused parts --- lib/utils.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/utils.h b/lib/utils.h index c3661d361..30ed4c49d 100644 --- a/lib/utils.h +++ b/lib/utils.h @@ -405,13 +405,6 @@ static inline bool kr_sockaddr_link_local(const struct sockaddr *addr) return kr_bitcmp((char *) ip6->sin6_addr.s6_addr, (char *) prefix, 10) == 0; } -/** @internal RR map flags. */ -static const uint8_t KEY_FLAG_RRSIG = 0x02; -static inline uint8_t KEY_FLAG_RANK(const char *key) - { return ((uint8_t)(key[0])) >> 2; } -static inline bool KEY_COVERING_RRSIG(const char *key) - { return ((uint8_t)(key[0])) & KEY_FLAG_RRSIG; } - /* Stash key = {[5] class, [1-255] owner, [5] type, [5] additional, [1] \x00 } */ #define KR_RRKEY_LEN (16 + KNOT_DNAME_MAXLEN) /** Create unique null-terminated string key for RR. -- 2.47.2