All of lore.kernel.org
 help / color / mirror / Atom feed
* [Question] why are these macros not used?
@ 2010-11-25  8:40 Shan Wei
  0 siblings, 0 replies; only message in thread
From: Shan Wei @ 2010-11-25  8:40 UTC (permalink / raw)
  To: Patrick McHardy, Netfilter Developer Mailing List


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-25  8:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-25  8:40 [Question] why are these macros not used? Shan Wei

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.