MCPcopy Create free account
hub / github.com/F-Stack/f-stack / in6_selectroute

Function in6_selectroute

freebsd/netinet6/in6_src.c:890–898  ·  view source on GitHub ↗

Public wrapper function to selectroute(). */

Source from the content-addressed store, hash-verified

888
889/* Public wrapper function to selectroute(). */
890int
891in6_selectroute(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts,
892 struct ip6_moptions *mopts, struct route_in6 *ro,
893 struct ifnet **retifp, struct nhop_object **retnh, u_int fibnum, uint32_t flowid)
894{
895
896 return (selectroute(dstsock, opts, mopts, ro, retifp,
897 retnh, 0, fibnum, flowid));
898}
899
900/*
901 * Default hop limit selection. The precedence is as follows:

Callers 1

ip6_outputFunction · 0.85

Calls 1

selectrouteFunction · 0.85

Tested by

no test coverage detected