russdill / lwip-nat

lwIP DNAT support
11 stars 5 forks source link

Excuse me, Can you tell me where the function is called? #4

Open git-binbin opened 4 years ago

git-binbin commented 4 years ago

ip4_input_nat.c : err_t ip4_input_nat(struct pbuf p, struct netif inp);

russdill commented 4 years ago

It needs to be used as LWIP_HOOK_IP4_INPUT, which is called from ip4_input