Home | History | Annotate | Download | only in libiptc

Lines Matching full:info

270 	if (strcmp(h->info.name, "filter") == 0) {
271 assert(h->info.valid_hooks
277 assert(h->info.hook_entry[NF_IP6_LOCAL_IN] == 0);
281 assert(h->info.hook_entry[NF_IP6_FORWARD] == n);
285 assert(h->info.hook_entry[NF_IP6_LOCAL_OUT] == n);
287 user_offset = h->info.hook_entry[NF_IP6_LOCAL_OUT];
288 } else if (strcmp(h->info.name, "nat") == 0) {
289 assert((h->info.valid_hooks
293 (h->info.valid_hooks
299 assert(h->info.hook_entry[NF_IP6_PRE_ROUTING] == 0);
304 assert(h->info.hook_entry[NF_IP6_POST_ROUTING] == n);
308 assert(h->info.hook_entry[NF_IP6_LOCAL_OUT] == n);
309 user_offset = h->info.hook_entry[NF_IP6_LOCAL_OUT];
311 if (h->info.valid_hooks & (1 << NF_IP6_LOCAL_IN)) {
314 assert(h->info.hook_entry[NF_IP6_LOCAL_IN] == n);
315 user_offset = h->info.hook_entry[NF_IP6_LOCAL_IN];
318 } else if (strcmp(h->info.name, "mangle") == 0) {
322 assert((h->info.valid_hooks
325 (h->info.valid_hooks
333 assert(h->info.hook_entry[NF_IP6_PRE_ROUTING] == 0);
337 if (h->info.valid_hooks & (1 << NF_IP6_LOCAL_IN)) {
339 assert(h->info.hook_entry[NF_IP6_LOCAL_IN] == n);
343 if (h->info.valid_hooks & (1 << NF_IP6_FORWARD)) {
345 assert(h->info.hook_entry[NF_IP6_FORWARD] == n);
350 assert(h->info.hook_entry[NF_IP6_LOCAL_OUT] == n);
351 user_offset = h->info.hook_entry[NF_IP6_LOCAL_OUT];
353 if (h->info.valid_hooks & (1 << NF_IP6_POST_ROUTING)) {
356 assert(h->info.hook_entry[NF_IP6_POST_ROUTING] == n);
357 user_offset = h->info.hook_entry[NF_IP6_POST_ROUTING];
359 } else if (strcmp(h->info.name, "raw") == 0) {
360 assert(h->info.valid_hooks
365 assert(h->info.hook_entry[NF_IP6_PRE_ROUTING] == 0);
369 assert(h->info.hook_entry[NF_IP6_LOCAL_OUT] == n);
371 user_offset = h->info.hook_entry[NF_IP6_LOCAL_OUT];
373 fprintf(stderr, "Unknown table `%s'\n", h->info.name);
387 if (!(h->info.valid_hooks & (1 << i)))
389 assert(h->info.underflow[i]
390 == get_chain_end(h, h->info.hook_entry[i]));
392 e = get_entry(h, get_chain_end(h, h->info.hook_entry[i]));
405 iptcb_entry2index(h, get_entry(h, h->info.hook_entry[i]));
406 iptcb_entry2index(h, get_entry(h, h->info.underflow[i]));
409 assert(h->info.size
410 >= h->info.num_entries * (sizeof(STRUCT_ENTRY)
417 assert(strcmp(h->info.name, h->entries.name) == 0);