public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
194ae95
)
net: socket types are zero based
author
Alan Cox
<alan@linux.intel.com>
Tue, 12 Jan 2016 23:18:36 +0000
(23:18 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Tue, 12 Jan 2016 23:18:36 +0000
(23:18 +0000)
Kernel/include/netdev.h
patch
|
blob
|
history
diff --git
a/Kernel/include/netdev.h
b/Kernel/include/netdev.h
index
a916a96
..
fa77358
100644
(file)
--- a/
Kernel/include/netdev.h
+++ b/
Kernel/include/netdev.h
@@
-80,9
+80,9
@@
struct socket
};
#define NSOCKTYPE 3
-#define SOCKTYPE_TCP
1
-#define SOCKTYPE_UDP
2
-#define SOCKTYPE_RAW
3
+#define SOCKTYPE_TCP
0
+#define SOCKTYPE_UDP
1
+#define SOCKTYPE_RAW
2
struct netdevice
{