Lines Matching defs:retv
50 static int (*old_sys_read_packet)(int retv, struct strbuf *ctrl,
92 int retv; /* return value */
112 retv = strioctl(tstfd, PPPTUN_GDATA, &ptn, 0, sizeof (ptn));
114 if (retv == -1) {
120 retv = strioctl(0, PPPIO_GTYPE, &intv, 0, sizeof (intv));
121 if (retv == -1) {
125 retv = strioctl(0, PPPTUN_GDATA, &ptn, 0, sizeof (ptn));
126 if (retv == -1) {
430 pppoe_sys_read_packet(int retv, struct strbuf *ctrl, struct strbuf *data,
435 if (retv >= 0 && !(retv & MORECTL) && ctrl->len >= sizeof (uint32_t)) {
440 retv = -1;
442 retv = handle_action(ptc, ctrl, data);
443 if (retv < 0)
445 return (retv);
451 return ((*old_sys_read_packet)(retv, ctrl, data, flags));
452 return (retv);