Home
last modified time | relevance | path

Searched refs:netoring (Results 1 – 5 of 5) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dnetwork.c56 Ring netoring; variable
75 if (ring_init(&netoring, netobuf, sizeof (netobuf)) != 1) { in init_network()
125 ring_mark(&netoring); in setneturg()
145 ring_encrypt(&netoring, encrypt_output); in netflush()
147 if ((n1 = n = ring_full_consecutive(&netoring)) > 0) { in netflush()
148 if (!ring_at_mark(&netoring)) { in netflush()
150 n = send(net, netoring.consume, n, 0); in netflush()
160 n = send(net, netoring.consume, 1, MSG_OOB); in netflush()
167 ring_clear_mark(&netoring); in netflush()
174 Dump('>', netoring.consume, n); in netflush()
[all …]
H A Ddefines.h50 #define NETADD(c) { *netoring.supply = c; ring_supplied(&netoring, 1); }
52 #define NETBYTES() (ring_full_count(&netoring))
53 #define NETROOM() (ring_empty_count(&netoring))
H A Dauthenc.c100 ring_supply_data(&netoring, str, len); in net_write()
112 ring_encrypt(&netoring, encrypt_output); in net_encrypt()
114 ring_clearto(&netoring); in net_encrypt()
H A Dtelnet.c824 ring_supply_data(&netoring, temp, len); in suboption()
851 ring_supply_data(&netoring, temp, len); in suboption()
961 ring_supply_data(&netoring, temp, len); in suboption()
1074 ring_supply_data(&netoring, str_lm, sizeof (str_lm));
1120 ring_supply_data(&netoring, str_lm, sizeof (str_lm));
1167 ring_supply_data(&netoring, str_lm_mode, sizeof (str_lm_mode));
1288 ring_supply_data(&netoring, slc_import_def,
1293 ring_supply_data(&netoring, slc_import_val,
1468 ring_supply_data(&netoring, slc_reply, slc_replyp - slc_reply); in slc_end_reply()
1727 ring_supply_data(&netoring, opt_reply, len);
[all …]
H A Dexterns.h393 extern Ring netoring;