Lines Matching refs:curp
154 get_ppp_stats(curp) in get_ppp_stats() argument
155 struct ppp_stats64 *curp; in get_ppp_stats()
176 *curp = req.stats;
255 get_ppp_stats(curp) in get_ppp_stats() argument
256 struct ppp_stats64 *curp; in get_ppp_stats()
260 if (strioctl(s, PPPIO_GETSTAT64, (char *)curp, 0, sizeof(*curp)) >= 0)
263 curp->p.ppp_ibytes = oldstat.p.ppp_ibytes;
264 curp->p.ppp_ipackets = oldstat.p.ppp_ipackets;
265 curp->p.ppp_ierrors = oldstat.p.ppp_ierrors;
266 curp->p.ppp_obytes = oldstat.p.ppp_obytes;
267 curp->p.ppp_opackets = oldstat.p.ppp_opackets;
268 curp->p.ppp_oerrors = oldstat.p.ppp_oerrors;
269 curp->vj = oldstat.vj;
273 if (strioctl(s, PPPIO_GETSTAT, (char *)curp, 0, sizeof(*curp)) >= 0)