Experimental Physics and Industrial Control System
> Note that unfortunately there are two CA servers in EPICS:
> The one under base/src/cas (used by excas)
> and the one under base/src/rsrv (used by the IOC).
> I hope that once you figure out how to fix one,
> you'll also know how to fix the other for netbsd.
>
Nevertheless, both of them rely on the same code snippet for default
initialization of the client and server address lists.
See the definition of ifreq_size for your OS. This is in
src/libCom/osi/os/XXXX/osdSock.h. We have only two versions of ifreq_size
conforming to the two different versions of this particular API that we have
seen.
Version for newer systems (probably originating from NetBSD):
#define ifreq_size(pifreq) (pifreq->ifr_addr.sa_len +
sizeof(pifreq->ifr_name))
Version for older systems:
#define ifreq_size(pifreq) (sizeof(pifreq->ifr_name))
If that doesn't work one might also replace the complete implementation in
src/libCom/osi/os/default/osdNetIntf.c with something else, but that level
of effort hopefully isn't necessary for NetBSD as Darwin is already working
with the more complex version of ifreq_size.
The server's address list can be seen if one types "casr 100" into the IOC's
command line.
Jeff
- References:
- Re: NetBSD Port Kay-Uwe Kasemir
- Navigate by Date:
- Prev:
Re: Fedora Core 6 to drop OpenMotif Kay-Uwe Kasemir
- Next:
Re: NetBSD Port David Dudley
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
<2006>
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: NetBSD Port Kay-Uwe Kasemir
- Next:
Re: NetBSD Port David Dudley
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
<2006>
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024