upleb.uk

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

summaryrefslogtreecommitdiff
path: root/main/lwip_tollgate_hooks.h
blob: 76017bee4c2a54c08682334dab32d04add432f7a (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef LWIP_TOLLGATE_HOOKS_H
#define LWIP_TOLLGATE_HOOKS_H

#include "lwip/pbuf.h"

int tollgate_ip4_canforward_filter(struct pbuf *p, u32_t dest_addr_hostorder);

#define LWIP_HOOK_IP4_CANFORWARD(p, addr) tollgate_ip4_canforward_filter(p, addr)

#endif