|
Contiki-NG
|
SNMP Implementation of the BER encodingMore...
Go to the source code of this file.
Macros | |
| #define | BER_DATA_TYPE_EOC 0x00 |
| End-of-Content. More... | |
| #define | BER_DATA_TYPE_INTEGER 0x02 |
| Integer. More... | |
| #define | BER_DATA_TYPE_OCTET_STRING 0x04 |
| Octet String. More... | |
| #define | BER_DATA_TYPE_NULL 0x05 |
| Null. More... | |
| #define | BER_DATA_TYPE_OBJECT_IDENTIFIER 0x06 |
| Object Identifier. More... | |
| #define | BER_DATA_TYPE_SEQUENCE 0x30 |
| Sequence. More... | |
| #define | BER_DATA_TYPE_TIMETICKS 0x43 |
| TimeTicks. More... | |
| #define | BER_DATA_TYPE_NO_SUCH_INSTANCE 0x81 |
| No Such Instance. More... | |
| #define | BER_DATA_TYPE_END_OF_MIB_VIEW 0x82 |
| End of MIB View. More... | |
| #define | BER_DATA_TYPE_PDU_GET_REQUEST 0xA0 |
| PDU Get Request. More... | |
| #define | BER_DATA_TYPE_PDU_GET_NEXT_REQUEST 0xA1 |
| PDU Get Next Request. More... | |
| #define | BER_DATA_TYPE_PDU_GET_RESPONSE 0xA2 |
| PDU Get Reponse. More... | |
| #define | BER_DATA_TYPE_PDU_SET_REQUEST 0xA3 |
| PDU Set Request. More... | |
| #define | BER_DATA_TYPE_PDU_TRAP 0xA4 |
| PDU Trap. More... | |
| #define | BER_DATA_TYPE_PDU_GET_BULK 0xA5 |
| PDU Get Bulk. More... | |
Functions | |
| int | snmp_ber_encode_type (snmp_packet_t *snmp_packet, uint8_t type) |
| Encodes a type. More... | |
| int | snmp_ber_encode_length (snmp_packet_t *snmp_packet, uint16_t length) |
| Encodes the length. More... | |
| int | snmp_ber_encode_integer (snmp_packet_t *snmp_packet, uint32_t integer) |
| Encodes an integer. More... | |
| int | snmp_ber_encode_timeticks (snmp_packet_t *snmp_packet, uint32_t timeticks) |
| Encodes a timeticks. More... | |
| int | snmp_ber_encode_string_len (snmp_packet_t *snmp_packet, const char *str, uint32_t length) |
| Encodes a string. More... | |
| int | snmp_ber_encode_oid (snmp_packet_t *snmp_packet, snmp_oid_t *oid) |
| Encodes a Oid. More... | |
| int | snmp_ber_encode_null (snmp_packet_t *snmp_packet, uint8_t type) |
| Encodes a null. More... | |
| int | snmp_ber_decode_type (snmp_packet_t *snmp_packet, uint8_t *type) |
| Decodes a type. More... | |
| int | snmp_ber_decode_length (snmp_packet_t *snmp_packet, uint8_t *length) |
| Decodes a length. More... | |
| int | snmp_ber_decode_integer (snmp_packet_t *snmp_packet, uint32_t *integer) |
| Decodes an integer. More... | |
| int | snmp_ber_decode_timeticks (snmp_packet_t *snmp_packet, uint32_t *timeticks) |
| Decodes a timeticks. More... | |
| int | snmp_ber_decode_string_len_buffer (snmp_packet_t *snmp_packet, const char **str, uint32_t *length) |
| Decodes a string. More... | |
| int | snmp_ber_decode_null (snmp_packet_t *snmp_packet) |
| Decodes a null. More... | |
| int | snmp_ber_decode_oid (snmp_packet_t *snmp_packet, snmp_oid_t *oid) |
| Decodes an OID. More... | |
SNMP Implementation of the BER encoding
Definition in file snmp-ber.h.
1.8.13