pub unsafe extern "C" fn gnrc_ipv6_nib_ft_get(
dst: *const ipv6_addr_t,
pkt: *mut gnrc_pktsnip_t,
fte: *mut gnrc_ipv6_nib_ft_t,
) -> c_int
Expand description
@brief Gets the best matching forwarding table entry to a destination
@pre (dst != NULL) && (fte != NULL)
@param[in] dst The destination. @param[in] pkt Packet that is supposed to go to that destination (is handed over to a reactive routing protocol if one exists on the interface found and no route is found) @param[out] fte The resulting forwarding table entry.
@return 0, on success. @return -ENETUNREACH, if no route was found.