aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorErik Hugne <[email protected]>2015-03-19 08:02:19 +0000
committerDavid S. Miller <[email protected]>2015-03-19 16:25:54 +0000
commitf2f8036e391eb82ee78764483f869f2feafb5da8 (patch)
treeaebead12cc0faf722ad62b94826730754830dd1b /drivers/net/xen-netback/interface.c
parenttipc: do not report -EHOSTUNREACH for failed local delivery (diff)
downloadkernel-f2f8036e391eb82ee78764483f869f2feafb5da8.tar.gz
kernel-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 <[email protected]> Reviewed-by: Ying Xue <[email protected]> Reviewed-by: Jon Maloy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions