summaryrefslogtreecommitdiff
path: root/proto/rpki/packets.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2018-12-20 15:25:04 +0100
committerMaria Matejka <mq@ucw.cz>2019-02-20 22:30:54 +0100
commitca2ee91a80aa87b7f18898c28e93ff22cebf73d7 (patch)
tree032781a68b0cdf35a9237f96b62b26f55b19b55d /proto/rpki/packets.c
parent7f0ac73724f7383a2bcc229910414d339dbd2434 (diff)
Filter refactoring: The constant f_val is simply included inside the instruction
With 32 bits, size of the args is 12 bytes, the f_val is 20 bytes. With 64 bits, size of the args is 24 bytes, the f_val the same. This is not so nice on 32 bits, anyway the f_inst itself is 24 vs. 32 bytes and the overall size of filters must be 32k of instructions to get to one megabyte of RAM eaten by f_inst. Therefore it seems to be improbable for common user to get into problems with this change.
Diffstat (limited to 'proto/rpki/packets.c')
0 files changed, 0 insertions, 0 deletions