Lines Matching full:loginfo
55 struct ipt_log_info *loginfo = (struct ipt_log_info *)t->data;
57 loginfo->level = LOG_DEFAULT_LEVEL;
110 const struct ipt_log_info *loginfo
117 loginfo->logflags, loginfo->level);
120 if (loginfo->level == ipt_log_names[i].level) {
125 printf(" UNKNOWN level %u", loginfo->level);
126 if (loginfo->logflags & IPT_LOG_TCPSEQ)
128 if (loginfo->logflags & IPT_LOG_TCPOPT)
130 if (loginfo->logflags & IPT_LOG_IPOPT)
132 if (loginfo->logflags & IPT_LOG_UID)
134 if (loginfo->logflags & IPT_LOG_MACDECODE)
136 if (loginfo->logflags & ~(IPT_LOG_MASK))
140 if (strcmp(loginfo->prefix, "") != 0)
141 printf(" prefix \"%s\"", loginfo->prefix);
146 const struct ipt_log_info *loginfo
149 if (strcmp(loginfo->prefix, "") != 0) {
151 xtables_save_string(loginfo->prefix);
154 if (loginfo->level != LOG_DEFAULT_LEVEL)
155 printf(" --log-level %d", loginfo->level);
157 if (loginfo->logflags & IPT_LOG_TCPSEQ)
159 if (loginfo->logflags & IPT_LOG_TCPOPT)
161 if (loginfo->logflags & IPT_LOG_IPOPT)
163 if (loginfo->logflags & IPT_LOG_UID)
165 if (loginfo->logflags & IPT_LOG_MACDECODE)