/net/netfilter/ |
H A D | nf_nat_proto_common.c | 22 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 D | xt_esp.c | 29 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 D | xt_ipcomp.c | 32 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 D | nf_nat_proto_unknown.c | 22 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 D | xt_length.c | 29 return (pktlen >= info->min && pktlen <= info->max) ^ info->invert; 39 return (pktlen >= info->min && pktlen <= info->max) ^ info->invert;
|
H A D | nf_conntrack_extend.c | 128 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 D | nf_nat_proto_gre.c | 50 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 D | ipt_ah.c | 23 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 D | nf_nat_proto_icmp.c | 23 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 D | ipt_MASQUERADE.c | 55 range.min_proto = mr->range[0].min;
|
/net/phonet/ |
H A D | sysctl.c | 51 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 D | ip6t_ah.c | 28 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 D | ip6t_mh.c | 30 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 D | ip6t_frag.c | 27 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 D | nf_nat_proto_icmpv6.c | 25 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 D | ip6t_rt.c | 29 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 D | loss_interval.h | 63 return min(lh->counter, (u8)LIH_SIZE);
|
/net/ipv4/ |
H A D | tcp_scalable.c | 28 tcp_cong_avoid_ai(tp, min(tp->snd_cwnd, TCP_SCALABLE_AI_CNT));
|
H A D | tcp_yeah.c | 85 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 D | tcp_hybla.c | 130 increment = ((1 << min(ca->rho, 16U)) * 161 tp->snd_cwnd = min(tp->snd_cwnd, tp->snd_ssthresh);
|
H A D | tcp_vegas.c | 104 * 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 D | tcp_recv.c | 86 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 D | transport.c | 129 avail -= min(avail, part);
|
/net/dccp/ |
H A D | timer.c | 113 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 D | dn_neigh.c | 466 unsigned char *min = NULL; local 471 if (!min || (*base < *min)) 472 min = base; 476 if (!min) 479 return (*min < priority) ? (min - 6) : NULL;
|