Searched refs:sc_hook (Results 1 – 3 of 3) sorted by relevance
121 hook_p sc_hook; /* pointer to the hook */ member486 if ((sc->sc_hook == NULL) || in udbp_bulk_read_complete()487 NG_HOOK_NOT_VALID(sc->sc_hook)) { in udbp_bulk_read_complete()493 NG_SEND_DATA_ONLY(error, sc->sc_hook, m); in udbp_bulk_read_complete()613 if (sc->sc_hook != NULL) { in ng_udbp_newhook()616 sc->sc_hook = hook; in ng_udbp_newhook()822 if (hook != sc->sc_hook) { in ng_udbp_disconnect()841 sc->sc_hook = NULL; in ng_udbp_disconnect()
1489 if ((hook = sc->sc_hook) != NULL) in ubt_fwd_mbuf_up()1678 if (sc->sc_hook != NULL) { in ng_ubt_newhook()1684 sc->sc_hook = hook; in ng_ubt_newhook()1721 if (hook != sc->sc_hook) { in ng_ubt_disconnect()1727 sc->sc_hook = NULL; in ng_ubt_disconnect()1774 (sc->sc_hook != NULL) ? NG_UBT_HOOK : "", in ng_ubt_rcvmsg()1928 if (hook != sc->sc_hook) { in ng_ubt_rcvdata()
148 hook_p sc_hook; /* upstream hook */ member