| .. | .. |
|---|
| 80 | 80 | u8 pad; /* total 104 bytes */ |
|---|
| 81 | 81 | } __packed; |
|---|
| 82 | 82 | |
|---|
| 83 | +static inline struct af_iucv_trans_hdr *iucv_trans_hdr(struct sk_buff *skb) |
|---|
| 84 | +{ |
|---|
| 85 | + return (struct af_iucv_trans_hdr *)skb_network_header(skb); |
|---|
| 86 | +} |
|---|
| 87 | + |
|---|
| 83 | 88 | enum iucv_tx_notify { |
|---|
| 84 | 89 | /* transmission of skb is completed and was successful */ |
|---|
| 85 | 90 | TX_NOTIFY_OK = 0, |
|---|
| .. | .. |
|---|
| 152 | 157 | rwlock_t lock; |
|---|
| 153 | 158 | atomic_t autobind_name; |
|---|
| 154 | 159 | }; |
|---|
| 155 | | - |
|---|
| 156 | | -__poll_t iucv_sock_poll(struct file *file, struct socket *sock, |
|---|
| 157 | | - poll_table *wait); |
|---|
| 158 | | -void iucv_sock_link(struct iucv_sock_list *l, struct sock *s); |
|---|
| 159 | | -void iucv_sock_unlink(struct iucv_sock_list *l, struct sock *s); |
|---|
| 160 | | -void iucv_accept_enqueue(struct sock *parent, struct sock *sk); |
|---|
| 161 | | -void iucv_accept_unlink(struct sock *sk); |
|---|
| 162 | | -struct sock *iucv_accept_dequeue(struct sock *parent, struct socket *newsock); |
|---|
| 163 | 160 | |
|---|
| 164 | 161 | #endif /* __IUCV_H */ |
|---|