Searched refs:sc_hook (Results 1 – 3 of 3) sorted by relevance
125 hook_p sc_hook; /* pointer to the hook */ member495 if ((sc->sc_hook == NULL) || in udbp_bulk_read_complete()496 NG_HOOK_NOT_VALID(sc->sc_hook)) { in udbp_bulk_read_complete()502 NG_SEND_DATA_ONLY(error, sc->sc_hook, m); in udbp_bulk_read_complete()623 if (sc->sc_hook != NULL) { in ng_udbp_newhook()626 sc->sc_hook = hook; in ng_udbp_newhook()833 if (hook != sc->sc_hook) { in ng_udbp_disconnect()853 sc->sc_hook = NULL; in ng_udbp_disconnect()
1432 if ((hook = sc->sc_hook) != NULL) in ubt_fwd_mbuf_up()1621 if (sc->sc_hook != NULL) { in ng_ubt_newhook()1627 sc->sc_hook = hook; in ng_ubt_newhook()1664 if (hook != sc->sc_hook) { in ng_ubt_disconnect()1670 sc->sc_hook = NULL; in ng_ubt_disconnect()1717 (sc->sc_hook != NULL) ? NG_UBT_HOOK : "", in ng_ubt_rcvmsg()1871 if (hook != sc->sc_hook) { in ng_ubt_rcvdata()
149 hook_p sc_hook; /* upstream hook */ member