Lines Matching defs:netoring
55 Ring netoring, netiring;
65 if (ring_init(&netoring, netobuf, sizeof netobuf) != 1) {
114 ring_mark(&netoring);
135 ring_encrypt(&netoring, encrypt_output);
137 if ((n1 = n = ring_full_consecutive(&netoring)) > 0) {
138 if (!ring_at_mark(&netoring)) {
139 n = send(net, netoring.consume, (size_t)n, 0); /* normal write */
149 n = send(net, netoring.consume, 1, MSG_OOB);/* URGENT data */
157 ring_clear_mark(&netoring);
164 Dump('>', netoring.consume, (int)n);
167 ring_consumed(&netoring, (int)n);
172 if ((n1 == n) && ring_full_consecutive(&netoring)) {