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

Function if_getmtu_family

freebsd/net/if.c:4218–4229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4216}
4217
4218int
4219if_getmtu_family(if_t ifp, int family)
4220{
4221 struct domain *dp;
4222
4223 for (dp = domains; dp; dp = dp->dom_next) {
4224 if (dp->dom_family == family && dp->dom_ifmtu != NULL)
4225 return (dp->dom_ifmtu((struct ifnet *)ifp));
4226 }
4227
4228 return (((struct ifnet *)ifp)->if_mtu);
4229}
4230
4231/*
4232 * Methods for drivers to access interface unicast and multicast

Callers 1

rt_updatemtuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected