aboutsummaryrefslogtreecommitdiff
path: root/lib/crc32.c
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2007-03-20 12:26:51 -0300
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-25 22:26:42 -0700
commit6b811d43f6cc9eccdfc011a99f8571df2abc46d1 (patch)
tree58e7f27415faf9ad6761bab6e51a7003139190f9 /lib/crc32.c
parent8b5be26831b973d8013e8b4c9860d9694310cdc6 (diff)
[DCCP]: 48-bit sequence number arithmetic
This patch * organizes the sequence arithmetic functions into one corner of dccp.h * performs a small modification of dccp_set_seqno to make it more widely reusable (now it is safe to use any number, since it performs modulo-2^48 assignment) * adds functions and generic macros for 48-bit sequence arithmetic: --48 bit complement --modulo-48 addition and modulo-48 subtraction --dccp_inc_seqno now a special case of add48 Constants renamed following a suggestion by Arnaldo. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/crc32.c')
0 files changed, 0 insertions, 0 deletions