Lines Matching defs:v_req
721 static struct sioc_vif_req v_req;
764 refresh_vif(v_req, ifnum)
765 struct sioc_vif_req *v_req;
770 if (quantum!=lastq || v_req->vifi != ifnum) {
772 v_req->vifi = ifnum;
773 if (ioctl(igmp_socket, SIOCGETVIFCNT, (char *)v_req) < 0)
774 v_req->icount = v_req->ocount = v_req->ibytes = v_req->obytes = 0;
793 static struct sioc_vif_req v_req;
861 refresh_vif(&v_req, ifnum);
862 long_return = v_req.icount;
866 refresh_vif(&v_req, ifnum);
867 long_return = v_req.ocount;
871 refresh_vif(&v_req, ifnum);
872 long_return = v_req.ibytes;
876 refresh_vif(&v_req, ifnum);
877 long_return = v_req.obytes;