diff options
Diffstat (limited to 'include/net/iucv/af_iucv.h')
| -rw-r--r-- | include/net/iucv/af_iucv.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/net/iucv/af_iucv.h b/include/net/iucv/af_iucv.h index 85f80eadfa35..f82a1e877372 100644 --- a/include/net/iucv/af_iucv.h +++ b/include/net/iucv/af_iucv.h | |||
| @@ -73,8 +73,17 @@ struct iucv_sock { | |||
| 73 | struct sk_buff_head backlog_skb_q; | 73 | struct sk_buff_head backlog_skb_q; |
| 74 | struct sock_msg_q message_q; | 74 | struct sock_msg_q message_q; |
| 75 | unsigned int send_tag; | 75 | unsigned int send_tag; |
| 76 | u8 flags; | ||
| 77 | u16 msglimit; | ||
| 76 | }; | 78 | }; |
| 77 | 79 | ||
| 80 | /* iucv socket options (SOL_IUCV) */ | ||
| 81 | #define SO_IPRMDATA_MSG 0x0080 /* send/recv IPRM_DATA msgs */ | ||
| 82 | #define SO_MSGLIMIT 0x1000 /* get/set IUCV MSGLIMIT */ | ||
| 83 | |||
| 84 | /* iucv related control messages (scm) */ | ||
| 85 | #define SCM_IUCV_TRGCLS 0x0001 /* target class control message */ | ||
| 86 | |||
| 78 | struct iucv_sock_list { | 87 | struct iucv_sock_list { |
| 79 | struct hlist_head head; | 88 | struct hlist_head head; |
| 80 | rwlock_t lock; | 89 | rwlock_t lock; |
| @@ -85,8 +94,6 @@ unsigned int iucv_sock_poll(struct file *file, struct socket *sock, | |||
| 85 | poll_table *wait); | 94 | poll_table *wait); |
| 86 | void iucv_sock_link(struct iucv_sock_list *l, struct sock *s); | 95 | void iucv_sock_link(struct iucv_sock_list *l, struct sock *s); |
| 87 | void iucv_sock_unlink(struct iucv_sock_list *l, struct sock *s); | 96 | void iucv_sock_unlink(struct iucv_sock_list *l, struct sock *s); |
| 88 | int iucv_sock_wait_state(struct sock *sk, int state, int state2, | ||
| 89 | unsigned long timeo); | ||
| 90 | int iucv_sock_wait_cnt(struct sock *sk, unsigned long timeo); | 97 | int iucv_sock_wait_cnt(struct sock *sk, unsigned long timeo); |
| 91 | void iucv_accept_enqueue(struct sock *parent, struct sock *sk); | 98 | void iucv_accept_enqueue(struct sock *parent, struct sock *sk); |
| 92 | void iucv_accept_unlink(struct sock *sk); | 99 | void iucv_accept_unlink(struct sock *sk); |
