projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
option for receiving OOB data in-line
[unix-history]
/
usr
/
src
/
sys
/
kern
/
uipc_socket.c
diff --git
a/usr/src/sys/kern/uipc_socket.c
b/usr/src/sys/kern/uipc_socket.c
index
937dfa1
..
0b49ec6
100644
(file)
--- a/
usr/src/sys/kern/uipc_socket.c
+++ b/
usr/src/sys/kern/uipc_socket.c
@@
-3,7
+3,7
@@
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)uipc_socket.c 6.2
5
(Berkeley) %G%
+ * @(#)uipc_socket.c 6.2
6
(Berkeley) %G%
*/
#include "param.h"
*/
#include "param.h"
@@
-649,6
+649,7
@@
sosetopt(so, level, optname, m0)
case SO_USELOOPBACK:
case SO_BROADCAST:
case SO_REUSEADDR:
case SO_USELOOPBACK:
case SO_BROADCAST:
case SO_REUSEADDR:
+ case SO_OOBINLINE:
if (m == NULL || m->m_len < sizeof (int)) {
error = EINVAL;
goto bad;
if (m == NULL || m->m_len < sizeof (int)) {
error = EINVAL;
goto bad;
@@
-738,6
+739,7
@@
sogetopt(so, level, optname, mp)
case SO_KEEPALIVE:
case SO_REUSEADDR:
case SO_BROADCAST:
case SO_KEEPALIVE:
case SO_REUSEADDR:
case SO_BROADCAST:
+ case SO_OOBINLINE:
*mtod(m, int *) = so->so_options & optname;
break;
*mtod(m, int *) = so->so_options & optname;
break;