diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2007-03-20 15:26:51 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 05:26:42 (GMT) |
commit | 6b811d43f6cc9eccdfc011a99f8571df2abc46d1 (patch) | |
tree | 58e7f27415faf9ad6761bab6e51a7003139190f9 /Documentation/sched-domains.txt | |
parent | 8b5be26831b973d8013e8b4c9860d9694310cdc6 (diff) | |
download | linux-6b811d43f6cc9eccdfc011a99f8571df2abc46d1.tar.xz |
[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 'Documentation/sched-domains.txt')
0 files changed, 0 insertions, 0 deletions