| 1367 | } |
| 1368 | |
| 1369 | static void |
| 1370 | vlan_lladdr_fn(void *arg, int pending __unused) |
| 1371 | { |
| 1372 | struct ifvlan *ifv; |
| 1373 | struct ifnet *ifp; |
| 1374 | |
| 1375 | ifv = (struct ifvlan *)arg; |
| 1376 | ifp = ifv->ifv_ifp; |
| 1377 | |
| 1378 | CURVNET_SET(ifp->if_vnet); |
| 1379 | |
| 1380 | /* The ifv_ifp already has the lladdr copied in. */ |
| 1381 | if_setlladdr(ifp, IF_LLADDR(ifp), ifp->if_addrlen); |
| 1382 | |
| 1383 | CURVNET_RESTORE(); |
| 1384 | } |
| 1385 | |
| 1386 | static int |
| 1387 | vlan_config(struct ifvlan *ifv, struct ifnet *p, uint16_t vid, |
nothing calls this directly
no test coverage detected