diff options
| author | Jon Maloy <[email protected]> | 2017-10-13 11:04:24 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-13 08:46:00 -0700 |
| commit | 31c82a2d9d51fccbb85cbd2be983eb115225301c (patch) | |
| tree | a6681b56dfea5bdae4c6d1459abf6c04131aebec /tools/perf/scripts/python | |
| parent | 75da2163dbb6af9f2dce1d80056d11d290dd19a5 (diff) | |
tipc: add second source address to recvmsg()/recvfrom()
With group communication, it becomes important for a message receiver to
identify not only from which socket (identfied by a node:port tuple) the
message was sent, but also the logical identity (type:instance) of the
sending member.
We fix this by adding a second instance of struct sockaddr_tipc to the
source address area when a message is read. The extra address struct
is filled in with data found in the received message header (type,) and
in the local member representation struct (instance.)
Signed-off-by: Jon Maloy <[email protected]>
Acked-by: Ying Xue <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions