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.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/net/tipc/socket.h b/net/tipc/socket.h
index d34089387006..238f1b7bd9bd 100644
--- a/net/tipc/socket.h
+++ b/net/tipc/socket.h
@@ -1,6 +1,6 @@
1/* net/tipc/socket.h: Include file for TIPC socket code 1/* net/tipc/socket.h: Include file for TIPC socket code
2 * 2 *
3 * Copyright (c) 2014, Ericsson AB 3 * Copyright (c) 2014-2015, Ericsson AB
4 * All rights reserved. 4 * All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
@@ -42,12 +42,18 @@
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); 45int tipc_socket_init(void);
46struct sk_buff *tipc_sk_socks_show(void); 46void tipc_socket_stop(void);
47void tipc_sk_mcast_rcv(struct sk_buff *buf); 47int tipc_sock_create_local(struct net *net, int type, struct socket **res);
48void tipc_sk_reinit(void); 48void tipc_sock_release_local(struct socket *sock);
49int tipc_sk_ref_table_init(u32 requested_size, u32 start); 49int tipc_sock_accept_local(struct socket *sock, struct socket **newsock,
50void tipc_sk_ref_table_stop(void); 50 int flags);
51int tipc_sk_rcv(struct net *net, struct sk_buff_head *inputq);
52void tipc_sk_mcast_rcv(struct net *net, struct sk_buff_head *arrvq,
53 struct sk_buff_head *inputq);
54void tipc_sk_reinit(struct net *net);
55int tipc_sk_rht_init(struct net *net);
56void tipc_sk_rht_destroy(struct net *net);
51int tipc_nl_sk_dump(struct sk_buff *skb, struct netlink_callback *cb); 57int 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); 58int tipc_nl_publ_dump(struct sk_buff *skb, struct netlink_callback *cb);
53 59