Lines Matching full:info
134 struct xt_ct_target_info *info = cb->data;
139 info->flags |= XT_CT_NOTRACK;
142 info->ct_events = ct_parse_events(ct_event_tbl, ARRAY_SIZE(ct_event_tbl), cb->arg);
145 info->exp_events = ct_parse_events(exp_event_tbl, ARRAY_SIZE(exp_event_tbl), cb->arg);
152 struct xt_ct_target_info_v1 *info = cb->data;
157 info->flags |= XT_CT_NOTRACK;
160 info->ct_events = ct_parse_events(ct_event_tbl,
165 info->exp_events = ct_parse_events(exp_event_tbl,
174 const struct xt_ct_target_info *info =
178 if (info->flags & XT_CT_NOTRACK)
180 if (info->helper[0])
181 printf(" helper %s", info->helper);
182 if (info->ct_events)
184 ARRAY_SIZE(ct_event_tbl), info->ct_events);
185 if (info->exp_events)
187 ARRAY_SIZE(exp_event_tbl), info->exp_events);
188 if (info->zone)
189 printf("zone %u ", info->zone);
195 const struct xt_ct_target_info_v1 *info =
198 if (info->flags & XT_CT_NOTRACK_ALIAS) {
203 if (info->flags & XT_CT_NOTRACK)
205 if (info->helper[0])
206 printf(" helper %s", info->helper);
207 if (info->timeout[0])
208 printf(" timeout %s", info->timeout);
209 if (info->ct_events)
211 ARRAY_SIZE(ct_event_tbl), info->ct_events);
212 if (info->exp_events)
214 ARRAY_SIZE(exp_event_tbl), info->exp_events);
215 if (info->zone)
216 printf("zone %u ", info->zone);
221 const struct xt_ct_target_info *info =
224 if (info->flags & XT_CT_NOTRACK_ALIAS)
226 if (info->flags & XT_CT_NOTRACK)
228 if (info->helper[0])
229 printf(" --helper %s", info->helper);
230 if (info->ct_events)
232 ARRAY_SIZE(ct_event_tbl), info->ct_events);
233 if (info->exp_events)
235 ARRAY_SIZE(exp_event_tbl), info->exp_events);
236 if (info->zone)
237 printf(" --zone %u", info->zone);
242 const struct xt_ct_target_info_v1 *info =
245 if (info->flags & XT_CT_NOTRACK_ALIAS)
247 if (info->flags & XT_CT_NOTRACK)
249 if (info->helper[0])
250 printf(" --helper %s", info->helper);
251 if (info->timeout[0])
252 printf(" --timeout %s", info->timeout);
253 if (info->ct_events)
255 ARRAY_SIZE(ct_event_tbl), info->ct_events);
256 if (info->exp_events)
258 ARRAY_SIZE(exp_event_tbl), info->exp_events);
259 if (info->zone)
260 printf(" --zone %u", info->zone);
266 struct xt_ct_target_info *info = (void *)target->data;
268 return info->flags & XT_CT_NOTRACK_ALIAS ? "NOTRACK" : "CT";
273 struct xt_ct_target_info *info = (void *)target->data;
275 info->flags = XT_CT_NOTRACK;
280 struct xt_ct_target_info_v1 *info = (void *)target->data;
282 info->flags = XT_CT_NOTRACK;
287 struct xt_ct_target_info_v1 *info = (void *)target->data;
289 info->flags = XT_CT_NOTRACK | XT_CT_NOTRACK_ALIAS;