M_VLAN
#define G_VLAN(x) (((x) >> S_VLAN) & M_VLAN)
ifv = malloc(sizeof(struct ifvlan), M_VLAN, M_WAITOK | M_ZERO);
free(ifv, M_VLAN);
free(ifv, M_VLAN);
M_VLAN, M_WAITOK | M_ZERO);
static MALLOC_DEFINE(M_VLAN, vlanname, "802.1Q Virtual LAN Interface");
vst = malloc(sizeof(*vst), M_VLAN, M_NOWAIT);
free(vst, M_VLAN);
free(vst, M_VLAN);
free(mc, M_VLAN);
trunk->hash = malloc(sizeof(struct ifvlanhead) * n, M_VLAN, M_WAITOK);
free(trunk->hash, M_VLAN);
hash2 = malloc(sizeof(struct ifvlanhead) * n2, M_VLAN, M_WAITOK);
free(trunk->hash, M_VLAN);
free(trunk, M_VLAN);
mc = malloc(sizeof(struct vlan_mc_entry), M_VLAN, M_NOWAIT);