From owner-freebsd-transport@freebsd.org Thu Oct 6 20:21:19 2016 Return-Path: Delivered-To: freebsd-transport@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D009CBEC9D9 for ; Thu, 6 Oct 2016 20:21:19 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x235.google.com (mail-it0-x235.google.com [IPv6:2607:f8b0:4001:c0b::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9AB65E44 for ; Thu, 6 Oct 2016 20:21:19 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x235.google.com with SMTP id o19so41118471ito.1 for ; Thu, 06 Oct 2016 13:21:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=eXxbbbZ4FCKpWO95fBI+uBDYNx5qi1zqK8KAMuKXtWM=; b=1IeVVhccXa1vzezB3ynnT9bH7kStU2ZfOPNE138pCzyIswJn3D9EzTXWXOkxjmlBTg YYM1Rq9qR0zlXRNSTtK75NEXHPWhHYr6F595ycOImmdZYohApcVT6Fua11Yr8rndUb0j By+EDz9p8HPZE9c9jJcjD04z1OpILw6+iiR5R3Lv0S7JyZK8MMZdPXCt4NMSMkjHqSR6 A/8VGLNopbphSkF32qX+a9RdCfIF+xdlW+t2hTs6NwuTTNt2wZvYinJFvqozozKjoIZw GJqL7DEZa+NG8KpsX2S+bA5Afd6E/3ueDjpopAGh3N6ns5sn2kJxdfOfo+pQAIsG2ucF a3iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=eXxbbbZ4FCKpWO95fBI+uBDYNx5qi1zqK8KAMuKXtWM=; b=Ejesoski+/tEuHSQ/ljMBsPjm+pi4yxY3IPtCL8PoytCpwyaaQkzSVy21ua5HNChQB dGP8f6xAZpU2iUSw/wKM3J5Lhk8ozy9CGO//OPWsmY9H8FMa5ZvedDcqj14bGzfCVMkc en+cy25sYyGEKxU7UbTuJYeoic7RM0g81CraB8rZAriQSy5gGB/dnPUiA3qgqgLVPJdb BYPz8c4iu/xPU1rvZ9phxOj10qLVMammkmeCYU3HlFPkwrZnoyKyc53wHvV+MeoHRBw8 3+1nzCH31OYLhaAJ4aFGv3rne/1khDj9fGjNGbWLBa/YX+MuwPgob+RTj6zBsnC4KYvs Efbw== X-Gm-Message-State: AA6/9RmxpggDLgRfu4nlWmrwQSvAQEzhaR/QPKAJZJ7zIOA8sOF33lWagbedhQvO3T/0ADsWHny31+FHySp/LQ== X-Received: by 10.36.200.85 with SMTP id w82mr25800423itf.29.1475785278943; Thu, 06 Oct 2016 13:21:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Thu, 6 Oct 2016 13:21:18 -0700 (PDT) In-Reply-To: References: From: Adrian Chadd Date: Thu, 6 Oct 2016 13:21:18 -0700 Message-ID: Subject: Re: Remove (struct tcpcb) from the API? To: Jonathan Looney Cc: "" Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Thu, 06 Oct 2016 22:32:39 +0000 X-BeenThere: freebsd-transport@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions of transport level network protocols in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2016 20:21:19 -0000 Wait, I thought we had xtcpcb or something to face userland? -a On 6 October 2016 at 12:05, Jonathan Looney 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@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-transport > To unsubscribe, send any mail to "freebsd-transport-unsubscribe@freebsd.org"