9#ifndef SQUID_SNMP_PDU_H
10#define SQUID_SNMP_PDU_H
16#include <netinet/in.h>
92#define SNMP_PDU_GET (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x0)
93#define SNMP_PDU_GETNEXT (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x1)
94#define SNMP_PDU_RESPONSE (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x2)
95#define SNMP_PDU_GETBULK (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x5)
96#define MAX_BINDINGS 2147483647
97#define SNMP_DEFAULT_ERRSTAT -1
98#define SNMP_DEFAULT_ERRINDEX -1
99#define SNMP_DEFAULT_ADDRESS 0
100#define SNMP_DEFAULT_REQID 0
u_char * snmp_pdu_encode(u_char *, int *, struct snmp_pdu *)
struct snmp_pdu * snmp_pdu_clone(struct snmp_pdu *)
u_char * snmp_pdu_decode(u_char *, int *, struct snmp_pdu *)
void snmp_pdu_free(struct snmp_pdu *)
struct snmp_pdu * snmp_pdu_fix(struct snmp_pdu *, int)
void snmp_free_pdu(struct snmp_pdu *)
struct snmp_pdu * snmp_fix_pdu(struct snmp_pdu *, int)
struct snmp_pdu * snmp_pdu_create(int)
void snmp_add_null_var(struct snmp_pdu *, oid *, int)
struct sockaddr_in address
struct variable_list * variables
struct sockaddr_in agent_addr