ZG2100 Network interface source
Diff: lwip/include/lwip/snmp_asn1.h
- Revision:
- 1:3a7c15057192
- Parent:
- 0:b802fc31f1db
--- a/lwip/include/lwip/snmp_asn1.h Fri Jul 09 15:37:23 2010 +0000 +++ b/lwip/include/lwip/snmp_asn1.h Fri Aug 06 10:23:41 2010 +0000 @@ -46,12 +46,12 @@ extern "C" { #endif -#define SNMP_ASN1_UNIV (!0x80 | !0x40) -#define SNMP_ASN1_APPLIC (!0x80 | 0x40) -#define SNMP_ASN1_CONTXT ( 0x80 | !0x40) +#define SNMP_ASN1_UNIV (0) /* (!0x80 | !0x40) */ +#define SNMP_ASN1_APPLIC (0x40) /* (!0x80 | 0x40) */ +#define SNMP_ASN1_CONTXT (0x80) /* ( 0x80 | !0x40) */ -#define SNMP_ASN1_CONSTR (0x20) -#define SNMP_ASN1_PRIMIT (!0x20) +#define SNMP_ASN1_CONSTR (0x20) /* ( 0x20) */ +#define SNMP_ASN1_PRIMIT (0) /* (!0x20) */ /* universal tags */ #define SNMP_ASN1_INTEG 2