Posted: Sun Jul 18, 2004 11:05 pm Post subject: [Asterisk-bsd] current error on 5.2.1 -p9
rtp.c: In function `rtp_socket':
rtp.c:770: error: `SO_NO_CHECK' undeclared (first use in this function)
rtp.c:770: error: (Each undeclared identifier is reported only once
rtp.c:770: error: for each function it appears in.)
gmake: *** [rtp.o] Error 1
mypbx#
Posted: Mon Jul 19, 2004 7:55 am Post subject: [Asterisk-bsd] current error on 5.2.1 -p9
Richard Neese wrote:
Quote:
rtp.c: In function `rtp_socket':
rtp.c:770: error: `SO_NO_CHECK' undeclared (first use in this function)
rtp.c:770: error: (Each undeclared identifier is reported only once
rtp.c:770: error: for each function it appears in.)
gmake: *** [rtp.o] Error 1
mypbx#
Added to the bug tracker.
The CVS log message when adding this feature:
Add option to disable checksums on RTP UDP ports (bug #2068)
BSD setsockopt doesn't have SO_NO_CHECK as far as I can tell. Anyone that
knows how to disable UDP checksums on FreeBSD?
Posted: Mon Jul 19, 2004 9:07 am Post subject: [Asterisk-bsd] current error on 5.2.1 -p9
On Mon, 2004-07-19 at 08:55, Olle E. Johansson wrote:
Quote:
Richard Neese wrote:
> rtp.c: In function `rtp_socket':
> rtp.c:770: error: `SO_NO_CHECK' undeclared (first use in this function)
> rtp.c:770: error: (Each undeclared identifier is reported only once
> rtp.c:770: error: for each function it appears in.)
> gmake: *** [rtp.o] Error 1
> mypbx#
Added to the bug tracker.
The CVS log message when adding this feature:
Add option to disable checksums on RTP UDP ports (bug #2068)
BSD setsockopt doesn't have SO_NO_CHECK as far as I can tell. Anyone that
knows how to disable UDP checksums on FreeBSD?
I believe you can do this system wide only via a sysctl
net.inet.udp.checksum call. This option should be silently ignored as is
the case in other FreeBSD apps. I am not sure why this is needed in
Linux. My understanding is that FreeBSD uses the ethernet card to
generate the crc if the hardware is available.
Posted: Mon Jul 19, 2004 9:25 am Post subject: [Asterisk-bsd] current error on 5.2.1 -p9
Chris Stenton wrote:
Quote:
On Mon, 2004-07-19 at 08:55, Olle E. Johansson wrote:
>Richard Neese wrote:
>
>
>>rtp.c: In function `rtp_socket':
>>rtp.c:770: error: `SO_NO_CHECK' undeclared (first use in this function)
>>rtp.c:770: error: (Each undeclared identifier is reported only once
>>rtp.c:770: error: for each function it appears in.)
>>gmake: *** [rtp.o] Error 1
>>mypbx#
>
>Added to the bug tracker.
>
>The CVS log message when adding this feature:
> Add option to disable checksums on RTP UDP ports (bug #2068)
>
>BSD setsockopt doesn't have SO_NO_CHECK as far as I can tell. Anyone that
>knows how to disable UDP checksums on FreeBSD?
>
I believe you can do this system wide only via a sysctl
net.inet.udp.checksum call. This option should be silently ignored as is
the case in other FreeBSD apps. I am not sure why this is needed in
Linux. My understanding is that FreeBSD uses the ethernet card to
generate the crc if the hardware is available.
Compile error is not "silently ignored" :-)
Guess we have to disable that functionality under FreeBSD. Any other
BSD that supports this? Does this apply to *all* *BSD?
Posted: Mon Jul 19, 2004 10:10 am Post subject: [Asterisk-bsd] current error on 5.2.1 -p9
On Mon, 2004-07-19 at 10:25, Olle E. Johansson wrote:
Quote:
Chris Stenton wrote:
> On Mon, 2004-07-19 at 08:55, Olle E. Johansson wrote:
>
>>Richard Neese wrote:
>>
>>
>>>rtp.c: In function `rtp_socket':
>>>rtp.c:770: error: `SO_NO_CHECK' undeclared (first use in this function)
>>>rtp.c:770: error: (Each undeclared identifier is reported only once
>>>rtp.c:770: error: for each function it appears in.)
>>>gmake: *** [rtp.o] Error 1
>>>mypbx#
>>
>>Added to the bug tracker.
>>
>>The CVS log message when adding this feature:
>> Add option to disable checksums on RTP UDP ports (bug #2068)
>>
>>BSD setsockopt doesn't have SO_NO_CHECK as far as I can tell. Anyone that
>>knows how to disable UDP checksums on FreeBSD?
>>
>
>
> I believe you can do this system wide only via a sysctl
> net.inet.udp.checksum call. This option should be silently ignored as is
> the case in other FreeBSD apps. I am not sure why this is needed in
> Linux. My understanding is that FreeBSD uses the ethernet card to
> generate the crc if the hardware is available.
Compile error is not "silently ignored" :-)
You know what I meant!
Quote:
Guess we have to disable that functionality under FreeBSD. Any other
BSD that supports this? Does this apply to *all* *BSD?
I think so; SO_NO_CHECK seems to be Linux specific.
Posted: Mon Jul 19, 2004 10:21 am Post subject: [Asterisk-bsd] current error on 5.2.1 -p9
Chris Stenton wrote:
Quote:
On Mon, 2004-07-19 at 10:25, Olle E. Johansson wrote:
>Chris Stenton wrote:
>
>
>>On Mon, 2004-07-19 at 08:55, Olle E. Johansson wrote:
>>
>>
>>>Richard Neese wrote:
>>>
>>>
>>>
>>>>rtp.c: In function `rtp_socket':
>>>>rtp.c:770: error: `SO_NO_CHECK' undeclared (first use in this function)
>>>>rtp.c:770: error: (Each undeclared identifier is reported only once
>>>>rtp.c:770: error: for each function it appears in.)
>>>>gmake: *** [rtp.o] Error 1
>>>>mypbx#
>>>
Seems like we have to disable the parsing of the option in rtp.conf
and issue a warning message, at the same time disabling the setsockopt.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum