};
-/*****************************************************************************
- *
- * Basic ASN.1 decoding routines (gxsnmp author Dirk Wisse)
- *
- *****************************************************************************/
-
/* Class */
#define ASN1_UNI 0 /* Universal */
#define ASN1_APL 1 /* Application */
return 1;
}
-/*****************************************************************************
- *
- * SNMP decoding routines (gxsnmp author Dirk Wisse)
- *
- *****************************************************************************/
-
/* SNMP Versions */
#define SNMP_V1 0
#define SNMP_V2C 1
return 0;
}
-/*****************************************************************************
- *
- * Misc. routines
- *
- *****************************************************************************/
-
/*
* Parse and mangle SNMP message according to mapping.
* (And this is the fucking 'basic' method).
return 1;
}
-/*****************************************************************************
- *
- * NAT routines.
- *
- *****************************************************************************/
-
/*
* SNMP translation routine.
*/
.tuple.dst.protonum = IPPROTO_UDP,
};
-/*****************************************************************************
- *
- * Module stuff.
- *
- *****************************************************************************/
-
static int __init nf_nat_snmp_basic_init(void)
{
BUG_ON(nf_nat_snmp_hook != NULL);