diff options
Diffstat (limited to 'net/tipc/socket.h')
-rw-r--r-- | net/tipc/socket.h | 20 |
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)) |
45 | int tipc_sk_rcv(struct sk_buff *buf); | 45 | int tipc_socket_init(void); |
46 | struct sk_buff *tipc_sk_socks_show(void); | 46 | void tipc_socket_stop(void); |
47 | void tipc_sk_mcast_rcv(struct sk_buff *buf); | 47 | int tipc_sock_create_local(struct net *net, int type, struct socket **res); |
48 | void tipc_sk_reinit(void); | 48 | void tipc_sock_release_local(struct socket *sock); |
49 | int tipc_sk_ref_table_init(u32 requested_size, u32 start); | 49 | int tipc_sock_accept_local(struct socket *sock, struct socket **newsock, |
50 | void tipc_sk_ref_table_stop(void); | 50 | int flags); |
51 | int tipc_sk_rcv(struct net *net, struct sk_buff_head *inputq); | ||
52 | void tipc_sk_mcast_rcv(struct net *net, struct sk_buff_head *arrvq, | ||
53 | struct sk_buff_head *inputq); | ||
54 | void tipc_sk_reinit(struct net *net); | ||
55 | int tipc_sk_rht_init(struct net *net); | ||
56 | void tipc_sk_rht_destroy(struct net *net); | ||
51 | int tipc_nl_sk_dump(struct sk_buff *skb, struct netlink_callback *cb); | 57 | int tipc_nl_sk_dump(struct sk_buff *skb, struct netlink_callback *cb); |
52 | int tipc_nl_publ_dump(struct sk_buff *skb, struct netlink_callback *cb); | 58 | int tipc_nl_publ_dump(struct sk_buff *skb, struct netlink_callback *cb); |
53 | 59 | ||