Lines Matching refs:right
80 struct hookinfo right; member
177 hinfo = &privdata->right; in ng_tee_newhook()
184 if (privdata->right.dest) in ng_tee_newhook()
185 privdata->right.dup = privdata->right.dest; in ng_tee_newhook()
186 privdata->right.dest = hinfo; in ng_tee_newhook()
190 if (privdata->right.dest) in ng_tee_newhook()
191 privdata->right.dup = hinfo; in ng_tee_newhook()
193 privdata->right.dest = hinfo; in ng_tee_newhook()
237 bcopy(&sc->right.stats, &stats->right, in ng_tee_rcvmsg()
238 sizeof(stats->right)); in ng_tee_rcvmsg()
247 bzero(&sc->right.stats, in ng_tee_rcvmsg()
248 sizeof(sc->right.stats)); in ng_tee_rcvmsg()
264 if (lasthook == sc->left.hook || lasthook == sc->right.hook) { in ng_tee_rcvmsg()
346 if (privdata->left.hook && privdata->right.hook) in ng_tee_close()
347 ng_bypass(privdata->left.hook, privdata->right.hook); in ng_tee_close()
384 if (sc->right.dest == hinfo) { in ng_tee_disconnect()
385 sc->right.dest = sc->right.dup; in ng_tee_disconnect()
386 sc->right.dup = NULL; in ng_tee_disconnect()
387 } else if (sc->right.dup == hinfo) in ng_tee_disconnect()
388 sc->right.dup = NULL; in ng_tee_disconnect()