Daiki Kato / mbed-os-lychee

Dependents:   mbed-os-example-blinky-gr-lychee GR-Boads_Camera_sample GR-Boards_Audio_Recoder GR-Boads_Camera_DisplayApp ... more

Embed: (wiki syntax)

« Back to documentation index

IPv6

IPv6
[IP]

Modules

 MLD6
 

Multicast listener discovery for IPv6.


Functions

const ip_addr_tip6_select_source_address (struct netif *netif, const ip6_addr_t *dest)
 Select the best IPv6 source address for a given destination IPv6 address.

Function Documentation

const ip_addr_t* ip6_select_source_address ( struct netif netif,
const ip6_addr_t dest 
)

Select the best IPv6 source address for a given destination IPv6 address.

Loosely follows RFC 3484. "Strong host" behavior is assumed.

Parameters:
netifthe netif on which to send a packet
destthe destination we are trying to reach
Returns:
the most suitable source address to use, or NULL if no suitable source address is found

Definition at line 203 of file lwip_ip6.c.