Imported Upstream version 2.7
[ossec-hids.git] / src / headers / ar.h
1 /* @(#) $Id: ./src/headers/ar.h, 2011/09/08 dcid Exp $
2  */
3
4 /* Copyright (C) 2009 Trend Micro Inc.
5  * All right reserved.
6  *
7  * This program is a free software; you can redistribute it
8  * and/or modify it under the terms of the GNU General Public
9  * License (version 2) as published by the FSF - Free Software
10  * Foundation
11  */
12
13 /* Active response shared headers */
14
15 #ifndef __AR_H
16
17 #define __AR_H
18
19
20 /* Recepient agents */
21 #define ALL_AGENTS      0000001
22 #define REMOTE_AGENT    0000002
23 #define SPECIFIC_AGENT  0000004
24 #define AS_ONLY         0000010
25
26 /* We now also support non active response messages in here. */
27 #define NO_AR_MSG       0000020
28
29 #define ALL_AGENTS_C     'A'
30 #define REMOTE_AGENT_C   'R'
31 #define SPECIFIC_AGENT_C 'S'
32 #define NONE_C           'N'
33 #define NO_AR_C          '!'
34
35
36 /* AR  Queues to use */
37 #define REMOTE_AR       00001
38 #define LOCAL_AR        00002
39
40
41 /* Expected values */
42 #define SRCIP       0000004
43 #define DSTIP       0000002
44 #define USERNAME    0000001
45
46
47 #endif
48
49 /* EOF */