summaryrefslogtreecommitdiffstats
path: root/include/net/iucv
diff options
context:
space:
mode:
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>2009-04-21 23:26:22 +0000
committerDavid S. Miller <davem@davemloft.net>2009-04-23 04:04:32 -0700
commit9d5c5d8f4105dc56ec10864b195dd1714f282c22 (patch)
tree075499708835271c15fa60b836a3e0f8723f6ba4 /include/net/iucv
parentaf88b52def76679c8c5bcdbed199fbe62b6a16d4 (diff)
downloadlinux-9d5c5d8f4105dc56ec10864b195dd1714f282c22.tar.gz
linux-9d5c5d8f4105dc56ec10864b195dd1714f282c22.tar.bz2
linux-9d5c5d8f4105dc56ec10864b195dd1714f282c22.zip
af_iucv: add sockopt() to enable/disable use of IPRM_DATA msgs
Provide the socket operations getsocktopt() and setsockopt() to enable/disable sending of data in the parameter list of IUCV messages. The patch sets respective flag only. Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/iucv')
-rw-r--r--include/net/iucv/af_iucv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/iucv/af_iucv.h b/include/net/iucv/af_iucv.h
index 85f80eadfa35..78a72764aeff 100644
--- a/include/net/iucv/af_iucv.h
+++ b/include/net/iucv/af_iucv.h
@@ -73,8 +73,12 @@ struct iucv_sock {
struct sk_buff_head backlog_skb_q;
struct sock_msg_q message_q;
unsigned int send_tag;
+ u8 flags;
};
+/* iucv socket options (SOL_IUCV) */
+#define SO_IPRMDATA_MSG 0x0080 /* send/recv IPRM_DATA msgs */
+
struct iucv_sock_list {
struct hlist_head head;
rwlock_t lock;