kernel: a couple of error numbers we'll need for networking
authorAlan Cox <alan@linux.intel.com>
Mon, 11 Jan 2016 19:01:55 +0000 (19:01 +0000)
committerAlan Cox <alan@linux.intel.com>
Mon, 11 Jan 2016 19:01:55 +0000 (19:01 +0000)
Kernel/include/kernel.h

index eb79c7f..fb2513b 100644 (file)
@@ -572,7 +572,9 @@ struct s_argblk {
 #define EADDRINUSE     40              /* Address already in use */
 #define EADDRNOTAVAIL  41              /* Address not available */
 #define ENOSYS         42              /* No such system call */
-
+#define EPFNOSUPPORT   43              /* Protocol not supported */
+#define EOPNOTSUPP     43              /* Operation not supported on transport
+                                           endpoint */
 /*
  * ioctls for kernel internal operations start at 0x8000 and cannot be issued
  * by userspace.