Lines Matching refs:loginfo
88 struct ebt_log_info *loginfo = (struct ebt_log_info *)t->data; in brlog_init() local
90 loginfo->bitmask = 0; in brlog_init()
91 loginfo->prefix[0] = '\0'; in brlog_init()
92 loginfo->loglevel = LOG_NOTICE; in brlog_init()
98 struct ebt_log_info *loginfo = (struct ebt_log_info *)(*target)->data; in brlog_parse() local
107 if (strlen(optarg) > sizeof(loginfo->prefix) - 1) in brlog_parse()
114 strcpy((char *)loginfo->prefix, (char *)optarg); in brlog_parse()
119 loginfo->loglevel = name_to_loglevel(optarg); in brlog_parse()
121 loginfo->loglevel = i; in brlog_parse()
123 if (loginfo->loglevel == 9) in brlog_parse()
131 loginfo->bitmask |= EBT_LOG_IP; in brlog_parse()
137 loginfo->bitmask |= EBT_LOG_ARP; in brlog_parse()
147 loginfo->bitmask |= EBT_LOG_IP6; in brlog_parse()
153 *flags |= loginfo->bitmask; in brlog_parse()
164 struct ebt_log_info *loginfo = (struct ebt_log_info *)target->data; in brlog_print() local
167 eight_priority[loginfo->loglevel].c_name, in brlog_print()
168 loginfo->prefix); in brlog_print()
170 if (loginfo->bitmask & EBT_LOG_IP) in brlog_print()
172 if (loginfo->bitmask & EBT_LOG_ARP) in brlog_print()
174 if (loginfo->bitmask & EBT_LOG_IP6) in brlog_print()