2009/5/20 Roman Jarosz <kedge...@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
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to