Lines Matching refs:netoring
54 Ring netoring, netiring;
64 if (ring_init(&netoring, netobuf, sizeof netobuf) != 1) {
114 ring_mark(&netoring);
134 ring_encrypt(&netoring, encrypt_output);
136 if ((n1 = n = ring_full_consecutive(&netoring)) > 0) {
137 if (!ring_at_mark(&netoring)) {
138 n = send(net, (char *)netoring.consume, n, 0); /* normal write */
148 n = send(net, (char *)netoring.consume, 1, MSG_OOB);/* URGENT data */
156 ring_clear_mark(&netoring);
163 Dump('>', netoring.consume, n);
166 ring_consumed(&netoring, n);
171 if ((n1 == n) && ring_full_consecutive(&netoring)) {