Home
last modified time | relevance | path

Searched refs:logopt (Results 1 – 12 of 12) sorted by relevance

/freebsd-13.1/lib/libcasper/services/cap_syslog/
H A Dcap_syslog.c80 cap_openlog(cap_channel_t *chan, const char *ident, int logopt, int facility) in cap_openlog() argument
89 nvlist_add_number(nvl, "logopt", logopt); in cap_openlog()
91 if (logopt & LOG_PERROR) { in cap_openlog()
153 uint64_t logopt; in slog_openlog() local
162 logopt = nvlist_get_number(nvlin, "logopt"); in slog_openlog()
163 if (logopt & LOG_PERROR) { in slog_openlog()
174 openlog(LogTag, logopt, nvlist_get_number(nvlin, "facility")); in slog_openlog()
H A Dcap_syslog.h42 void cap_openlog(cap_channel_t *chan, const char *ident, int logopt,
54 #define cap_openlog(chan, ident, logopt, facility) \
55 openlog(ident, logopt, facility)
/freebsd-13.1/sbin/ipf/ipf/
H A Dipf.c266 int flag, xfd, logopt, change = 0; in packetlogon() local
316 logopt = 0; in packetlogon()
317 if (ioctl(xfd, SIOCGETLG, &logopt)) in packetlogon()
320 logopt = 1 - logopt; in packetlogon()
321 if (ioctl(xfd, SIOCSETLG, &logopt)) in packetlogon()
333 logopt = 0; in packetlogon()
334 if (ioctl(xfd, SIOCGETLG, &logopt)) in packetlogon()
337 logopt = 1 - logopt; in packetlogon()
338 if (ioctl(xfd, SIOCSETLG, &logopt)) in packetlogon()
/freebsd-13.1/contrib/tcp_wrappers/
H A Dfakelog.c20 void openlog(name, logopt, facility) in openlog() argument
22 int logopt;
/freebsd-13.1/libexec/tftpd/
H A Dtftp-utils.c130 tftp_openlog(const char *ident, int logopt, int facility) in tftp_openlog() argument
135 openlog(ident, logopt, facility); in tftp_openlog()
H A Dtftp-utils.h115 void tftp_openlog(const char *ident, int logopt, int facility);
/freebsd-13.1/usr.sbin/apmd/
H A Dapmd.c644 int logopt = LOG_NDELAY | LOG_PID; in main() local
674 logopt |= LOG_PERROR; in main()
677 openlog(prog ? prog+1 : av[0], logopt, LOG_DAEMON); in main()
/freebsd-13.1/usr.sbin/rtadvd/
H A Drtadvd.c184 int fflag = 0, logopt; in main() local
228 logopt = LOG_NDELAY | LOG_PID; in main()
230 logopt |= LOG_PERROR; in main()
231 openlog("rtadvd", logopt, LOG_DAEMON); in main()
/freebsd-13.1/contrib/libxo/libxo/
H A Dxo.h648 xo_open_log (const char *ident, int logopt, int facility);
/freebsd-13.1/sbin/ipf/common/
H A Dipf_y.y388 logopt
402 logopt
561 logopt: log
/freebsd-13.1/sbin/pfctl/
H A Dparse.y513 %type <v.logquick> logquick quick log logopts logopt
2865 logopts : logopt { $$ = $1; }
2866 | logopts comma logopt {
2874 logopt : ALL { $$.log = PF_LOG_ALL; $$.logif = 0; }
/freebsd-13.1/contrib/libxo/doc/
H A Dapi.rst1482 .. c:function:: void xo_open_log (const char *ident, int logopt, int facility)
1486 :param int logopt: Bit field containing logging options