This uses 4 bits of space that were lost for alignment.
It doesn't have any direct use, but modules can use it to tag
entries.
_Bool yielded : 1;
_Bool to_wire : 1;
_Bool expiring : 1;
+ uint8_t flags : 4;
knot_rrset_t *rr;
};
typedef struct ranked_rr_array_entry ranked_rr_array_entry_t;
bool yielded : 1;
bool to_wire : 1; /**< whether to be put into the answer */
bool expiring : 1; /**< low remaining TTL; see is_expiring; only used in cache ATM */
+ uint8_t flags : 4; /**< Alignment of the full u8 (can be used for other flags) */
knot_rrset_t *rr;
};
typedef struct ranked_rr_array_entry ranked_rr_array_entry_t;