Thanks , I will check man page and write the below function inside the code if the struct is there under solaries ,
I have also another issue with gprs directory when compiling as you know ip.h in linux is different than ip.h under solaries , the difference is that solaries has struct ip with different members than linux which has struct iphdr ...I believe we can test GPRS for later stages , can you advise ? I tried to change ip.h to iphdr and change the members inside the code to ip struct members but it didn't work ? Can you advise if we can add the whole iphdr linux struct inside ip.h under solaries ? Does it affect functionality of the program ? Or we need to write the ip communication inside the program gprs_ns_frgre.c from scratch ?
Thanks, Omar atia Sent via BlackBerry® from mtc touch
-----Original Message----- From: Dieter Spaar spaar@mirider.augusta.de Sender: openbsc-bounces@lists.gnumonks.org Date: Fri, 31 Dec 2010 11:38:40 To: openbsc@lists.gnumonks.org Subject: Re: OpenBSC on Solaris (WAS: Re: Notes from the 27C3 network)
Hello Holger,
On Fri, 31 Dec 2010 11:24:41 +0100, "Holger Hans Peter Freyther" holger@freyther.de wrote:
If that is set on the socket for the telnet interface it does make a difference.
Just in case, Cygwin also misses cfmakeraw(), my private modification for this is the following which is of course the same you quoted from the man page.
#if defined(__CYGWIN__) /* Workaround for Cygwin, which is missing cfmakeraw */ /* Pasted from man page */ void cfmakeraw(struct termios *termios_p) { termios_p->c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON); termios_p->c_oflag &= ~OPOST; termios_p->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN); termios_p->c_cflag &= ~(CSIZE|PARENB); termios_p->c_cflag |= CS8; } #endif /* defined(__CYGWIN__) */
Maybe there is a Solaris-specific preprocessor symbol and we can add this function to an appropriate place.
Best regards, Dieter