More flexibility for the fallback interface.
When there's a failure to send a packet in the fallback interface the destination is unreachable and therefore the source should be notified.
This commit is contained in:
parent
aecb591d12
commit
b3f6019924
2 changed files with 17 additions and 2 deletions
|
@ -1429,7 +1429,13 @@ extern struct uip_udp_conn uip_udp_conns[UIP_UDP_CONNS];
|
|||
|
||||
struct uip_fallback_interface {
|
||||
void (*init)(void);
|
||||
void (*output)(void);
|
||||
/**
|
||||
* \retval >=0
|
||||
* in case of success
|
||||
* \retval <0
|
||||
* in case of failure
|
||||
*/
|
||||
int (*output)(void);
|
||||
};
|
||||
|
||||
#if UIP_CONF_ICMP6
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue