]> git.ipfire.org Git - thirdparty/squid.git/blame - src/SnmpRequest.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / SnmpRequest.h
CommitLineData
df6c653b 1/*
bbc27441 2 * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
df6c653b 3 *
bbc27441
AJ
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.
df6c653b
FC
7 */
8
bbc27441
AJ
9#ifndef SQUID_SNMPREQUEST_H_
10#define SQUID_SNMPREQUEST_H_
11
df6c653b
FC
12#if SQUID_SNMP
13#include "snmp_session.h"
14
15// POD
16class SnmpRequest
17{
18public:
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_ */
f53969cc 38