Show
Ignore:
Timestamp:
09/14/11 15:59:49 (3 years ago)
Author:
gdusbabek <gdusbabek@gmail.com>
git-committer:
gdusbabek <gdusbabek@gmail.com> 1316015989 -0500
git-parent:

[efaa4bef860c2bf077259435ade565fd8bad46bc]

git-author:
gdusbabek <gdusbabek@gmail.com> 1315923051 -0500
Message:

noit_check.h fields for ip-prefer and try-other

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_check.h

    r3081176 r1f3d77e  
    7373#define NP_SUPPRESS_METRICS 0x00002000 
    7474 
     75#define NP_PREFER_IP         0x00004000 
     76#define NP_TRY_OTHER_RESOLVE 0x00008000 
     77 
    7578#define NP_UNKNOWN '0'             /* stats_t.{available,state} */ 
    7679#define NP_AVAILABLE 'A'           /* stats_t.available */ 
     
    156159/* It is resolved if it is resolved or never needed to be resolved */ 
    157160#define NOIT_CHECK_RESOLVED(a) (((a)->flags & NP_RESOLVED) || (((a)->flags & NP_RESOLVE) == 0)) 
     161#define NOIT_CHECK_PREFER_V4(a) (((a)->flags & NP_PREFER_IP) == 0) 
     162#define NOIT_CHECK_TRY_OTHER_RESOLVE(a) ((a)->flags & NP_TRY_OTHER_RESOLVE) 
    158163 
    159164API_EXPORT(void) noit_poller_init();