diff options
author | Erik Hugne <erik.hugne@ericsson.com> | 2015-03-19 09:02:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-19 17:25:54 +0100 |
commit | f2f8036e391eb82ee78764483f869f2feafb5da8 (patch) | |
tree | aebead12cc0faf722ad62b94826730754830dd1b /arch/parisc | |
parent | tipc: do not report -EHOSTUNREACH for failed local delivery (diff) | |
download | linux-f2f8036e391eb82ee78764483f869f2feafb5da8.tar.xz linux-f2f8036e391eb82ee78764483f869f2feafb5da8.zip |
tipc: add support for connect() on dgram/rdm sockets
Following the example of ip4_datagram_connect, we store the
address in the socket structure for dgram/rdm sockets and use
that as the default destination for subsequent send() calls.
It is allowed to connect to any address types, and the behaviour
of send() will be the same as a normal sendto() with this address
provided. Binding to an AF_UNSPEC address clears the association.
Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/parisc')
0 files changed, 0 insertions, 0 deletions