Lines Matching defs:ipmonopts

155 int	ipmonopts = 0;
487 if (!res || (ipmonopts & IPMON_PORTNUM))
656 if ((ipmonopts & IPMON_SYSLOG) != 0) {
671 res = (ipmonopts & IPMON_RESOLVE) ? 1 : 0;
675 if (!(ipmonopts & IPMON_SYSLOG)) {
820 if (ipmonopts & IPMON_SYSLOG)
842 if ((ipmonopts & IPMON_SYSLOG) != 0) {
857 res = (ipmonopts & IPMON_RESOLVE) ? 1 : 0;
860 if (!(ipmonopts & IPMON_SYSLOG)) {
975 if (ipmonopts & IPMON_SYSLOG)
1067 if ((ipmonopts & IPMON_SYSLOG) != 0) {
1084 res = (ipmonopts & IPMON_RESOLVE) ? 1 : 0;
1090 if (!(ipmonopts & IPMON_SYSLOG)) {
1230 if (ipmonopts & IPMON_VERBOSE) {
1413 defaction = check_action(buf, line, ipmonopts, lvl);
1416 if (ipmonopts & IPMON_SYSLOG) {
1422 if (ipmonopts & IPMON_HEXHDR) {
1423 dumphex(conf->log, ipmonopts, buf,
1426 if (ipmonopts & IPMON_HEXBODY) {
1427 dumphex(conf->log, ipmonopts, (char *)ip,
1429 } else if ((ipmonopts & IPMON_LOGBODY) &&
1431 dumphex(conf->log, ipmonopts, (char *)ip + ipf->fl_hlen,
1490 if (ipmonopts & IPMON_SYSLOG) {
1527 ipmonopts |= flags;
1529 ipmonopts &= ~(flags);
1581 ipmonopts |= IPMON_LOGALL;
1587 ipmonopts |= IPMON_LOGBODY;
1600 ipmonopts |= IPMON_FILTER;
1619 ipmonopts |= IPMON_RESOLVE;
1623 ipmonopts |= IPMON_NAT;
1629 if (ipmonopts & IPMON_FILTER)
1631 if (ipmonopts & IPMON_NAT)
1633 if (ipmonopts & IPMON_STATE)
1637 ipmonopts |= IPMON_PORTNUM;
1643 ipmonopts |= IPMON_SYSLOG;
1647 ipmonopts |= IPMON_STATE;
1652 ipmonopts |= IPMON_TAIL;
1655 ipmonopts |= IPMON_VERBOSE;
1658 ipmonopts |= IPMON_HEXBODY;
1661 ipmonopts |= IPMON_HEXHDR;
1669 if (ipmonopts & IPMON_SYSLOG)
1689 if (!(ipmonopts & IPMON_SYSLOG)) {
1704 ((config.log != stdout) || (ipmonopts & IPMON_SYSLOG))) {
1706 daemon(0, !(ipmonopts & IPMON_SYSLOG));
1724 if ((ipmonopts & IPMON_SYSLOG))
1811 if (!tr && !(ipmonopts & IPMON_TAIL))
1843 if (ipmonopts & IPMON_SYSLOG)
1850 if (ipmonopts & IPMON_SYSLOG)
1861 if (!(ipmonopts & IPMON_SYSLOG))
1868 if (!nr && (ipmonopts & IPMON_TAIL))