summaryrefslogtreecommitdiffstats
path: root/net/tipc/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/socket.h')
-rw-r--r--net/tipc/socket.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/net/tipc/socket.h b/net/tipc/socket.h
index 06fb5944cf76..aae3fd4cd06c 100644
--- a/net/tipc/socket.h
+++ b/net/tipc/socket.h
@@ -49,6 +49,8 @@
49#define RCVBUF_DEF (FLOWCTL_BLK_SZ * 1024 * 2) 49#define RCVBUF_DEF (FLOWCTL_BLK_SZ * 1024 * 2)
50#define RCVBUF_MAX (FLOWCTL_BLK_SZ * 1024 * 16) 50#define RCVBUF_MAX (FLOWCTL_BLK_SZ * 1024 * 16)
51 51
52struct tipc_sock;
53
52int tipc_socket_init(void); 54int tipc_socket_init(void);
53void tipc_socket_stop(void); 55void tipc_socket_stop(void);
54void tipc_sk_rcv(struct net *net, struct sk_buff_head *inputq); 56void tipc_sk_rcv(struct net *net, struct sk_buff_head *inputq);
@@ -59,5 +61,11 @@ int tipc_sk_rht_init(struct net *net);
59void tipc_sk_rht_destroy(struct net *net); 61void tipc_sk_rht_destroy(struct net *net);
60int tipc_nl_sk_dump(struct sk_buff *skb, struct netlink_callback *cb); 62int tipc_nl_sk_dump(struct sk_buff *skb, struct netlink_callback *cb);
61int tipc_nl_publ_dump(struct sk_buff *skb, struct netlink_callback *cb); 63int tipc_nl_publ_dump(struct sk_buff *skb, struct netlink_callback *cb);
62 64int tipc_sk_fill_sock_diag(struct sk_buff *skb, struct tipc_sock *tsk,
65 u32 sk_filter_state,
66 u64 (*tipc_diag_gen_cookie)(struct sock *sk));
67int tipc_nl_sk_walk(struct sk_buff *skb, struct netlink_callback *cb,
68 int (*skb_handler)(struct sk_buff *skb,
69 struct netlink_callback *cb,
70 struct tipc_sock *tsk));
63#endif 71#endif