Searched refs:ip_local_ports (Results 1 – 4 of 4) sorted by relevance
62 write_seqlock_bh(&net->ipv4.ip_local_ports.lock); in set_local_port_range()63 if (same_parity && !net->ipv4.ip_local_ports.warned) { in set_local_port_range()64 net->ipv4.ip_local_ports.warned = true; in set_local_port_range()67 net->ipv4.ip_local_ports.range[0] = range[0]; in set_local_port_range()68 net->ipv4.ip_local_ports.range[1] = range[1]; in set_local_port_range()69 write_sequnlock_bh(&net->ipv4.ip_local_ports.lock); in set_local_port_range()77 container_of(table->data, struct net, ipv4.ip_local_ports.range); in ipv4_local_port_range()717 .maxlen = sizeof(init_net.ipv4.ip_local_ports.range),718 .data = &init_net.ipv4.ip_local_ports.range,
138 seq = read_seqbegin(&net->ipv4.ip_local_ports.lock); in inet_get_local_port_range()140 *low = net->ipv4.ip_local_ports.range[0]; in inet_get_local_port_range()141 *high = net->ipv4.ip_local_ports.range[1]; in inet_get_local_port_range()142 } while (read_seqretry(&net->ipv4.ip_local_ports.lock, seq)); in inet_get_local_port_range()
1850 seqlock_init(&net->ipv4.ip_local_ports.lock); in inet_init_net()1851 net->ipv4.ip_local_ports.range[0] = 32768; in inet_init_net()1852 net->ipv4.ip_local_ports.range[1] = 60999; in inet_init_net()
94 struct local_ports ip_local_ports; member