Home
last modified time | relevance | path

Searched refs:lfun (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/blocklist/bin/
H A Dstate.c68 (*lfun)(LOG_ERR, "%s: can't close db (%m)", __func__); in state_close()
87 (*lfun)(LOG_ERR, "%s: can't open `%s' (%m)", __func__, dbname); in state_open()
97 (*lfun)(LOG_ERR, "Key size mismatch %zu != %zu", sizeof(struct conf), in state_sizecheck()
107 (*lfun)(LOG_DEBUG, "%s", buf); in dumpkey()
108 (*lfun)(LOG_DEBUG, "%s: %s", __func__, in dumpkey()
129 (*lfun)(LOG_DEBUG, "%s: returns %d", __func__, rv); in state_del()
134 (*lfun)(LOG_ERR, "%s: failed (%m)", __func__); in state_del()
159 (*lfun)(LOG_DEBUG, "%s: returns %d", __func__, rv); in state_get()
162 (*lfun)(LOG_ERR, "%s: failed (%m)", __func__); in state_get()
184 (*lfun)(LOG_DEBUG, "%s: returns %d", __func__, rv); in state_put()
[all …]
H A Dconf.c121 (*lfun)(LOG_ERR, "%s: %s, %zu: Bad number for %s [%s]", __func__, f, l, in conf_getnum()
125 (*lfun)(LOG_ERR, "%s: %s, %zu: `=' for %s not allowed in local config", in conf_getnum()
189 (*lfun)(LOG_ERR, "%s: %s, %zu: Bad number [%s]", __func__, f, l, p); in conf_getsecs()
192 (*lfun)(LOG_ERR, "%s: %s, %zu: `=' duration not allowed in local" in conf_getsecs()
262 (*lfun)(LOG_DEBUG, "%s: host6 %s", __func__, p); in conf_gethostport()
278 (*lfun)(LOG_DEBUG, "%s: host4 %s", __func__, p); in conf_gethostport()
284 (*lfun)(LOG_DEBUG, "%s: interface %s", in conf_gethostport()
314 (*lfun)(LOG_ERR, "%s: %s, %zu: Bad address [%s]", __func__, f, l, pstr); in conf_gethostport()
317 (*lfun)(LOG_ERR, "%s: %s, %zu: Can't specify mask %d with " in conf_gethostport()
321 (*lfun)(LOG_ERR, "%s: %s, %zu: Interface spec does not make sense " in conf_gethostport()
[all …]
H A Dblacklistd.c126 (*lfun)(LOG_ERR, "getpeername failed (%m)"); in getremoteaddress()
131 (*lfun)(LOG_ERR, "unconnected socket with no peer in message"); in getremoteaddress()
143 (*lfun)(LOG_ERR, "bad client passed socket family %u", in getremoteaddress()
149 (*lfun)(LOG_ERR, "bad client passed socket length %u != %u", in getremoteaddress()
158 (*lfun)(LOG_ERR, in getremoteaddress()
179 (*lfun)(LOG_ERR, "clock_gettime failed (%m)"); in process()
184 (*lfun)(LOG_ERR, "no message (%m)"); in process()
193 (*lfun)(LOG_DEBUG, "processing type=%d fd=%d remote=%s msg=%s" in process()
200 (*lfun)(LOG_DEBUG, "no rule matched"); in process()
210 (*lfun)(LOG_DEBUG, "%s: initial db state for %s: count=%d/%d " in process()
[all …]
H A Drun.c92 (*lfun)(LOG_DEBUG, "%s]", buf); in run()
97 (*lfun)(LOG_ERR, "popen %s failed (%m)", controlprog); in run()
106 (*lfun)(LOG_DEBUG, "%s returns %s", cmd, res); in run()
134 (*lfun)(LOG_ERR, "%s: bad protocol %d", __func__, c->c_proto); in run_change()
H A Dinternal.c48 void (*lfun)(int, const char *, ...) = syslog; variable
H A Dinternal.h54 extern void (*lfun)(int, const char *, ...)
H A Dblacklistctl.c92 lfun = dlog; in main()