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

Function rib_can_multipath

freebsd/net/route/route_ctl.c:201–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199
200#ifdef ROUTE_MPATH
201static bool
202rib_can_multipath(struct rib_head *rh)
203{
204 int result;
205
206 CURVNET_SET(rh->rib_vnet);
207 result = !!V_rib_route_multipath;
208 CURVNET_RESTORE();
209
210 return (result);
211}
212
213/*
214 * Check is nhop is multipath-eligible.

Callers 1

add_routeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected