/net/phonet/ |
H A D | sysctl.c | 51 void phonet_get_local_port_range(int *min, int *max) argument 59 if (max) 60 *max = local_port_range[1];
|
/net/ipv4/netfilter/ |
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 | 24 const union nf_conntrack_man_proto *max) 27 ntohs(tuple->src.u.icmp.id) <= ntohs(max->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
|
/net/netfilter/ |
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 | nf_nat_proto_unknown.c | 23 const union nf_conntrack_man_proto *max) 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_nat_proto_common.c | 23 const union nf_conntrack_man_proto *max) 33 ntohs(port) <= ntohs(max->all); 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
|
H A D | nf_conntrack_extend.c | 128 enum nf_ct_ext_id min = 0, max = NF_CT_EXT_NUM - 1; local 133 max = type->id; 138 for (i = min; i <= max; i++) {
|
/net/sctp/ |
H A D | chunk.c | 176 int max, whole, i, offset, over, err; local 207 max = asoc->frag_point; 220 /* Now, check if we need to reduce our max */ 221 if (max > max_data) 222 max = max_data; 225 first_len = max; 236 msg_len > max) 255 whole += msg_len / max; 256 over = msg_len % max; 305 len = max; [all...] |
/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 | 26 const union nf_conntrack_man_proto *max) 29 ntohs(tuple->src.u.icmp.id) <= ntohs(max->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/ipv4/ |
H A D | tcp_scalable.c | 34 return max(tp->snd_cwnd - (tp->snd_cwnd>>TCP_SCALABLE_MD_SCALE), 2U);
|
H A D | tcp_yeah.c | 167 tp->snd_cwnd = max(tp->snd_cwnd, 174 yeah->reno_count = max(tp->snd_cwnd>>1, 2U); 216 reduction = min( reduction, max(tp->snd_cwnd>>1, 2U) ); 218 reduction = max( reduction, tp->snd_cwnd >> TCP_YEAH_DELTA); 220 reduction = max(tp->snd_cwnd>>1, 2U); 223 yeah->reno_count = max(yeah->reno_count>>1, 2U);
|
H A D | tcp_veno.c | 198 return max(tp->snd_cwnd * 4 / 5, 2U); 201 return max(tp->snd_cwnd >> 1U, 2U);
|
H A D | tcp_highspeed.c | 157 return max(tp->snd_cwnd - ((tp->snd_cwnd * hstcp_aimd_vals[ca->ai].md) >> 8), 2U);
|
H A D | tcp_bic.c | 26 * go to point (max+min)/N 182 return max(tp->snd_cwnd >> 1U, 2U); 184 return max((tp->snd_cwnd * beta) / BICTCP_BETA_SCALE, 2U); 191 return max(tp->snd_cwnd, ca->loss_cwnd);
|
/net/wireless/ |
H A D | wext-priv.c | 68 int max = args & IW_PRIV_SIZE_MASK; local 72 if (max < num) 73 num = max;
|
/net/dccp/ccids/ |
H A D | ccid3.c | 79 * X_init = min(4 * s, max(2 * s, 4380 bytes)) / RTT 139 min_rate = max(min_rate, 2 * hc->tx_x_recv); 145 hc->tx_x = max(hc->tx_x, (((__u64)hc->tx_s) << 6) / TFRC_T_MBI); 150 hc->tx_x = max(hc->tx_x, 229 hc->tx_x = max(hc->tx_x / 2, 237 * X_recv = max(X_recv / 2, s / (2 * t_mbi)); 245 max(hc->tx_x_recv / 2, 263 t_nfb = max(hc->tx_t_rto, 2 * hc->tx_t_ipi); 453 * max(t_RTO, 2 * s/X) = max(t_RT [all...] |
H A D | ccid2.c | 199 win_used = max(hc->tx_cwnd_used, init_win); 202 hc->tx_ssthresh = max(hc->tx_ssthresh, 219 hc->tx_ssthresh = max(hc->tx_ssthresh, (cwnd >> 1) + (cwnd >> 2)); 224 hc->tx_cwnd = max(cwnd, restart_cwnd); 366 hc->tx_mdev_max = max(hc->tx_mdev, tcp_rto_min(sk)); 484 hc->tx_ssthresh = max(hc->tx_cwnd, 2U); 716 /* RFC 4341, 5: initialise ssthresh to arbitrarily high (max) value */
|
/net/sched/ |
H A D | sch_sfb.c | 61 u32 max; member in struct:sfb_sched_data 199 * compute max qlen, max p_mark, and avg p_mark 348 if (unlikely(minqlen >= q->max)) { 481 .max = 25, 529 q->max = ctl->max; 563 .max = q->max,
|
/net/ceph/ |
H A D | osdmap.c | 622 * adjust max osd value. reallocate arrays. 624 static int osdmap_set_max_osd(struct ceph_osdmap *map, int max) argument 630 state = kcalloc(max, sizeof(*state), GFP_NOFS); 631 addr = kcalloc(max, sizeof(*addr), GFP_NOFS); 632 weight = kcalloc(max, sizeof(*weight), GFP_NOFS); 653 map->max_osd = max; 664 u32 len, max, i; local 692 ceph_decode_32_safe(p, end, max, bad); 693 while (max--) { 718 max 814 __s32 new_flags, max; local [all...] |
/net/bridge/ |
H A D | br_multicast.c | 58 return jhash_2words((__force u32)ip, vid, mdb->secret) & (mdb->max - 1); 67 mdb->secret) & (mdb->max - 1); 185 for (i = 0; i < old->max; i++) 194 for (i = 0; i < new->max; i++) { 298 static int br_mdb_rehash(struct net_bridge_mdb_htable __rcu **mdbp, int max, argument 309 mdb->max = max; 312 mdb->mhash = kzalloc(max * sizeof(*mdb->mhash), GFP_ATOMIC); 514 unsigned int max; local 526 max [all...] |