added icmp_send function and moved rpl input function signature
This commit is contained in:
parent
dc1a5f70ff
commit
167b0d636e
3 changed files with 54 additions and 9 deletions
|
@ -41,7 +41,7 @@
|
|||
*
|
||||
* This file is part of the uIP TCP/IP stack.
|
||||
*
|
||||
* $Id: uip6.c,v 1.18 2010/04/30 08:46:27 joxe Exp $
|
||||
* $Id: uip6.c,v 1.19 2010/04/30 13:22:21 joxe Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -94,6 +94,10 @@
|
|||
#define PRINT6ADDR(addr)
|
||||
#endif
|
||||
|
||||
#if UIP_CONF_IPV6_RPL
|
||||
void uip_rpl_input(void);
|
||||
#endif /* UIP_CONF_IPV6_RPL */
|
||||
|
||||
#if UIP_LOGGING == 1
|
||||
#include <stdio.h>
|
||||
void uip_log(char *msg);
|
||||
|
@ -1404,8 +1408,15 @@ uip_process(u8_t flag)
|
|||
}
|
||||
}
|
||||
PRINTF("udp: no matching connection found\n");
|
||||
|
||||
#if UIP_UDP_SEND_UNREACH_NOPORT
|
||||
uip_icmp6_error_output(ICMP6_DST_UNREACH, ICMP6_DST_UNREACH_NOPORT, 0);
|
||||
UIP_STAT(++uip_stat.ip.drop);
|
||||
goto send;
|
||||
#else
|
||||
goto drop;
|
||||
|
||||
#endif
|
||||
|
||||
udp_found:
|
||||
PRINTF("In udp_found\n");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue