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

Function attach_datapath

freebsd/net/route/fib_algo.c:1312–1319  ·  view source on GitHub ↗

* Make datapath use fib instance @fd */

Source from the content-addressed store, hash-verified

1310 * Make datapath use fib instance @fd
1311 */
1312static enum flm_op_result
1313attach_datapath(struct fib_data *fd)
1314{
1315 struct fib_dp **pdp;
1316
1317 pdp = get_family_dp_ptr(fd->fd_family);
1318 return (replace_rtables_family(pdp, fd));
1319}
1320
1321/*
1322 * Grow datapath pointers array.

Callers 1

setup_fd_instanceFunction · 0.85

Calls 2

get_family_dp_ptrFunction · 0.85
replace_rtables_familyFunction · 0.85

Tested by

no test coverage detected