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

Function get_family_dp_ptr

freebsd/net/route/fib_algo.c:1297–1307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1295}
1296
1297static struct fib_dp **
1298get_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

Callers 3

attach_datapathFunction · 0.85
fib_grow_rtablesFunction · 0.85
fib_select_algo_initialFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected