1 /*
2  * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #ifndef SQUID_SNMPREQUEST_H_
10 #define SQUID_SNMPREQUEST_H_
11 
12 #if SQUID_SNMP
13 #include "snmp_session.h"
14 
15 // POD
16 class SnmpRequest
17 {
18 public:
19     u_char *buf;
20     u_char *outbuf;
21     int len;
22     int sock;
23     long reqid;
24     int outlen;
25 
26     Ip::Address from;
27 
28     struct snmp_pdu *PDU;
29     ACLChecklist *acl_checklist;
30     u_char *community;
31 
32     struct snmp_session session;
33 };
34 
35 #endif /* SQUID_SNMP */
36 
37 #endif /* SQUID_SNMPREQUEST_H_ */
38 
39