From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 3 02:48:44 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C29D616A412 for ; Fri, 3 Nov 2006 02:48:44 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from sccmmhc91.asp.att.net (sccmmhc91.asp.att.net [204.127.203.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43FB843D45 for ; Fri, 3 Nov 2006 02:48:44 +0000 (GMT) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net ([12.207.12.9]) by sccmmhc91.asp.att.net (sccmmhc91) with ESMTP id <20061103024842m9100elbh3e>; Fri, 3 Nov 2006 02:48:42 +0000 Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.8/8.13.8) with ESMTP id kA32mc4R079974; Thu, 2 Nov 2006 20:48:39 -0600 (CST) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.8/8.13.8/Submit) id kA32mbjh079973; Thu, 2 Nov 2006 20:48:37 -0600 (CST) (envelope-from brooks) Date: Thu, 2 Nov 2006 20:48:37 -0600 From: Brooks Davis To: Giorgos Keramidas Message-ID: <20061103024837.GB79357@lor.one-eyed-alien.net> References: <8cb6106e0610311058s7144d38bp2b1dafd114e2b433@mail.gmail.com> <20061102094748.G75543@mignon.ki.iif.hu> <8cb6106e0611021507n6315b629kad8cbbf901343c2@mail.gmail.com> <20061103021803.GC8508@kobe.laptop> <8cb6106e0611021834h17737556y4bb2fda39a4bfa0c@mail.gmail.com> <20061103024621.GB16445@kobe.laptop> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uQr8t48UFsdbeI+V" Content-Disposition: inline In-Reply-To: <20061103024621.GB16445@kobe.laptop> User-Agent: Mutt/1.5.11 Cc: freebsd-hackers@freebsd.org, Josh Carroll Subject: Re: sockstat tcp/udp switches X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2006 02:48:44 -0000 --uQr8t48UFsdbeI+V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 03, 2006 at 04:46:21AM +0200, Giorgos Keramidas wrote: > On 2006-11-02 18:34, Josh Carroll wrote: > > >Can we have something that doesn't need one option letter for each > > >protocol, protocol family or socket type, please? :) > >=20 > > I'd be willing to modify it to take a -P argument with one of: > >=20 > > tcp > > udp > > tcp,udp > > udp,tcp > >=20 > > If the consensus is to add -P, I'd be happy to make the changes. I > > assume without -P we'd want to show both, so perhaps udp,tcp and > > tcp,udp aren't necessary. >=20 > Quite right. If the default is to show *both*, then we only need to > specify one of them in the -P argument. If you want, for the sake of > completeness to support the "-P proto[,proto]" syntax too, that's also > fine, I guess :) We're getting SCTP support RSN so that's probably a good idea... -- Brooks --uQr8t48UFsdbeI+V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFSq4EXY6L6fI4GtQRAljOAKC/1WwgdHoZy6qkM76Mdc3CdJ4i7QCdExnD DMhq4lqM0l3y/x8L+UetcTs= =D144 -----END PGP SIGNATURE----- --uQr8t48UFsdbeI+V--