I want to use this function 'LLI_setARPHook' to set a hook function that will be called upon ARP packet reception
the function is like
void fxnARPCallback(void* data) { /* check arp sender ip packet */ } /* inside another task we are using */ void task() { LLI_setARPHook(fxnARPCallback); /*then trigger an arp packet from sender PC by removing the arp entry from pc then ping to this socket in order to look at the sender's arp data packet */ }
so after doing so the callback never called so how can I fix that?