[kde-freebsd] tcp_info and FreeBSD

Roman Jarosz kedgedev at gmail.com
Wed May 20 11:48:02 CEST 2009


I've created patch which may fix this (but I can't test it).

I don't know if Q_OS_BSD4 is the correct macro you may have to adjust that
the available macros are here http://doc.trolltech.com/4.5/qtglobal.html

Regards,
Roman

On Wed, 20 May 2009 09:16:54 +0200, Roman Jarosz <kedgedev at gmail.com>  
wrote:

> Other platforms are fine because there's ifdef for linux.
> As you said FreeBSD should also have this the only difference is that
> the tcpi_last_ack_recv and tcpi_last_data_sent in FreeBSD have
> __tcpi_last_ack_recv and __tcpi_last_data_sent I don't know how to detect
> FreeBSD but it should be possible with some ifdefs
>
> Btw. I was googling for 3 hours and this is the only way which works on
> linux.
>
> Regards,
> Roman
>
> On Wed, 20 May 2009 07:17:37 +0200, Raphael Kubo da Costa  
> <kubito at gmail.com> wrote:
>
>> Hello,
>>
>> Commit 970289 seems to break compilation on non-Linux platforms -- I'm
>> not sure about Windows, but at least FreeBSD (most certainly OpenBSD
>> and NetBSD too) doesn't compile anymore because tcp_info seems to be
>> Linux-only and is being experimentally and partially added to FreeBSD.
>>
>> I'm no networking code expert, but isn't there a way to make this more
>> cross-platform?
>>
>> I am CC'ing kde-freebsd as well, but I don't know if all replies will
>> be sent to both lists.
>>
>> Cheers,
>> Raphael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tw.diff
Type: text/x-patch
Size: 1234 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20090520/92d22e09/attachment.diff 


More information about the kde-freebsd mailing list