Remove (struct tcpcb) from the API?

Adrian Chadd adrian.chadd at gmail.com
Thu Oct 6 20:21:19 UTC 2016


Wait, I thought we had xtcpcb or something to face userland?


-a


On 6 October 2016 at 12:05, Jonathan Looney <jonlooney at gmail.com> wrote:
> Folks,
>
> Currently, the (struct tcpcb) is part of the kernel API. This means that we
> can only mess with the "spare" fields when we MFC things.
>
> Currently, things in userland *should* only be using the
> 'net.inet.tcp.pcblist' to extract the (stuct tcpcb) list from the kernel.
> We *should* be able to switch that sysctl so it only copies out the portion
> of the (struct tcpcb) that is actually needed by userspace. The trick is
> coming up with that list of fields, and then dealing with the fallout when
> userspace things not from the base package break.
>
> Does anyone have an idea of whether things in the ports tree use this and
> will break? And, does anyone have strong feelings one way or the other?
>
> Jonathan
> _______________________________________________
> freebsd-transport at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-transport
> To unsubscribe, send any mail to "freebsd-transport-unsubscribe at freebsd.org"


More information about the freebsd-transport mailing list