Added an API for getting a callback when a ping reply is received.
This commit is contained in:
parent
75cbf4f48a
commit
9114cd3215
3 changed files with 150 additions and 4 deletions
|
@ -1431,7 +1431,8 @@ uip_process(uint8_t flag)
|
|||
uip_icmp6_echo_request_input();
|
||||
break;
|
||||
case ICMP6_ECHO_REPLY:
|
||||
/** \note We don't implement any application callback for now */
|
||||
/** Call echo reply input function. */
|
||||
uip_icmp6_echo_reply_input();
|
||||
PRINTF("Received an icmp6 echo reply\n");
|
||||
UIP_STAT(++uip_stat.icmp.recv);
|
||||
uip_len = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue