Lines Matching defs:netoring
58 Ring netoring, netiring;
68 if (ring_init(&netoring, netobuf, sizeof netobuf) != 1) {
118 ring_mark(&netoring);
138 ring_encrypt(&netoring, encrypt_output);
140 if ((n1 = n = ring_full_consecutive(&netoring)) > 0) {
141 if (!ring_at_mark(&netoring)) {
142 n = send(net, (char *)netoring.consume, n, 0); /* normal write */
152 n = send(net, (char *)netoring.consume, 1, MSG_OOB);/* URGENT data */
160 ring_clear_mark(&netoring);
167 Dump('>', netoring.consume, n);
170 ring_consumed(&netoring, n);
175 if ((n1 == n) && ring_full_consecutive(&netoring)) {