Lines Matching full:left

45  * It has 4 hooks: left, right, left2right, and right2left. Data
46 * entering from the right is passed to the left and duplicated on
47 * right2left, and data entering from the left is passed to the right
49 * sent to left, and data from right2left to right.
79 struct hookinfo left; member
178 if (privdata->left.dest) in ng_tee_newhook()
179 privdata->left.dup = privdata->left.dest; in ng_tee_newhook()
180 privdata->left.dest = hinfo; in ng_tee_newhook()
183 hinfo = &privdata->left; in ng_tee_newhook()
196 if (privdata->left.dest) in ng_tee_newhook()
197 privdata->left.dup = hinfo; in ng_tee_newhook()
199 privdata->left.dest = hinfo; in ng_tee_newhook()
239 bcopy(&sc->left.stats, &stats->left, in ng_tee_rcvmsg()
240 sizeof(stats->left)); in ng_tee_rcvmsg()
249 bzero(&sc->left.stats, in ng_tee_rcvmsg()
250 sizeof(sc->left.stats)); in ng_tee_rcvmsg()
264 if (lasthook == sc->left.hook || lasthook == sc->right.hook) { in ng_tee_rcvmsg()
287 * send the original onwards out through the left link.
288 * Do the opposite for data coming in from the left link.
337 * If we have both a left and right hook, then we probably want to extricate
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()
379 if (sc->left.dest == hinfo) { in ng_tee_disconnect()
380 sc->left.dest = sc->left.dup; in ng_tee_disconnect()
381 sc->left.dup = NULL; in ng_tee_disconnect()
382 } else if (sc->left.dup == hinfo) in ng_tee_disconnect()
383 sc->left.dup = NULL; in ng_tee_disconnect()