[Jack-Devel] [PATCH 0/4] Multicast interface selection

PrevNext  Index
DateSun, 10 Feb 2013 22:30:05 +0100
From Ruslan N. Marchenko <[hidden] at ruff dot mobi>
To[hidden] at jackaudio dot org
Follow-UpRuslan N. Marchenko [Jack-Devel] [PATCH 1/4] Added multicast interface selection to SocketUnix
Follow-UpStéphane Letz Re: [Jack-Devel] [PATCH 0/4] Multicast interface selection
Follow-UpRuslan N. Marchenko [Jack-Devel] [PATCH 2/4] Added multicast interface selection to NetInterface
Follow-UpRuslan N. Marchenko [Jack-Devel] [PATCH 3/4] Added multicast interface selection to NetManager
Follow-UpRuslan N. Marchenko [Jack-Devel] [PATCH 4/4] Added multicast interface selection to NetSlaves
Follow-UpAdrian Knoth Re: [Jack-Devel] [PATCH 0/4] Multicast interface selection
Follow-UpRuslan N. Marchenko Re: [Jack-Devel] [PATCH 0/4] Multicast interface selection
Follow-UpRuslan N. Marchenko Re: [Jack-Devel] [PATCH 0/4] Multicast interface selection
Hi,
Here's an attempt to provide network interface selection for multicast Jack peers.
The interface is selected using option 'multicast-if' or '-f' in all jack2 network
services: netmanager, netadapter and net driver.
The rationale is simple: in multihoming environment (even a laptop with lan and wlan)
selecting proper interface or including all interfaces is sometimes a must have feature.
I've tested it in my home setup with multihomed servers, and laptop with eth and  wlan
as a leaf. 
Spent almost a week figuring out why my old jack2 server cannot peer with newly built
package until figured out a packet format change :)

Next step I'm plannig introducing protocol independent (v4/v6) sockets for posix
(JackUnixSocket) implementation on top of this changes (partially stashed).

I'd appreciate comments, if any.

Regards,
Ruslan
P.S. There's an ubuntu build if anyone's willing to test, under ppa:rufferson/snd.


Ruslan N. Marchenko (4):
  Added multicast interface selection to SocketUnix
  Added multicast interface selection to NetInterface
  Added multicast interface selection to NetManager
  Added multicast interface selection to NetSlaves

 common/JackNetAdapter.cpp   | 18 ++++++++++++-
 common/JackNetDriver.cpp    | 22 +++++++++++++---
 common/JackNetDriver.h      |  2 +-
 common/JackNetInterface.cpp |  9 ++++++-
 common/JackNetInterface.h   |  2 ++
 common/JackNetManager.cpp   | 25 ++++++++++++++++---
 common/JackNetManager.h     |  1 +
 posix/JackNetUnixSocket.cpp | 61 +++++++++++++++++++++++++++++++++++++++++++--
 posix/JackNetUnixSocket.h   |  3 +++
 9 files changed, 132 insertions(+), 11 deletions(-)

-- 
1.8.1.2
PrevNext  Index

1360531851.20603_0.ltw:2, <cover.1360530044.git.me at ruff dot mobi>