Searched refs:min (Results 1 - 25 of 131) sorted by relevance

123456

/net/netfilter/
H A Dnf_nat_proto_common.c22 const union nf_conntrack_man_proto *min,
32 return ntohs(port) >= ntohs(min->all) &&
44 unsigned int range_size, min, i; local
62 min = 1;
63 range_size = 511 - min + 1;
65 min = 600;
66 range_size = 1023 - min + 1;
69 min = 1024;
73 min = ntohs(range->min_proto.all);
74 range_size = ntohs(range->max_proto.all) - min
20 nf_nat_l4proto_in_range(const struct nf_conntrack_tuple *tuple, enum nf_nat_manip_type maniptype, const union nf_conntrack_man_proto *min, const union nf_conntrack_man_proto *max) argument
[all...]
H A Dxt_esp.c29 spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert) argument
33 invert ? '!' : ' ', min, spi, max);
34 r = (spi >= min && spi <= max) ^ invert;
H A Dxt_ipcomp.c32 spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert) argument
36 invert ? '!' : ' ', min, spi, max);
37 r = (spi >= min && spi <= max) ^ invert;
H A Dnf_nat_proto_unknown.c22 const union nf_conntrack_man_proto *min,
20 unknown_in_range(const struct nf_conntrack_tuple *tuple, enum nf_nat_manip_type manip_type, const union nf_conntrack_man_proto *min, const union nf_conntrack_man_proto *max) argument
H A Dxt_length.c29 return (pktlen >= info->min && pktlen <= info->max) ^ info->invert;
39 return (pktlen >= info->min && pktlen <= info->max) ^ info->invert;
H A Dnf_conntrack_extend.c128 enum nf_ct_ext_id min = 0, max = NF_CT_EXT_NUM - 1; local
132 min = type->id;
138 for (i = min; i <= max; i++) {
/net/ipv4/netfilter/
H A Dnf_nat_proto_gre.c50 unsigned int min, i, range_size; local
64 min = 1;
67 min = ntohs(range->min_proto.gre.key);
68 range_size = ntohs(range->max_proto.gre.key) - min + 1;
71 pr_debug("min = %u, range_size = %u\n", min, range_size);
74 *keyptr = htons(min + key % range_size);
H A Dipt_ah.c23 spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert) argument
27 invert ? '!' : ' ', min, spi, max);
28 r=(spi >= min && spi <= max) ^ invert;
H A Dnf_nat_proto_icmp.c23 const union nf_conntrack_man_proto *min,
26 return ntohs(tuple->src.u.icmp.id) >= ntohs(min->icmp.id) &&
21 icmp_in_range(const struct nf_conntrack_tuple *tuple, enum nf_nat_manip_type maniptype, const union nf_conntrack_man_proto *min, const union nf_conntrack_man_proto *max) argument
H A Dipt_MASQUERADE.c55 range.min_proto = mr->range[0].min;
/net/phonet/
H A Dsysctl.c51 void phonet_get_local_port_range(int *min, int *max) argument
57 if (min)
58 *min = local_port_range[0];
/net/ipv6/netfilter/
H A Dip6t_ah.c28 spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert) argument
33 invert ? '!' : ' ', min, spi, max);
34 r = (spi >= min && spi <= max) ^ invert;
H A Dip6t_mh.c30 type_match(u_int8_t min, u_int8_t max, u_int8_t type, bool invert) argument
32 return (type >= min && type <= max) ^ invert;
H A Dip6t_frag.c27 id_match(u_int32_t min, u_int32_t max, u_int32_t id, bool invert) argument
31 min, id, max);
32 r = (id >= min && id <= max) ^ invert;
H A Dnf_nat_proto_icmpv6.c25 const union nf_conntrack_man_proto *min,
28 return ntohs(tuple->src.u.icmp.id) >= ntohs(min->icmp.id) &&
23 icmpv6_in_range(const struct nf_conntrack_tuple *tuple, enum nf_nat_manip_type maniptype, const union nf_conntrack_man_proto *min, const union nf_conntrack_man_proto *max) argument
H A Dip6t_rt.c29 segsleft_match(u_int32_t min, u_int32_t max, u_int32_t id, bool invert) argument
33 invert ? '!' : ' ', min, id, max);
34 r = (id >= min && id <= max) ^ invert;
/net/dccp/ccids/lib/
H A Dloss_interval.h63 return min(lh->counter, (u8)LIH_SIZE);
/net/ipv4/
H A Dtcp_scalable.c28 tcp_cong_avoid_ai(tp, min(tp->snd_cwnd, TCP_SCALABLE_AI_CNT));
H A Dtcp_yeah.c85 if (tp->snd_cwnd_cnt > min(tp->snd_cwnd, TCP_SCALABLE_AI_CNT)) {
140 * calculations. This is the min RTT seen during the
141 * last RTT. Taking the min filters out the effects
159 u32 reduction = min(queue / TCP_YEAH_GAMMA ,
175 yeah->doing_reno_now = min(yeah->doing_reno_now + 1,
213 reduction = min(reduction, max(tp->snd_cwnd>>1, 2U));
H A Dtcp_hybla.c130 increment = ((1 << min(ca->rho, 16U)) *
161 tp->snd_cwnd = min(tp->snd_cwnd, tp->snd_ssthresh);
H A Dtcp_vegas.c104 * o min-filter RTT samples from within an RTT to get the current
105 * propagation delay + queuing delay (we are min-filtering to try to
107 * o min-filter RTT samples from a much longer window (forever for now)
125 /* Find the min RTT during the last RTT to find
128 vegas->minRTT = min(vegas->minRTT, vrtt);
161 return min(tp->snd_ssthresh, tp->snd_cwnd-1);
206 * calculations. This is the min RTT seen during the
207 * last RTT. Taking the min filters out the effects
240 tp->snd_cwnd = min(tp->snd_cwnd, (u32)target_cwnd+1);
/net/rds/
H A Dtcp_recv.c86 to_copy = min(tmp.iov_len, size);
87 to_copy = min(to_copy, skb->len - skb_off);
210 to_copy = min(tc->t_tinc_hdr_rem, left);
236 to_copy = min(tc->t_tinc_data_rem, left);
H A Dtransport.c129 avail -= min(avail, part);
/net/dccp/
H A Dtimer.c113 min(icsk->icsk_rto,
121 icsk->icsk_rto = min(icsk->icsk_rto << 1, DCCP_RTO_MAX);
224 icsk->icsk_ack.ato = min(icsk->icsk_ack.ato << 1,
/net/decnet/
H A Ddn_neigh.c466 unsigned char *min = NULL; local
471 if (!min || (*base < *min))
472 min = base;
476 if (!min)
479 return (*min < priority) ? (min - 6) : NULL;

Completed in 371 milliseconds

123456