| 199 | |
| 200 | #ifdef ROUTE_MPATH |
| 201 | static bool |
| 202 | rib_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. |