sockstat tcp/udp switches
Brooks Davis
brooks at one-eyed-alien.net
Fri Nov 3 02:48:44 UTC 2006
On Fri, Nov 03, 2006 at 04:46:21AM +0200, Giorgos Keramidas wrote:
> On 2006-11-02 18:34, Josh Carroll <josh.carroll at psualum.com> wrote:
> > >Can we have something that doesn't need one option letter for each
> > >protocol, protocol family or socket type, please? :)
> >
> > I'd be willing to modify it to take a -P argument with one of:
> >
> > tcp
> > udp
> > tcp,udp
> > udp,tcp
> >
> > 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.
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20061103/693188f7/attachment.pgp
More information about the freebsd-hackers
mailing list