transform_oids.h
上传用户:wxp200602
上传日期:2007-10-30
资源大小:4028k
文件大小:1k
- #ifndef _net_snmp_transform_oids_h
- #define _net_snmp_transform_oids_h
- #ifdef __cplusplus
- extern "C" {
- #endif
- /*
- * transform_oids.h
- *
- * Numeric MIB names for auth and priv transforms.
- */
- extern oid usmNoAuthProtocol[10]; /* == { 1,3,6,1,6,3,10,1,1,1 }; */
- #ifndef DISABLE_MD5
- extern oid usmHMACMD5AuthProtocol[10]; /* == { 1,3,6,1,6,3,10,1,1,2 }; */
- #endif
- extern oid usmHMACSHA1AuthProtocol[10]; /* == { 1,3,6,1,6,3,10,1,1,3 }; */
- extern oid usmNoPrivProtocol[10]; /* == { 1,3,6,1,6,3,10,1,2,1 }; */
- #ifndef DISABLE_DES
- extern oid usmDESPrivProtocol[10]; /* == { 1,3,6,1,6,3,10,1,2,2 }; */
- #endif
- /* XXX: OIDs not defined yet */
- extern oid usmAESPrivProtocol[10]; /* == { 1,3,6,1,6,3,10,1,2,4 }; */
- extern oid *usmAES128PrivProtocol; /* backwards compat */
- #define USM_AUTH_PROTO_NOAUTH_LEN 10
- #define USM_AUTH_PROTO_MD5_LEN 10
- #define USM_AUTH_PROTO_SHA_LEN 10
- #define USM_PRIV_PROTO_NOPRIV_LEN 10
- #define USM_PRIV_PROTO_DES_LEN 10
- #define USM_PRIV_PROTO_AES_LEN 10
- #define USM_PRIV_PROTO_AES128_LEN 10 /* backwards compat */
- #ifdef __cplusplus
- }
- #endif
- #endif