aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/socket.h')
-rw-r--r--net/tipc/socket.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/net/tipc/socket.h b/net/tipc/socket.h
index d34089387006..f56c3fded51f 100644
--- a/net/tipc/socket.h
+++ b/net/tipc/socket.h
@@ -42,12 +42,19 @@
42#define TIPC_FLOWCTRL_WIN (TIPC_CONNACK_INTV * 2) 42#define TIPC_FLOWCTRL_WIN (TIPC_CONNACK_INTV * 2)
43#define TIPC_CONN_OVERLOAD_LIMIT ((TIPC_FLOWCTRL_WIN * 2 + 1) * \ 43#define TIPC_CONN_OVERLOAD_LIMIT ((TIPC_FLOWCTRL_WIN * 2 + 1) * \
44 SKB_TRUESIZE(TIPC_MAX_USER_MSG_SIZE)) 44 SKB_TRUESIZE(TIPC_MAX_USER_MSG_SIZE))
45int tipc_sk_rcv(struct sk_buff *buf); 45
46struct sk_buff *tipc_sk_socks_show(void); 46int tipc_socket_init(void);
47void tipc_sk_mcast_rcv(struct sk_buff *buf); 47void tipc_socket_stop(void);
48void tipc_sk_reinit(void); 48int tipc_sock_create_local(struct net *net, int type, struct socket **res);
49int tipc_sk_ref_table_init(u32 requested_size, u32 start); 49void tipc_sock_release_local(struct socket *sock);
50void tipc_sk_ref_table_stop(void); 50int tipc_sock_accept_local(struct socket *sock, struct socket **newsock,
51 int flags);
52int tipc_sk_rcv(struct net *net, struct sk_buff *buf);
53struct sk_buff *tipc_sk_socks_show(struct net *net);
54void tipc_sk_mcast_rcv(struct net *net, struct sk_buff *buf);
55void tipc_sk_reinit(struct net *net);
56int tipc_sk_rht_init(struct net *net);
57void tipc_sk_rht_destroy(struct net *net);
51int tipc_nl_sk_dump(struct sk_buff *skb, struct netlink_callback *cb); 58int tipc_nl_sk_dump(struct sk_buff *skb, struct netlink_callback *cb);
52int tipc_nl_publ_dump(struct sk_buff *skb, struct netlink_callback *cb); 59int tipc_nl_publ_dump(struct sk_buff *skb, struct netlink_callback *cb);
53 60