+
+static int
+ppp_dev_ioctl_stats (struct ppp *ppp, struct ifreq *ifr)
+{
+ struct ppp_comp_stats *result, temp;
+ int error;
+/*
+ * Must have write access to the buffer.
+ */
+ result = (struct ppp_comp_stats *) ifr->ifr_ifru.ifru_data;
+ error = verify_area (VERIFY_WRITE,
+ result,
+ sizeof (temp));
+/*
+ * Supply the information for the caller. Get the frame data compression
+ * statistics and move them out to the caller.
+ */
+ if (error == 0) {
+ memset (&temp, 0, sizeof(temp));
+