upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/main/lwip_tollgate_hooks.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/lwip_tollgate_hooks.h')
-rw-r--r--main/lwip_tollgate_hooks.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/lwip_tollgate_hooks.h b/main/lwip_tollgate_hooks.h
new file mode 100644
index 0000000..76017be
--- /dev/null
+++ b/main/lwip_tollgate_hooks.h
@@ -0,0 +1,10 @@
1#ifndef LWIP_TOLLGATE_HOOKS_H
2#define LWIP_TOLLGATE_HOOKS_H
3
4#include "lwip/pbuf.h"
5
6int tollgate_ip4_canforward_filter(struct pbuf *p, u32_t dest_addr_hostorder);
7
8#define LWIP_HOOK_IP4_CANFORWARD(p, addr) tollgate_ip4_canforward_filter(p, addr)
9
10#endif