Dears,
Sorry for hijacking the thread , next time I will create new thread ...
I will try to bind using IP to avoid using SO_BINDTODEVICE ,and I will google IP_BOUND_IF
as well.
Another issue is the linux command for vty which is the c function under linux called
cfmakeraw which I removed from vty.c cause there is no library under SUN for that command
or function to link with.
Can you please ensure that this commented line will not affect vty functionality ?
Thanks,
Omar atia
------Original Message------
From: Holger Hans Peter Freyther
Sender: openbsc-bounces(a)lists.gnumonks.org
To: openbsc(a)lists.gnumonks.org
Subject: OpenBSC on Solaris (WAS: Re: Notes from the 27C3 network)
Sent: Dec 31, 2010 11:28 AM
On 12/31/2010 12:30 AM, Omar Atia wrote:
Dears ,, please help ::
Dear Omar,
please do not hijack threads, start a new one instead.
in ipaccess-find.c , can we use bind instead of setsockopt cause solaries
doesn't have SO_BINDTODEVICE defined in socket.h.
For ipaccess-find is sending a broadcast packet, so it is important to select
the physical interface it should be send on. For the user it is more
convenient to write the interface name then to remember the ip address of this
interface.
Does Solaris provide another way to bind to a specific interface? What about
IP_BOUND_IF? If that is not the case we could consider doing a normal bind and
bind to the interface via an ip...
z.
Sent via BlackBerry® from mtc touch