[kde-freebsd] [kopete-devel] tcp_info and FreeBSD

Roman Jarosz kedgedev at gmail.com
Wed May 20 15:07:56 CEST 2009


Will it compile if you change the two Q_WS_X11 to Q_OS_LINUX (without the  
patch)?

On Wed, 20 May 2009 14:58:01 +0200, Raphael Kubo da Costa  
<kubito at gmail.com> wrote:

> 2009/5/20 Roman Jarosz <kedgedev at gmail.com>:
>> 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
> Hi,
>
> According to  
> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/tcp.h?rev=1.43,
> that API/ABI for FreeBSD is unstable and also the fields padded with
> '__' are used to "make room for omitted fields in case they are added
> later", so currently they aren't implemented.
>
> In this case, I think FreeBSD (and other BSDs I think, when I was
> googling I read NetBSD doesn't have tcp_info at all, but that may have
> changed) should not use this structure at all.
>
> Cheers,
> Raphael
> _______________________________________________
> kopete-devel mailing list
> kopete-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kopete-devel




More information about the kde-freebsd mailing list