Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2002 15:33:31 -0800
From:      Luigi Rizzo <rizzo@icir.org>
To:        net@freebsd.org
Subject:   CTL_IPPROTO_NAMES used anywhere ?
Message-ID:  <20021101153331.A384@carp.icir.org>

next in thread | raw e-mail | index | archive | help
Hi,
/sys/netinet/in.h contains a huge macro, CTL_IPPROTO_NAMES, which
maps to an array containing protocol names.
As far as i can tell (find /usr/src | xargs grep CTL_IPPROTO_NAMES)
it is not used anywhere in the source tree.

Any objection to nuke it ?
Besides being unused, it is extremely ugly and error prone because
the assumption is that the i-th entry contains the name for
protocol whose identifier is i, but how can you tell...

	cheers
	luigi

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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