Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152499594
D25491.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
759 B
Referenced Files
None
Subscribers
None
D25491.diff
View Options
Index: head/sys/compat/linux/linux_socket.h
===================================================================
--- head/sys/compat/linux/linux_socket.h
+++ head/sys/compat/linux/linux_socket.h
@@ -197,6 +197,7 @@
#define LINUX_SO_ACCEPTCONN 30
#define LINUX_SO_SNDBUFFORCE 32
#define LINUX_SO_RCVBUFFORCE 33
+#define LINUX_SO_PROTOCOL 38
/* Socket options */
#define LINUX_IP_TOS 1
Index: head/sys/compat/linux/linux_socket.c
===================================================================
--- head/sys/compat/linux/linux_socket.c
+++ head/sys/compat/linux/linux_socket.c
@@ -236,6 +236,8 @@
return (SO_TIMESTAMP);
case LINUX_SO_ACCEPTCONN:
return (SO_ACCEPTCONN);
+ case LINUX_SO_PROTOCOL:
+ return (SO_PROTOCOL);
}
return (-1);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 16, 8:44 AM (7 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31588335
Default Alt Text
D25491.diff (759 B)
Attached To
Mode
D25491: Make linux(4) support SO_PROTOCOL
Attached
Detach File
Event Timeline
Log In to Comment