aboutsummaryrefslogtreecommitdiffstats
path: root/src/cache/log.c
blob: 06da0ecee81aff719f9af65de8b2eba96f65d325 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*  ISC license. */

#include <stdint.h>

#include <skalibs/fmtscan.h>
#include <skalibs/strerr.h>
#include <skalibs/ip46.h>

#include "shibari-cache-internal.h"


void log_udp4bad (char const *ip, uint16_t port)
{
  if (g->verbosity >= 3)
  {
  }
}

void log_newtcp4 (char const *ip, uint16_t port)
{
  if (g->verbosity >= 3)
  {
  }
}

void log_tcpbad (uint16_t i)
{
  if (g->verbosity >= 3)
  {
  }
}

void log_tcptimeout (uint16_t i)
{
  if (g->verbosity >= 3)
  {
  }
}

#ifdef SKALIBS_IPV6_ENABLED

void log_udp6bad (char const *ip, uint16_t port)
{
  if (g->verbosity >= 3)
  {
  }
}

void log_newtcp6 (char const *ip, uint16_t port)
{
  if (g->verbosity >= 3)
  {
  }
}

#endif

void log_warn_unexpected_answer(char const *q, uint16_t qlen, uint16_t qtype, int present)
{
  if (g->verbosity)
  {
  }
}