Home | History | Annotate | Download | only in extensions

Lines Matching refs:info

36 	struct xt_nflog_info *info = (struct xt_nflog_info *)t->data;
38 info->group = XT_NFLOG_DEFAULT_GROUP;
39 info->threshold = XT_NFLOG_DEFAULT_THRESHOLD;
46 struct xt_nflog_info *info = (struct xt_nflog_info *)(*target)->data;
62 info->group = 1 << (n - 1);
76 if (n >= sizeof(info->prefix))
79 sizeof(info->prefix) - 1);
83 strcpy(info->prefix, optarg);
93 info->len = n;
103 info->threshold = n;
117 static void nflog_print(const struct xt_nflog_info *info, char *prefix)
119 if (info->prefix[0] != '\0')
120 printf("%snflog-prefix \"%s\" ", prefix, info->prefix);
121 if (info->group != XT_NFLOG_DEFAULT_GROUP)
122 printf("%snflog-group %u ", prefix, ffs(info->group));
123 if (info->len)
124 printf("%snflog-range %u ", prefix, info->len);
125 if (info->threshold != XT_NFLOG_DEFAULT_THRESHOLD)
126 printf("%snflog-threshold %u ", prefix, info->threshold);
132 const struct xt_nflog_info *info = (struct xt_nflog_info *)target->data;
134 nflog_print(info, "");
139 const struct xt_nflog_info *info = (struct xt_nflog_info *)target->data;
141 nflog_print(info, "--");