]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/rose/af_rose.c
[NET]: Introduce SIOCGSTAMPNS ioctl to get timestamps with nanosec resolution
[linux-2.6-omap-h63xx.git] / net / rose / af_rose.c
index f92d5310847b02454ac8bc583ed80ab17f3d3184..f64be9369ef7bb453ee3a1bdf01b7088679e3ae2 100644 (file)
@@ -1296,6 +1296,9 @@ static int rose_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
        case SIOCGSTAMP:
                return sock_get_timestamp(sk, (struct timeval __user *) argp);
 
+       case SIOCGSTAMPNS:
+               return sock_get_timestampns(sk, (struct timespec __user *) argp);
+
        case SIOCGIFADDR:
        case SIOCSIFADDR:
        case SIOCGIFDSTADDR: