diff options
author | Jon Paul Maloy <jon.maloy@ericsson.com> | 2014-06-26 05:41:37 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-27 23:50:55 +0400 |
commit | e2dafe87d328774a94fdd77718422b9cbd97ed47 (patch) | |
tree | 532969e699514a4cc53845c880ad077aa027cdbc /net/tipc/port.h | |
parent | 5a379074a7dd6d288ec9e6472769ba0e0c54dd85 (diff) | |
download | linux-e2dafe87d328774a94fdd77718422b9cbd97ed47.tar.xz |
tipc: RDM/DGRAM transport uses new fragmenting and sending functions
We merge the code for sending port name and port identity addressed
messages into the corresponding send functions in socket.c, and start
using the new fragmenting and transmit functions we just have introduced.
This saves a call level and quite a few code lines, as well as making
this part of the code easier to follow. As a consequence, the functions
tipc_send2name() and tipc_send2port() in port.c can be removed.
For practical reasons, we break out the code for sending multicast messages
from tipc_sendmsg() and move it into a separate function, tipc_sendmcast(),
but we do not yet convert it into using the new build/send functions.
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/port.h')
-rw-r--r-- | net/tipc/port.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/net/tipc/port.h b/net/tipc/port.h index cf4ca5b1d9a4..e566d55e2655 100644 --- a/net/tipc/port.h +++ b/net/tipc/port.h @@ -140,17 +140,6 @@ int tipc_send(struct tipc_port *port, struct iovec const *msg_sect, unsigned int len); -int tipc_send2name(struct tipc_port *port, - struct tipc_name const *name, - u32 domain, - struct iovec const *msg_sect, - unsigned int len); - -int tipc_send2port(struct tipc_port *port, - struct tipc_portid const *dest, - struct iovec const *msg_sect, - unsigned int len); - int tipc_port_mcast_xmit(struct tipc_port *port, struct tipc_name_seq const *seq, struct iovec const *msg, |