Lines Matching defs:table
68 static int ipv4_local_port_range(struct ctl_table *table, int write,
72 container_of(table->data, struct net, ipv4.ip_local_ports.range);
78 .mode = table->mode,
103 static int ipv4_privileged_ports(struct ctl_table *table, int write,
106 struct net *net = container_of(table->data, struct net,
114 .mode = table->mode,
137 static void inet_get_ping_group_range_table(struct ctl_table *table, kgid_t *low, kgid_t *high)
139 kgid_t *data = table->data;
141 container_of(table->data, struct net, ipv4.ping_group_range.range);
152 static void set_ping_group_range(struct ctl_table *table, kgid_t low, kgid_t high)
154 kgid_t *data = table->data;
156 container_of(table->data, struct net, ipv4.ping_group_range.range);
164 static int ipv4_ping_group_range(struct ctl_table *table, int write,
174 .mode = table->mode,
179 inet_get_ping_group_range_table(table, &low, &high);
193 set_ping_group_range(table, low, high);
199 static int ipv4_fwd_update_priority(struct ctl_table *table, int write,
205 net = container_of(table->data, struct net,
207 ret = proc_dou8vec_minmax(table, write, buffer, lenp, ppos);
288 static int proc_tcp_fastopen_key(struct ctl_table *table, int write,
291 struct net *net = container_of(table->data, struct net,
359 static int proc_tfo_blackhole_detect_timeout(struct ctl_table *table,
363 struct net *net = container_of(table->data, struct net,
367 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos);
391 static int proc_tcp_ehash_entries(struct ctl_table *table, int write,
394 struct net *net = container_of(table->data, struct net,
415 static int proc_udp_hash_entries(struct ctl_table *table, int write,
418 struct net *net = container_of(table->data, struct net,
439 static int proc_fib_multipath_hash_policy(struct ctl_table *table, int write,
443 struct net *net = container_of(table->data, struct net,
447 ret = proc_dou8vec_minmax(table, write, buffer, lenp, ppos);
454 static int proc_fib_multipath_hash_fields(struct ctl_table *table, int write,
461 net = container_of(table->data, struct net,
463 ret = proc_douintvec_minmax(table, write, buffer, lenp, ppos);
1497 struct ctl_table *table;
1499 table = ipv4_net_table;
1503 table = kmemdup(table, sizeof(ipv4_net_table), GFP_KERNEL);
1504 if (!table)
1508 if (table[i].data) {
1512 table[i].data += (void *)net - (void *)&init_net;
1517 table[i].mode &= ~0222;
1522 net->ipv4.ipv4_hdr = register_net_sysctl_sz(net, "net/ipv4", table,
1537 kfree(table);
1544 struct ctl_table *table;
1547 table = net->ipv4.ipv4_hdr->ctl_table_arg;
1549 kfree(table);