]> git.ipfire.org Git - thirdparty/bird.git/commit
OSPF: Redesign LSA checksumming
authorOndrej Zajicek <santiago@crfreenet.org>
Fri, 1 May 2015 12:40:56 +0000 (14:40 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Fri, 1 May 2015 12:40:56 +0000 (14:40 +0200)
commit77edab640925e8d1131f0d00b41de055129ff99f
treef05040c396f2683f52ebff7adf9575990f219679
parent30d09eb96e8d46143d04285016a137d71a87c416
OSPF: Redesign LSA checksumming

New LSA checksumming code separates generic Fletcher-16 and OSPF-specific
code and avoids back and forth endianity conversions, making it much more
readable and also several times faster.
lib/fletcher16.h [new file with mode: 0644]
proto/ospf/lsalib.c
proto/ospf/lsalib.h
proto/ospf/lsupd.c
proto/ospf/topology.c