outmp
struct outmp myutmp;
struct outmp we_utmp; /* active tty info */
mblk_t *outmp;
outmp = des_cfb_decrypt(q, tmi, mp);
outmp = mp;
outmp = des_cbc_decrypt(q, tmi, mp, &null_hash);
outmp = des_cbc_decrypt(q, tmi, mp, &md5_hash);
outmp = des_cbc_decrypt(q, tmi, mp, &crc32_hash);
outmp = des_cbc_decrypt(q, tmi, mp, &sha1_hash);
outmp = arcfour_hmac_md5_decrypt(q, tmi, mp, &md5_hash);
outmp = aes_decrypt(q, tmi, mp, &sha1_hash);
return (outmp);
mblk_t *outmp;
outmp = des_cfb_encrypt(q, tmi, mp);
outmp = des_cbc_encrypt(q, tmi, mp, &null_hash);
outmp = des_cbc_encrypt(q, tmi, mp, &md5_hash);
outmp = des_cbc_encrypt(q, tmi, mp, &crc32_hash);
outmp = des_cbc_encrypt(q, tmi, mp, &sha1_hash);
outmp = arcfour_hmac_md5_encrypt(q, tmi, mp, &md5_hash);
outmp = aes_encrypt(q, tmi, mp, &sha1_hash);
outmp = mp;
return (outmp);
outmp = allocb(outmp_len, BPRI_MED);
if (outmp == NULL)
tp = outmp->b_wptr;
curout = outmp;
tpmax = outmp->b_datap->db_lim;
if ((outmp->b_cont = curout) == NULL)
outmp->b_wptr = tp;
if ((outmp->b_cont = curout) == NULL)
outmp->b_wptr = tp;
state->sa_stats.ppp_obytes += msgsize(outmp);
ppp_dump_frame(state, outmp, "sent");
return (outmp);
freemsg(outmp);
receive_frame(queue_t *q, mblk_t *outmp, ushort_t fcs16, uint32_t fcs32)
cp = outmp->b_rptr;
i = adjmsg(outmp, -crclen);
outmp->b_rptr = cp;
return (spppasyn_inpkt(q, outmp));
ep = outmp->b_wptr;
return (outmp);
state->sa_unit, msgsize(outmp));
ppp_dump_frame(state, outmp, "bad data");
freemsg(outmp);
mblk_t *outmp; /* buffer for decoded data */
outmp = state->sa_rx_buf;
if (outmp == NULL) {
tp = outmp->b_wptr;
tpmax = outmp->b_datap->db_lim;
if ((flagtmp & SAF_IFLUSH) || outmp == NULL) {
tp - outmp->b_rptr < 2 + PPP_FCSLEN) {
outmp->b_wptr = tp;
ppp_dump_frame(state, outmp,
freemsg(outmp);
outmp->b_wptr = tp;
outmp = receive_frame(q, outmp, fcs16,
retmp = sppp_mappend(retmp, outmp);
outmp = NULL;
if (outmp == NULL) {
outmp = allocb(maxlen, BPRI_MED);
if (outmp == NULL) {
tp = outmp->b_wptr;
tpmax = outmp->b_datap->db_lim;
(int)(tpmax - outmp->b_rptr));
freemsg(outmp);
outmp = NULL;
if ((state->sa_rx_buf = outmp) != NULL)
outmp->b_wptr = tp;
outmp = allocb(0, BPRI_MED);
if (outmp != NULL) {
outmp->b_datap->db_type = M_HANGUP;
retmp = sppp_mappend(retmp, outmp);
mblk_t *outmp;