From: Shan Wei <shanwei@cn.fujitsu.com>
To: Patrick McHardy <kaber@trash.net>,
Netfilter Developer Mailing List
<netfilter-devel@vger.kernel.org>
Subject: [Question] why are these macros not used?
Date: Thu, 25 Nov 2010 16:40:18 +0800 [thread overview]
Message-ID: <4CEE20F2.1080102@cn.fujitsu.com> (raw)
My scripts find lots of macros in nf_nat_snmp_basic.c never
be used after they are added to kernel in commit:
commit 807467c22a12381985878be23c778657fc0364d0
Author: Patrick McHardy <kaber@trash.net>
Date: Sat Dec 2 22:10:34 2006 -0800
[NETFILTER]: nf_nat: add SNMP NAT helper port
Add nf_conntrack port of the SNMP NAT helper.
Will these marcos be used in the future?
Or Is there any reasones for keeping them here?
====================
nf_nat_snmp_basic.c:SNMP_V1 unused!
nf_nat_snmp_basic.c:SNMP_V2C unused!
nf_nat_snmp_basic.c:SNMP_V3 unused!
nf_nat_snmp_basic.c:SNMP_SIZE_COMM unused!
nf_nat_snmp_basic.c:SNMP_SIZE_OBJECTID unused!
nf_nat_snmp_basic.c:SNMP_SIZE_BUFCHR unused!
nf_nat_snmp_basic.c:SNMP_SIZE_BUFINT unused!
nf_nat_snmp_basic.c:SNMP_SIZE_SMALLOBJECTID unused!
nf_nat_snmp_basic.c:SNMP_NOERROR unused!
nf_nat_snmp_basic.c:SNMP_TOOBIG unused!
nf_nat_snmp_basic.c:SNMP_NOSUCHNAME unused!
nf_nat_snmp_basic.c:SNMP_BADVALUE unused!
nf_nat_snmp_basic.c:SNMP_READONLY unused!
nf_nat_snmp_basic.c:SNMP_GENERROR unused!
nf_nat_snmp_basic.c:SNMP_NOACCESS unused!
nf_nat_snmp_basic.c:SNMP_WRONGTYPE unused!
nf_nat_snmp_basic.c:SNMP_WRONGLENGTH unused!
nf_nat_snmp_basic.c:SNMP_WRONGENCODING unused!
nf_nat_snmp_basic.c:SNMP_WRONGVALUE unused!
nf_nat_snmp_basic.c:SNMP_NOCREATION unused!
nf_nat_snmp_basic.c:SNMP_INCONSISTENTVALUE unused!
nf_nat_snmp_basic.c:SNMP_RESOURCEUNAVAILABLE unused!
nf_nat_snmp_basic.c:SNMP_COMMITFAILED unused!
nf_nat_snmp_basic.c:SNMP_UNDOFAILED unused!
nf_nat_snmp_basic.c:SNMP_AUTHORIZATIONERROR unused!
nf_nat_snmp_basic.c:SNMP_NOTWRITABLE unused!
nf_nat_snmp_basic.c:SNMP_INCONSISTENTNAME unused!
nf_nat_snmp_basic.c:SNMP_TRAP_COLDSTART unused!
nf_nat_snmp_basic.c:SNMP_TRAP_WARMSTART unused!
nf_nat_snmp_basic.c:SNMP_TRAP_LINKDOWN unused!
nf_nat_snmp_basic.c:SNMP_TRAP_LINKUP unused!
nf_nat_snmp_basic.c:SNMP_TRAP_AUTFAILURE unused!
nf_nat_snmp_basic.c:SNMP_TRAP_EQPNEIGHBORLOSS unused!
nf_nat_snmp_basic.c:SNMP_TRAP_ENTSPECIFIC unused!
nf_nat_snmp_basic.c:SNMP_UINTEGER unused!
nf_nat_snmp_basic.c:SNMP_NSAP unused!
--
Best Regards
-----
Shan Wei
reply other threads:[~2010-11-25 8:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CEE20F2.1080102@cn.fujitsu.com \
--to=shanwei@cn.fujitsu.com \
--cc=kaber@trash.net \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.