Home
last modified time | relevance | path

Searched refs:rates (Results 1 – 25 of 49) sorted by relevance

12

/external/iptables/extensions/
Dlibxt_limit.c108 static const struct rates struct
112 } rates[] = { { "day", XT_LIMIT_SCALE*24*60*60 }, argument
121 for (i = 1; i < ARRAY_SIZE(rates); ++i) in print_rate()
122 if (period > rates[i].mult in print_rate()
123 || rates[i].mult/period < rates[i].mult%period) in print_rate()
126 printf(" %u/%s", rates[i-1].mult / period, rates[i-1].name); in print_rate()
Dlibxt_hashlimit.c311 static const struct rates struct
315 } rates[] = { { "day", XT_HASHLIMIT_SCALE*24*60*60 }, argument
324 for (i = 1; i < ARRAY_SIZE(rates); ++i) in print_rate()
325 if (period > rates[i].mult in print_rate()
326 || rates[i].mult/period < rates[i].mult%period) in print_rate()
329 printf(" %u/%s", rates[i-1].mult / period, rates[i-1].name); in print_rate()
Dlibxt_rateest.man1 The rate estimator can match on estimated rates as collected by the RATEEST
78 # Estimate outgoing rates
/external/iproute2/misc/
Difstat.c220 double *rates = n->rate; in dump_raw_db() local
228 rates = h1->rate; in dump_raw_db()
236 fprintf(fp, "%llu %u ", vals[i], (unsigned)rates[i]); in dump_raw_db()
246 void format_rate(FILE *fp, unsigned long long *vals, double *rates, int i) in format_rate() argument
256 if (rates[i] > mega) { in format_rate()
257 sprintf(temp, "%uM", (unsigned)(rates[i]/mega)); in format_rate()
259 } else if (rates[i] > kilo) { in format_rate()
260 sprintf(temp, "%uK", (unsigned)(rates[i]/kilo)); in format_rate()
263 fprintf(fp, "%-6u ", (unsigned)rates[i]); in format_rate()
/external/tcpdump/
Dprint-802_11.c72 for (z = 0; z < p.rates.length ; z++) { \
73 PRINT_RATE(sep, p.rates.rate[z], \
74 (p.rates.rate[z] & 0x80 ? "*" : "")); \
77 if (p.rates.length != 0) \
219 memcpy(&(pbody->rates), p + offset, 2); in parse_elements()
221 if (pbody->rates.length != 0) { in parse_elements()
222 if (pbody->rates.length > sizeof pbody->rates.rate) in parse_elements()
224 if (!TTEST2(*(p + offset), pbody->rates.length)) in parse_elements()
226 memcpy(&pbody->rates.rate, p + offset, in parse_elements()
227 pbody->rates.length); in parse_elements()
[all …]
Dieee802_11.h242 struct rates_t rates; member
/external/wpa_supplicant_6/wpa_supplicant/
Dmlme.c109 wpa_s->mlme.curr_rates = mode->rates; in ieee80211_sta_set_channel()
1035 u8 rates[32]; in ieee80211_rx_mgmt_assoc_resp() local
1146 if (rates_len > sizeof(rates)) in ieee80211_rx_mgmt_assoc_resp()
1147 rates_len = sizeof(rates); in ieee80211_rx_mgmt_assoc_resp()
1148 os_memcpy(rates, elems.supp_rates, rates_len); in ieee80211_rx_mgmt_assoc_resp()
1151 if (_len > sizeof(rates) - rates_len) in ieee80211_rx_mgmt_assoc_resp()
1152 _len = sizeof(rates) - rates_len; in ieee80211_rx_mgmt_assoc_resp()
1153 os_memcpy(rates + rates_len, elems.ext_supp_rates, _len); in ieee80211_rx_mgmt_assoc_resp()
1170 if (wpa_drv_mlme_add_sta(wpa_s, wpa_s->bssid, rates, rates_len) < 0) { in ieee80211_rx_mgmt_assoc_resp()
1340 struct ieee80211_rate *rates; in ieee80211_bss_info()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_test.c2580 modes[0].rates = os_calloc(modes[0].num_rates, sizeof(int)); in wpa_driver_test_get_hw_feature_data()
2581 if (modes[0].channels == NULL || modes[0].rates == NULL) in wpa_driver_test_get_hw_feature_data()
2588 modes[0].rates[0] = 10; in wpa_driver_test_get_hw_feature_data()
2589 modes[0].rates[1] = 20; in wpa_driver_test_get_hw_feature_data()
2590 modes[0].rates[2] = 55; in wpa_driver_test_get_hw_feature_data()
2591 modes[0].rates[3] = 110; in wpa_driver_test_get_hw_feature_data()
2592 modes[0].rates[4] = 60; in wpa_driver_test_get_hw_feature_data()
2593 modes[0].rates[5] = 90; in wpa_driver_test_get_hw_feature_data()
2594 modes[0].rates[6] = 120; in wpa_driver_test_get_hw_feature_data()
2595 modes[0].rates[7] = 180; in wpa_driver_test_get_hw_feature_data()
[all …]
Ddriver_hostap.c1115 mode->rates = os_zalloc(rlen); in hostap_get_hw_feature_data()
1116 if (mode->channels == NULL || mode->rates == NULL) { in hostap_get_hw_feature_data()
1118 os_free(mode->rates); in hostap_get_hw_feature_data()
1131 mode->rates[0] = 10; in hostap_get_hw_feature_data()
1132 mode->rates[1] = 20; in hostap_get_hw_feature_data()
1133 mode->rates[2] = 55; in hostap_get_hw_feature_data()
1134 mode->rates[3] = 110; in hostap_get_hw_feature_data()
Ddriver_nl80211.c3593 struct nl_msg *msg, *rates = NULL; in wpa_driver_nl80211_scan() local
3604 rates = nlmsg_alloc(); in wpa_driver_nl80211_scan()
3605 if (rates == NULL) in wpa_driver_nl80211_scan()
3614 NLA_PUT(rates, NL80211_BAND_2GHZ, 8, in wpa_driver_nl80211_scan()
3616 if (nla_put_nested(msg, NL80211_ATTR_SCAN_SUPP_RATES, rates) < in wpa_driver_nl80211_scan()
3672 nlmsg_free(rates); in wpa_driver_nl80211_scan()
4945 mode->rates = os_calloc(mode->num_rates, sizeof(int)); in phy_info_handler()
4946 if (!mode->rates) in phy_info_handler()
4956 mode->rates[idx] = nla_get_u32(tb_rate[NL80211_BITRATE_ATTR_RATE]); in phy_info_handler()
4960 mode->rates[idx] > 200) in phy_info_handler()
[all …]
Ddriver.h86 int *rates; member
/external/iproute2/doc/
Dnstat.sgml47 <item><tt/-t INTERVAL/ - time interval to average rates. Default value
92 for large time. Also <tt/Xstat/ daemon calculates average rates.
94 f.e. for gigabit rates byte counters overflow not more frequently than
96 From the other hand, when <tt/Xstat/ is used for estimating rates
/external/linux-tools-perf/Documentation/
Dperf-report.txt88 - graph: use a graph tree, displaying absolute overhead rates.
89 - fractal: like graph, but displays relative rates. Each branch of
/external/valgrind/main/VEX/
DTODO.txt19 Assess tt_fast miss rates
/external/wpa_supplicant_8/wpa_supplicant/
Dbss.h114 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates);
Dbss.c835 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates) in wpa_bss_get_bit_rates() argument
857 *rates = r; in wpa_bss_get_bit_rates()
/external/wpa_supplicant_8/src/ap/
Dhw_features.c40 os_free(hw_features[i].rates); in hostapd_free_hw_features()
155 mode->rates[i])) in hostapd_prepare_rates()
159 rate->rate = mode->rates[i]; in hostapd_prepare_rates()
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Ddriver_test.c965 modes[0].rates = os_zalloc(sizeof(struct wpa_rate_data)); in wpa_driver_test_get_hw_feature_data()
966 if (modes[0].channels == NULL || modes[0].rates == NULL) { in wpa_driver_test_get_hw_feature_data()
973 modes[0].rates[0].rate = 10; in wpa_driver_test_get_hw_feature_data()
974 modes[0].rates[0].flags = WPA_RATE_BASIC | WPA_RATE_SUPPORTED | in wpa_driver_test_get_hw_feature_data()
Ddriver.h363 struct wpa_rate_data *rates; member
Ddriver_bsd.c588 getmaxrate(uint8_t rates[15], uint8_t nrates) in getmaxrate()
593 int rate = rates[i] & IEEE80211_RATE_VAL; in getmaxrate()
Ddriver_nl80211.c2559 mode->rates = os_zalloc(mode->num_rates * in phy_info_handler()
2561 if (!mode->rates) in phy_info_handler()
2573 mode->rates[idx].rate = nla_get_u32( in phy_info_handler()
2578 mode->rates[idx].rate > 200) in phy_info_handler()
2582 mode->rates[idx].flags |= WPA_RATE_PREAMBLE2; in phy_info_handler()
/external/quake/quake/src/WinQuake/data/
DHELP.TXT8 lines dictate costs, we periodically adjust our rates for Voice Tech
/external/e2fsprogs/
De2fsprogs.spec.in58 uniqueness of time-based UUID generation even at very high rates on
/external/libvorbis/doc/
Drfc5215.txt123 over an exceptionally wide range of bit rates. At the high quality/
126 and higher sample rates (from 8kHz telephony to 192kHz digital
1196 rates, so it is possible to adapt network bandwidth by adjusting the
1198 encoded at different bit rates.
/external/webkit/Source/WebKit/mac/Plugins/
DWebNetscapePluginEventHandlerCarbon.mm34 // Send null events 50 times a second when active, so plug-ins like Flash get high frame rates.

12