Lines Matching defs:table
73 static int ipv4_local_port_range(struct ctl_table *table, int write,
77 container_of(table->data, struct net, ipv4.ip_local_ports.range);
83 .mode = table->mode,
108 static int ipv4_privileged_ports(struct ctl_table *table, int write,
111 struct net *net = container_of(table->data, struct net,
119 .mode = table->mode,
142 static void inet_get_ping_group_range_table(struct ctl_table *table, kgid_t *low, kgid_t *high)
144 kgid_t *data = table->data;
146 container_of(table->data, struct net, ipv4.ping_group_range.range);
157 static void set_ping_group_range(struct ctl_table *table, kgid_t low, kgid_t high)
159 kgid_t *data = table->data;
161 container_of(table->data, struct net, ipv4.ping_group_range.range);
169 static int ipv4_ping_group_range(struct ctl_table *table, int write,
179 .mode = table->mode,
184 inet_get_ping_group_range_table(table, &low, &high);
198 set_ping_group_range(table, low, high);
204 static int ipv4_fwd_update_priority(struct ctl_table *table, int write,
210 net = container_of(table->data, struct net,
212 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos);
293 static int proc_tcp_fastopen_key(struct ctl_table *table, int write,
296 struct net *net = container_of(table->data, struct net,
364 static int proc_tfo_blackhole_detect_timeout(struct ctl_table *table,
368 struct net *net = container_of(table->data, struct net,
372 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos);
397 static int proc_fib_multipath_hash_policy(struct ctl_table *table, int write,
401 struct net *net = container_of(table->data, struct net,
405 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos);
1317 struct ctl_table *table;
1319 table = ipv4_net_table;
1323 table = kmemdup(table, sizeof(ipv4_net_table), GFP_KERNEL);
1324 if (!table)
1328 if (table[i].data) {
1332 table[i].data += (void *)net - (void *)&init_net;
1337 table[i].mode &= ~0222;
1342 net->ipv4.ipv4_hdr = register_net_sysctl(net, "net/ipv4", table);
1356 kfree(table);
1363 struct ctl_table *table;
1366 table = net->ipv4.ipv4_hdr->ctl_table_arg;
1368 kfree(table);