Lines Matching refs:right
74 struct hookinfo right; member
171 hinfo = &privdata->right; in ng_tee_newhook()
178 if (privdata->right.dest) in ng_tee_newhook()
179 privdata->right.dup = privdata->right.dest; in ng_tee_newhook()
180 privdata->right.dest = hinfo; in ng_tee_newhook()
184 if (privdata->right.dest) in ng_tee_newhook()
185 privdata->right.dup = hinfo; in ng_tee_newhook()
187 privdata->right.dest = hinfo; in ng_tee_newhook()
231 bcopy(&sc->right.stats, &stats->right, in ng_tee_rcvmsg()
232 sizeof(stats->right)); in ng_tee_rcvmsg()
241 bzero(&sc->right.stats, in ng_tee_rcvmsg()
242 sizeof(sc->right.stats)); in ng_tee_rcvmsg()
258 if (lasthook == sc->left.hook || lasthook == sc->right.hook) { in ng_tee_rcvmsg()
340 if (privdata->left.hook && privdata->right.hook) in ng_tee_close()
341 ng_bypass(privdata->left.hook, privdata->right.hook); in ng_tee_close()
378 if (sc->right.dest == hinfo) { in ng_tee_disconnect()
379 sc->right.dest = sc->right.dup; in ng_tee_disconnect()
380 sc->right.dup = NULL; in ng_tee_disconnect()
381 } else if (sc->right.dup == hinfo) in ng_tee_disconnect()
382 sc->right.dup = NULL; in ng_tee_disconnect()