Home
last modified time | relevance | path

Searched refs:COMPLEMENT48 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/dccp/
H A Ddccp.h105 #define COMPLEMENT48(x) (0x1000000000000LL - (x)) /* 2^48 - x */ macro
106 #define TO_SIGNED48(x) (((x) < INT48_MIN)? (x) : -COMPLEMENT48( (x)))
107 #define TO_UNSIGNED48(x) (((x) >= 0)? (x) : COMPLEMENT48(-(x)))
109 #define SUB48(a, b) ADD48((a), COMPLEMENT48(b))