Home | History | Annotate | Download | only in extensions

Lines Matching refs:info

80 parse_string(const char *s, struct xt_string_info *info)
84 strncpy(info->pattern, s, XT_STRING_MAX_PATTERN_SIZE);
85 info->patlen = strnlen(s, XT_STRING_MAX_PATTERN_SIZE);
92 parse_hex_string(const char *s, struct xt_string_info *info)
131 info->pattern[sindex] = s[i+1];
153 info->pattern[sindex] = (char) schar;
159 info->pattern[sindex] = s[i];
166 info->patlen = sindex;
255 const struct xt_string_info *info =
258 int invert = (revision == 0 ? info->u.v0.invert :
259 info->u.v1.flags & XT_STRING_FLAG_INVERT);
261 if (is_hex_string(info->pattern, info->patlen)) {
263 print_hex_string(info->pattern, info->patlen);
266 print_string(info->pattern, info->patlen);
268 printf(" ALGO name %s", info->algo);
269 if (info->from_offset != 0)
270 printf(" FROM %u", info->from_offset);
271 if (info->to_offset != 0)
272 printf(" TO %u", info->to_offset);
273 if (revision > 0 && info->u.v1.flags & XT_STRING_FLAG_IGNORECASE)
279 const struct xt_string_info *info =
282 int invert = (revision == 0 ? info->u.v0.invert :
283 info->u.v1.flags & XT_STRING_FLAG_INVERT);
285 if (is_hex_string(info->pattern, info->patlen)) {
287 print_hex_string(info->pattern, info->patlen);
290 print_string(info->pattern, info->patlen);
292 printf(" --algo %s", info->algo);
293 if (info->from_offset != 0)
294 printf(" --from %u", info->from_offset);
295 if (info->to_offset != 0)
296 printf(" --to %u", info->to_offset);
297 if (revision > 0 && info->u.v1.flags & XT_STRING_FLAG_IGNORECASE)