Lines Matching refs:info
135 STRUCT_GETINFO info;
258 if ((h->info.valid_hooks & (1 << i))
259 && iptcb_get_entry(h, h->info.hook_entry[i]) == e)
778 strcpy(h->info.name, tablename);
800 STRUCT_GETINFO info;
818 s = sizeof(info);
820 strcpy(info.name, tablename);
821 if (getsockopt(sockfd, TC_IPPROTO, SO_GET_INFO, &info, &s) < 0) {
830 info.valid_hooks, info.num_entries, info.size);
832 if ((h = alloc_handle(info.name, info.size, info.num_entries))
842 h->info = info;
844 h->entries->size = h->info.size;
846 tmp = sizeof(STRUCT_GET_ENTRIES) + h->info.size;
921 printf("Table `%s'\n", handle->info.name);
923 handle->info.hook_entry[HOOK_PRE_ROUTING],
924 handle->info.hook_entry[HOOK_LOCAL_IN],
925 handle->info.hook_entry[HOOK_FORWARD],
926 handle->info.hook_entry[HOOK_LOCAL_OUT],
927 handle->info.hook_entry[HOOK_POST_ROUTING]);
929 handle->info.underflow[HOOK_PRE_ROUTING],
930 handle->info.underflow[HOOK_LOCAL_IN],
931 handle->info.underflow[HOOK_FORWARD],
932 handle->info.underflow[HOOK_LOCAL_OUT],
933 handle->info.underflow[HOOK_POST_ROUTING]);
2067 * (*handle)->info.num_entries);
2080 strcpy(repl->name, (*handle)->info.name);
2084 repl->num_counters = (*handle)->info.num_entries;
2085 repl->valid_hooks = (*handle)->info.valid_hooks;
2114 strcpy(newcounters->name, (*handle)->info.name);