hc
2024-05-10 ee930fffee469d076998274a2ca55e13dc1efb67
kernel/include/net/iucv/af_iucv.h
....@@ -80,6 +80,11 @@
8080 u8 pad; /* total 104 bytes */
8181 } __packed;
8282
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
+
8388 enum iucv_tx_notify {
8489 /* transmission of skb is completed and was successful */
8590 TX_NOTIFY_OK = 0,
....@@ -152,13 +157,5 @@
152157 rwlock_t lock;
153158 atomic_t autobind_name;
154159 };
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);
163160
164161 #endif /* __IUCV_H */