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

Function vlan_trunk_capabilities

freebsd/net/if_vlan.c:1822–1840  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1820}
1821
1822static void
1823vlan_trunk_capabilities(struct ifnet *ifp)
1824{
1825 struct epoch_tracker et;
1826 struct ifvlantrunk *trunk;
1827 struct ifvlan *ifv;
1828
1829 VLAN_SLOCK();
1830 trunk = ifp->if_vlantrunk;
1831 if (trunk == NULL) {
1832 VLAN_SUNLOCK();
1833 return;
1834 }
1835 NET_EPOCH_ENTER(et);
1836 VLAN_FOREACH(ifv, trunk)
1837 vlan_capabilities(ifv);
1838 NET_EPOCH_EXIT(et);
1839 VLAN_SUNLOCK();
1840}
1841
1842static int
1843vlan_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)

Callers

nothing calls this directly

Calls 1

vlan_capabilitiesFunction · 0.85

Tested by

no test coverage detected