* 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. */
| 332 | * changes, which means we might have to adjust the ND level MTU. |
| 333 | */ |
| 334 | void |
| 335 | nd6_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 */ |
| 344 | void |
no test coverage detected