From 48868ef3f5a50ee67a6cd4f4c6d56a06781af969 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 21 Nov 2024 18:35:44 +0100 Subject: Adding upstream version 0.5. Signed-off-by: Daniel Baumann --- scramble_wlw.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 scramble_wlw.h (limited to 'scramble_wlw.h') diff --git a/scramble_wlw.h b/scramble_wlw.h new file mode 100644 index 0000000..099d271 --- /dev/null +++ b/scramble_wlw.h @@ -0,0 +1,16 @@ +#ifndef _SCRAMBLE_WLW_H_ +#define _SCRAMBLE_WLW_H_ + +#include +#include + +typedef uint32_t (*scrambler_ip4_t)(uint32_t, int); +typedef void (*scrambler_ip6_t)(struct in6_addr *, int); + +void scramble_wlw_init(const char *, scrambler_ip4_t s4, scrambler_ip6_t); +void scramble_wlw_clear(); + +uint32_t scramble_wlw_v4(uint32_t, int); +void scramble_wlw_v6(struct in6_addr *, int); + +#endif /* _SCRAMBLE_WLW_H */ -- cgit v1.2.3