lwip_hook_ip4_input.h 376 B

1234567891011121314151617181920
  1. /*
  2. * lwip_hook_ip4_input.h
  3. *
  4. * Created on: 20.05.2019
  5. * Author: balbekova
  6. */
  7. #ifndef LWIP_HOOK_IP4_INPUT_H_
  8. #define LWIP_HOOK_IP4_INPUT_H_
  9. #include "lwip/pbuf.h"
  10. #include "lwip/netif.h"
  11. int ip_input_hook(struct pbuf *p, struct netif *inp);
  12. #define LWIP_HOOK_IP4_INPUT(pbuf, input_netif) ip_input_hook(pbuf, input_netif)
  13. //
  14. #endif /* LWIP_HOOK_IP4_INPUT_H_ */