NG_HOOK_IS_VALID
v = (unit->drv != NULL && NG_HOOK_IS_VALID(unit->drv));
if (unit->raw != NULL && NG_HOOK_IS_VALID(unit->raw)) {
if (unit->acl != NULL && NG_HOOK_IS_VALID(unit->acl)) {
if (unit->sco != NULL && NG_HOOK_IS_VALID(unit->sco)) {
if (unit->acl != NULL && NG_HOOK_IS_VALID(unit->acl)) {
if (unit->sco != NULL && NG_HOOK_IS_VALID(unit->sco)) {
if (unit->acl != NULL && NG_HOOK_IS_VALID(unit->acl)) {
if (unit->sco != NULL && NG_HOOK_IS_VALID(unit->sco)) {
if (hook != NULL && NG_HOOK_IS_VALID(hook)) {
if (hook != NULL && NG_HOOK_IS_VALID(hook)) {
if (unit->acl != NULL && NG_HOOK_IS_VALID(unit->acl)) {
if (unit->sco != NULL && NG_HOOK_IS_VALID(unit->sco)) {
if (unit->acl != NULL && NG_HOOK_IS_VALID(unit->acl)) {
if (hook != NULL && NG_HOOK_IS_VALID(hook)) {
* if (l2cap->ctl != NULL && NG_HOOK_IS_VALID(l2cap->ctl))
if (NG_HOOK_IS_VALID(hook) &&
if (NG_HOOK_IS_VALID(hook) && (hpriv->cookie == cookie))
NG_HOOK_IS_VALID(priv->vlan_hook[i]))