diff options
author | Sverker Eriksson <[email protected]> | 2019-03-20 15:42:34 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2019-03-22 19:40:36 +0100 |
commit | bd8f6106d44a58c261920eef72842bb3bc5a4968 (patch) | |
tree | 7472e2c80a2ee885cfcf767b0cb541a3417c0fd6 /erts/emulator/beam/big.h | |
parent | e2cf4a8a4b03b9f430ba228276c3b2629159e832 (diff) | |
download | otp-bd8f6106d44a58c261920eef72842bb3bc5a4968.tar.gz otp-bd8f6106d44a58c261920eef72842bb3bc5a4968.tar.bz2 otp-bd8f6106d44a58c261920eef72842bb3bc5a4968.zip |
epmd: Support 32-bit creation values in local node
* Increase distribution version from 5 to 6
* Introduce new ALIVE2_X_RESP with 32-bit creation
as reply to ALIVE2_REQ when sender dist version >= 6
* Still reply old ALIVE2_RESP with tiny creation 1..3
if sender dist version < 6.
Diffstat (limited to 'erts/emulator/beam/big.h')
-rw-r--r-- | erts/emulator/beam/big.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/big.h b/erts/emulator/beam/big.h index ad19cce395..3fed076419 100644 --- a/erts/emulator/beam/big.h +++ b/erts/emulator/beam/big.h @@ -168,6 +168,8 @@ Eterm erts_uint64_array_to_big(Uint **, int, int, Uint64 *); int term_to_Uint64(Eterm, Uint64*); int term_to_Sint64(Eterm, Sint64*); #endif +int term_to_Uint32(Eterm, Uint32*); + Uint32 big_to_uint32(Eterm b); int term_equals_2pow32(Eterm); |