Lines Matching refs:right
76 struct hookinfo right; member
173 hinfo = &privdata->right; in ng_tee_newhook()
180 if (privdata->right.dest) in ng_tee_newhook()
181 privdata->right.dup = privdata->right.dest; in ng_tee_newhook()
182 privdata->right.dest = hinfo; in ng_tee_newhook()
186 if (privdata->right.dest) in ng_tee_newhook()
187 privdata->right.dup = hinfo; in ng_tee_newhook()
189 privdata->right.dest = hinfo; in ng_tee_newhook()
233 bcopy(&sc->right.stats, &stats->right, in ng_tee_rcvmsg()
234 sizeof(stats->right)); in ng_tee_rcvmsg()
243 bzero(&sc->right.stats, in ng_tee_rcvmsg()
244 sizeof(sc->right.stats)); in ng_tee_rcvmsg()
260 if (lasthook == sc->left.hook || lasthook == sc->right.hook) { in ng_tee_rcvmsg()
342 if (privdata->left.hook && privdata->right.hook) in ng_tee_close()
343 ng_bypass(privdata->left.hook, privdata->right.hook); in ng_tee_close()
380 if (sc->right.dest == hinfo) { in ng_tee_disconnect()
381 sc->right.dest = sc->right.dup; in ng_tee_disconnect()
382 sc->right.dup = NULL; in ng_tee_disconnect()
383 } else if (sc->right.dup == hinfo) in ng_tee_disconnect()
384 sc->right.dup = NULL; in ng_tee_disconnect()