| 1295 | } |
| 1296 | |
| 1297 | static struct fib_dp ** |
| 1298 | get_family_dp_ptr(int family) |
| 1299 | { |
| 1300 | switch (family) { |
| 1301 | case AF_INET: |
| 1302 | return (&V_inet_dp); |
| 1303 | case AF_INET6: |
| 1304 | return (&V_inet6_dp); |
| 1305 | } |
| 1306 | return (NULL); |
| 1307 | } |
| 1308 | |
| 1309 | /* |
| 1310 | * Make datapath use fib instance @fd |
no outgoing calls
no test coverage detected