Lines Matching defs:TRAP
137 "Trap",
138 #define TRAP 4
149 #define NOTIFY_CLASS(x) (x == TRAP || x == V2TRAP || x == INFORMREQ)
205 * generic-trap values in the SNMP Trap-PDU
1170 * PDUs for all but Trap: (see rfc1157 from page 15 on)
1181 * PDU for Trap:
1185 * generic-trap INTEGER,
1186 * specific-trap INTEGER,
1373 * Decode SNMP Trap PDU
1411 /* generic-trap (Integer) */
1415 fputs("[generic-trap!=INT]", stdout);
1427 /* specific-trap (Integer) */
1431 fputs("[specific-trap!=INT]", stdout);
1437 printf("[specific-trap(%d)!=0]", elem.data.integer);
1458 varbind_print (TRAP, np, length);
1497 if (version == SNMP_VERSION_2 && pdu.id == TRAP) {
1503 case TRAP: