Searched refs:ip_local_ports (Results 1 – 4 of 4) sorted by relevance
57 write_seqlock_bh(&net->ipv4.ip_local_ports.lock); in set_local_port_range()58 if (same_parity && !net->ipv4.ip_local_ports.warned) { in set_local_port_range()59 net->ipv4.ip_local_ports.warned = true; in set_local_port_range()62 net->ipv4.ip_local_ports.range[0] = range[0]; in set_local_port_range()63 net->ipv4.ip_local_ports.range[1] = range[1]; in set_local_port_range()64 write_sequnlock_bh(&net->ipv4.ip_local_ports.lock); in set_local_port_range()72 container_of(table->data, struct net, ipv4.ip_local_ports.range); in ipv4_local_port_range()736 .maxlen = sizeof(init_net.ipv4.ip_local_ports.range),737 .data = &init_net.ipv4.ip_local_ports.range,
125 seq = read_seqbegin(&net->ipv4.ip_local_ports.lock); in inet_get_local_port_range()127 *low = net->ipv4.ip_local_ports.range[0]; in inet_get_local_port_range()128 *high = net->ipv4.ip_local_ports.range[1]; in inet_get_local_port_range()129 } while (read_seqretry(&net->ipv4.ip_local_ports.lock, seq)); in inet_get_local_port_range()
1856 seqlock_init(&net->ipv4.ip_local_ports.lock); in inet_init_net()1857 net->ipv4.ip_local_ports.range[0] = 32768; in inet_init_net()1858 net->ipv4.ip_local_ports.range[1] = 60999; in inet_init_net()
92 struct local_ports ip_local_ports; member