/net/core/ |
H A D | flow.c | 77 struct flow_cache *fc = (void *) arg; local 81 per_cpu_ptr(fc->percpu, i)->hash_rnd_recalc = 1; 83 fc->rnd_timer.expires = jiffies + FLOW_HASH_RND_PERIOD; 84 add_timer(&fc->rnd_timer); 130 static void __flow_cache_shrink(struct flow_cache *fc, argument 139 for (i = 0; i < flow_cache_hash_size(fc); i++) { 158 static void flow_cache_shrink(struct flow_cache *fc, argument 161 int shrink_to = fc->low_watermark / flow_cache_hash_size(fc); 163 __flow_cache_shrink(fc, fc 166 flow_new_hash_rnd(struct flow_cache *fc, struct flow_cache_percpu *fcp) argument 174 flow_hash_code(struct flow_cache *fc, struct flow_cache_percpu *fcp, const struct flowi *key, size_t keysize) argument 211 struct flow_cache *fc = &flow_cache_global; local 300 struct flow_cache *fc = info->cache; local 332 flow_cache_percpu_empty(struct flow_cache *fc, int cpu) argument 406 flow_cache_cpu_prepare(struct flow_cache *fc, int cpu) argument 428 struct flow_cache *fc = container_of(nfb, struct flow_cache, hotcpu_notifier); local 447 flow_cache_init(struct flow_cache *fc) argument [all...] |
/net/mac80211/ |
H A D | led.h | 58 ieee80211_tpt_led_trig_tx(struct ieee80211_local *local, __le16 fc, int bytes) argument 61 if (local->tpt_led_trigger && ieee80211_is_data(fc)) 67 ieee80211_tpt_led_trig_rx(struct ieee80211_local *local, __le16 fc, int bytes) argument 70 if (local->tpt_led_trigger && ieee80211_is_data(fc))
|
H A D | status.c | 416 __le16 fc; local 454 fc = hdr->frame_control; 477 ieee80211_is_data_qos(fc)) 487 (ieee80211_is_data_qos(fc))) { 499 if (!acked && ieee80211_is_back_req(fc)) { 582 ieee80211_is_data(fc) || 583 ieee80211_is_mgmt(fc)) 590 if (ieee80211_is_nullfunc(fc) && ieee80211_has_pm(fc) && 609 !(ieee80211_is_data(fc)); [all...] |
H A D | wep.c | 295 __le16 fc = hdr->frame_control; local 297 if (!ieee80211_is_data(fc) && !ieee80211_is_auth(fc)) 308 if (!pskb_may_pull(rx->skb, ieee80211_hdrlen(fc) + WEP_IV_LEN))
|
H A D | rx.c | 1015 __le16 fc; local 1057 fc = hdr->frame_control; 1059 if (!ieee80211_has_protected(fc)) 1068 if (!ieee80211_has_protected(fc)) 1083 } else if (!ieee80211_has_protected(fc)) { 1094 if (ieee80211_is_mgmt(fc) && 1132 hdrlen = ieee80211_hdrlen(fc); 1566 __le16 fc; local 1573 fc = hdr->frame_control; 1575 if (ieee80211_is_ctl(fc)) 1693 ieee80211_drop_unencrypted(struct ieee80211_rx_data *rx, __le16 fc) argument 1719 __le16 fc = hdr->frame_control; local 1811 ieee80211_frame_allowed(struct ieee80211_rx_data *rx, __le16 fc) argument 1934 __le16 fc = hdr->frame_control; local 2129 __le16 fc = hdr->frame_control; local 3123 __le16 fc; local [all...] |
H A D | mesh_ps.c | 26 __le16 fc; local 34 fc = cpu_to_le16(IEEE80211_FTYPE_DATA | IEEE80211_STYPE_QOS_NULLFUNC); 35 ieee80211_fill_mesh_addresses(nullfunc, &fc, sta->sta.addr, 37 nullfunc->frame_control = fc;
|
H A D | tx.c | 429 static int ieee80211_use_mfp(__le16 fc, struct sta_info *sta, argument 432 if (!ieee80211_is_mgmt(fc)) 1240 __le16 fc; local 1246 fc = ((struct ieee80211_hdr *)skb->data)->frame_control; 1282 ieee80211_tpt_led_trig_tx(local, fc, led_len); 1713 __le16 fc; local 1736 fc = cpu_to_le16(IEEE80211_FTYPE_DATA | IEEE80211_STYPE_DATA); 1744 fc |= cpu_to_le16(IEEE80211_FCTL_FROMDS | IEEE80211_FCTL_TODS); 1768 fc |= cpu_to_le16(IEEE80211_FCTL_FROMDS); 1777 fc | [all...] |
H A D | util.c | 52 __le16 fc = hdr->frame_control; local 58 if (ieee80211_is_data(fc)) { 62 if (ieee80211_has_a4(fc)) 64 if (ieee80211_has_tods(fc)) 66 if (ieee80211_has_fromds(fc)) 72 if (ieee80211_is_mgmt(fc)) { 78 if (ieee80211_is_ctl(fc)) { 79 if(ieee80211_is_pspoll(fc)) 82 if (ieee80211_is_back_req(fc)) {
|
H A D | debugfs_netdev.c | 288 __le16 fc; local 303 fc = cpu_to_le16(IEEE80211_FTYPE_DATA | IEEE80211_STYPE_DATA); 307 fc |= cpu_to_le16(IEEE80211_FCTL_FROMDS); 314 fc |= cpu_to_le16(IEEE80211_FCTL_TODS); 331 hdr->frame_control = fc;
|
H A D | rate.c | 204 __le16 fc; local 206 fc = hdr->frame_control; 210 !ieee80211_is_data(fc);
|
H A D | mesh.h | 207 int ieee80211_fill_mesh_addresses(struct ieee80211_hdr *hdr, __le16 *fc,
|
H A D | mlme.c | 929 __le16 fc; local 942 fc = cpu_to_le16(IEEE80211_FTYPE_DATA | IEEE80211_STYPE_NULLFUNC | 944 nullfunc->frame_control = fc; 3253 u16 fc; local 3259 fc = le16_to_cpu(mgmt->frame_control); 3263 switch (fc & IEEE80211_FCTL_STYPE) { 3511 __le16 fc, bool acked) 3515 sdata->u.mgd.status_fc = fc; 3530 __le16 fc = ifmgd->status_fc; local 3535 (ieee80211_is_probe_req(fc) || ieee80211_is_aut 3510 ieee80211_mgd_conn_tx_status(struct ieee80211_sub_if_data *sdata, __le16 fc, bool acked) argument [all...] |
H A D | sta_info.c | 1085 __le16 fc; local 1091 fc = cpu_to_le16(IEEE80211_FTYPE_DATA | 1096 fc = cpu_to_le16(IEEE80211_FTYPE_DATA | 1108 nullfunc->frame_control = fc;
|
H A D | mesh.c | 77 * - Power management control on fc 502 * @fc: frame control field 509 int ieee80211_fill_mesh_addresses(struct ieee80211_hdr *hdr, __le16 *fc, argument 513 *fc |= cpu_to_le16(IEEE80211_FCTL_FROMDS); 520 *fc |= cpu_to_le16(IEEE80211_FCTL_FROMDS | IEEE80211_FCTL_TODS);
|
H A D | ibss.c | 927 u16 fc; local 931 fc = le16_to_cpu(mgmt->frame_control); 938 switch (fc & IEEE80211_FCTL_STYPE) {
|
H A D | cfg.c | 3302 __le16 fc; local 3325 fc = cpu_to_le16(IEEE80211_FTYPE_DATA | 3330 fc = cpu_to_le16(IEEE80211_FTYPE_DATA | 3346 nullfunc->frame_control = fc;
|
H A D | ieee80211_i.h | 1269 __le16 fc, bool acked);
|
/net/mac802154/ |
H A D | wpan.c | 141 u16 fc; local 147 fc = mac_cb_type(skb); 149 fc |= IEEE802154_FC_ACK_REQ; 172 fc |= (daddr->addr_type << IEEE802154_FC_DAMODE_SHIFT); 187 fc |= (saddr->addr_type << IEEE802154_FC_SAMODE_SHIFT); 192 fc |= IEEE802154_FC_INTRA_PAN; 207 head[0] = fc; 208 head[1] = fc >> 8; 221 u16 fc; local 227 fc 455 u16 fc; local [all...] |
/net/atm/ |
H A D | lec.h | 26 unsigned char fc; member in struct:lecdatahdr_8025
|
/net/wireless/ |
H A D | util.c | 264 unsigned int __attribute_const__ ieee80211_hdrlen(__le16 fc) argument 268 if (ieee80211_is_data(fc)) { 269 if (ieee80211_has_a4(fc)) 271 if (ieee80211_is_data_qos(fc)) { 273 if (ieee80211_has_order(fc)) 279 if (ieee80211_is_ctl(fc)) { 289 if ((fc & cpu_to_le16(0x00E0)) == cpu_to_le16(0x00C0)) 452 __le16 fc; local 467 fc = cpu_to_le16(IEEE80211_FTYPE_DATA | IEEE80211_STYPE_DATA); 473 fc | [all...] |
/net/802/ |
H A D | fddi.c | 62 fddi->fc = FDDI_FC_K_ASYNC_LLC_DEF;
|
H A D | hippi.c | 64 hip->le.fc = 0;
|
/net/phonet/ |
H A D | pep.c | 487 u8 fc = fcs[i]; local 489 if (fc > final_fc && fc < PN_MAX_FLOW_CONTROL) 490 final_fc = fc;
|