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

Function rtioctl_fib

freebsd/net/route.c:249–265  ·  view source on GitHub ↗

* Routing table ioctl interface. */

Source from the content-addressed store, hash-verified

247 * Routing table ioctl interface.
248 */
249int
250rtioctl_fib(u_long req, caddr_t data, u_int fibnum)
251{
252
253 /*
254 * If more ioctl commands are added here, make sure the proper
255 * super-user checks are being performed because it is possible for
256 * prison-root to make it this far if raw sockets have been enabled
257 * in jails.
258 */
259#ifdef INET
260 /* Multicast goop, grrr... */
261 return mrt_ioctl ? mrt_ioctl(req, data, fibnum) : EOPNOTSUPP;
262#else /* INET */
263 return ENXIO;
264#endif /* INET */
265}
266
267struct ifaddr *
268ifa_ifwithroute(int flags, const struct sockaddr *dst,

Callers 1

soo_ioctlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected