Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppstats/
H A Dpppstats.c183 struct ifpppcstatsreq creq; local
185 (void) memset (&creq, 0, sizeof (creq));
188 creq.stats_ptr = (caddr_t) &creq.stats;
193 strncpy(creq.ifr_name, interface, sizeof(creq.ifr_name));
194 if (ioctl(s, SIOCGPPPCSTATS, &creq) < 0) {
208 if (creq.stats.c.bytes_out == 0) {
209 creq.stats.c.bytes_out = creq.stats.c.comp_bytes + creq.stats.c.inc_bytes;
210 creq.stats.c.in_count = creq.stats.c.unc_bytes;
212 if (creq.stats.c.bytes_out == 0)
213 creq.stats.c.ratio = 0.0;
[all …]
/titanic_41/usr/src/lib/libnsl/nsl/
H A D_conn_util.c62 struct T_conn_req *creq; in _t_snd_conn_req() local
78 creq = (struct T_conn_req *)ctlbufp->buf; in _t_snd_conn_req()
79 creq->PRIM_type = T_CONN_REQ; in _t_snd_conn_req()
80 creq->DEST_length = call->addr.len; in _t_snd_conn_req()
81 creq->DEST_offset = 0; in _t_snd_conn_req()
82 creq->OPT_length = call->opt.len; in _t_snd_conn_req()
83 creq->OPT_offset = 0; in _t_snd_conn_req()
88 call->addr.buf, &creq->DEST_offset) < 0) { in _t_snd_conn_req()
97 size = creq->DEST_offset + creq->DEST_length; in _t_snd_conn_req()
101 call->opt.buf, &creq->OPT_offset) < 0) { in _t_snd_conn_req()
[all …]
/titanic_41/usr/src/uts/common/ktli/
H A Dt_kconnect.c74 struct T_conn_req *creq; in t_kconnect() local
106 creq = (struct T_conn_req *)bp->b_wptr; in t_kconnect()
107 creq->PRIM_type = T_CONN_REQ; in t_kconnect()
108 creq->DEST_length = (t_scalar_t)sndcall->addr.len; in t_kconnect()
109 creq->OPT_length = (t_scalar_t)sndcall->opt.len; in t_kconnect()
113 creq->DEST_offset = (t_scalar_t)msgsz; in t_kconnect()
116 creq->DEST_offset = (t_scalar_t)0; in t_kconnect()
120 creq->OPT_offset = (t_scalar_t)msgsz; in t_kconnect()
123 creq->OPT_offset = (t_scalar_t)0; in t_kconnect()
/titanic_41/usr/src/uts/common/inet/kssl/
H A Dksslrec.c1858 crypto_call_req_t creq, *creqp; in kssl_handle_client_key_exchange() local
1910 creq.cr_flag = kssl_call_flag; in kssl_handle_client_key_exchange()
1911 creq.cr_callback_func = kssl_cke_done; in kssl_handle_client_key_exchange()
1912 creq.cr_callback_arg = ssl; in kssl_handle_client_key_exchange()
1914 creqp = &creq; in kssl_handle_client_key_exchange()
1974 ssl->job.kjob = creq.cr_reqid; in kssl_handle_client_key_exchange()
/titanic_41/usr/src/uts/common/io/
H A Dtl.c2806 struct T_conn_req *creq = (struct T_conn_req *)mp->b_rptr; in tl_conn_req() local
2861 alen = creq->DEST_length; in tl_conn_req()
2862 aoff = creq->DEST_offset; in tl_conn_req()
2863 olen = creq->OPT_length; in tl_conn_req()
2864 ooff = creq->OPT_offset; in tl_conn_req()
3051 struct T_conn_req *creq = (struct T_conn_req *)mp->b_cont->b_rptr; in tl_conn_req_ser() local
3055 t_scalar_t olen = creq->OPT_length; in tl_conn_req_ser()
3056 t_scalar_t ooff = creq->OPT_offset; in tl_conn_req_ser()