From 6b56dcfb94347af43b0213863b79bcee3530b742 Mon Sep 17 00:00:00 2001 From: rodri Date: Fri, 18 Dec 2020 16:28:05 +0000 Subject: added echo+ support. --- fns.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'fns.h') diff --git a/fns.h b/fns.h index ae1477c..34f9c5a 100644 --- a/fns.h +++ b/fns.h @@ -1,6 +1,13 @@ +/* util */ void sysfatal(char*, ...); void *emalloc(ulong); sockaddr_in *mkinetsa(char*, int); int listentcp(int); int bindudp(int); int acceptcall(int, char*, int); +u32int get32(uchar*); +void put32(uchar*, u32int); + +/* echoplus */ +int getechoplus(UDPEchoPlus*, uchar*); +void putechoplus(UDPEchoPlus*, uchar*); -- cgit v1.2.3