Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Nov 2006 11:58:38 +0600
From:      Dmitry Frolov <dfrolov@riss-telecom.ru>
To:        freebsd-hackers@freebsd.org
Subject:   Re: sockstat tcp/udp switches
Message-ID:  <20061106055838.GA22879@nerve.riss-telecom.ru>
In-Reply-To: <8cb6106e0611031550y1381b67agdc74144b89de763b@mail.gmail.com>
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> <20061103024837.GB79357@lor.one-eyed-alien.net> <20061103025442.GB16543@kobe.laptop> <8cb6106e0611031550y1381b67agdc74144b89de763b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Josh Carroll <josh.carroll@psualum.com> [04.11.2006 06:15]:

> Below is an initial attempt at the -P argument implementation.

[...]

> 	if (opt_4 || opt_6) {
> -		gather_inet(IPPROTO_TCP);
> -		gather_inet(IPPROTO_UDP);
> +		if(protos[TCP_PROTO] == 1 || protos_defined == -1)
> +			gather_inet(IPPROTO_TCP);
> +		if(protos[UDP_PROTO] == 1 || protos_defined == -1)
> +			gather_inet(IPPROTO_UDP);
> 		gather_inet(IPPROTO_DIVERT);
> 	}

[...]

I see You just let divert protocol pass through. Would be nice if divert
pseudo protocol is also covered.

    wbr&w, dmitry.
-- 
Dmitry Frolov <frolov@riss-telecom.ru>
RISS-Telecom Network, Novosibirsk, Russia
66415911@ICQ, +7 383 2278800, DVF-RIPE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061106055838.GA22879>