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

Function is_algo_fixed

freebsd/net/route/fib_algo.c:1518–1533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1516}
1517
1518static bool
1519is_algo_fixed(struct rib_head *rh)
1520{
1521
1522 switch (rh->rib_family) {
1523#ifdef INET
1524 case AF_INET:
1525 return (V_algo_fixed_inet);
1526#endif
1527#ifdef INET6
1528 case AF_INET6:
1529 return (V_algo_fixed_inet6);
1530#endif
1531 }
1532 return (false);
1533}
1534
1535/*
1536 * Runs the check on what would be the best algo for rib @rh, assuming

Callers 1

rebuild_fdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected