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

Function nd6_setmtu

freebsd/netinet6/nd6.c:334–341  ·  view source on GitHub ↗

* Reset ND level link MTU. This function is called when the physical MTU * changes, which means we might have to adjust the ND level MTU. */

Source from the content-addressed store, hash-verified

332 * changes, which means we might have to adjust the ND level MTU.
333 */
334void
335nd6_setmtu(struct ifnet *ifp)
336{
337 if (ifp->if_afdata[AF_INET6] == NULL)
338 return;
339
340 nd6_setmtu0(ifp, ND_IFINFO(ifp));
341}
342
343/* XXX todo: do not maintain copy of ifp->if_mtu in ndi->maxmtu */
344void

Callers 4

ifhwioctlFunction · 0.85
lagg_ioctlFunction · 0.85
bridge_ioctlFunction · 0.85
vlan_ioctlFunction · 0.85

Calls 1

nd6_setmtu0Function · 0.85

Tested by

no test coverage detected