/net/mac80211/ |
D | spectmgmt.c | 47 skb_put(skb, 1 + sizeof(msr_report->u.action.u.measurement)); in ieee80211_send_refuse_measurement_request() 48 msr_report->u.action.category = WLAN_CATEGORY_SPECTRUM_MGMT; in ieee80211_send_refuse_measurement_request() 49 msr_report->u.action.u.measurement.action_code = in ieee80211_send_refuse_measurement_request() 51 msr_report->u.action.u.measurement.dialog_token = dialog_token; in ieee80211_send_refuse_measurement_request() 53 msr_report->u.action.u.measurement.element_id = WLAN_EID_MEASURE_REPORT; in ieee80211_send_refuse_measurement_request() 54 msr_report->u.action.u.measurement.length = in ieee80211_send_refuse_measurement_request() 57 memset(&msr_report->u.action.u.measurement.msr_elem, 0, in ieee80211_send_refuse_measurement_request() 59 msr_report->u.action.u.measurement.msr_elem.token = request_ie->token; in ieee80211_send_refuse_measurement_request() 60 msr_report->u.action.u.measurement.msr_elem.mode |= in ieee80211_send_refuse_measurement_request() 62 msr_report->u.action.u.measurement.msr_elem.type = request_ie->type; in ieee80211_send_refuse_measurement_request() [all …]
|
D | ht.c | 343 skb_put(skb, 1 + sizeof(mgmt->u.action.u.delba)); in ieee80211_send_delba() 345 mgmt->u.action.category = WLAN_CATEGORY_BACK; in ieee80211_send_delba() 346 mgmt->u.action.u.delba.action_code = WLAN_ACTION_DELBA; in ieee80211_send_delba() 350 mgmt->u.action.u.delba.params = cpu_to_le16(params); in ieee80211_send_delba() 351 mgmt->u.action.u.delba.reason_code = cpu_to_le16(reason_code); in ieee80211_send_delba() 363 params = le16_to_cpu(mgmt->u.action.u.delba.params); in ieee80211_process_delba() 370 le16_to_cpu(mgmt->u.action.u.delba.reason_code)); in ieee80211_process_delba() 399 action_frame->u.action.category = WLAN_CATEGORY_HT; in ieee80211_send_smps_action() 400 action_frame->u.action.u.ht_smps.action = WLAN_HT_ACTION_SMPS; in ieee80211_send_smps_action() 406 action_frame->u.action.u.ht_smps.smps_control = in ieee80211_send_smps_action() [all …]
|
D | agg-rx.c | 211 skb_put(skb, 1 + sizeof(mgmt->u.action.u.addba_resp)); in ieee80211_send_addba_resp() 212 mgmt->u.action.category = WLAN_CATEGORY_BACK; in ieee80211_send_addba_resp() 213 mgmt->u.action.u.addba_resp.action_code = WLAN_ACTION_ADDBA_RESP; in ieee80211_send_addba_resp() 214 mgmt->u.action.u.addba_resp.dialog_token = dialog_token; in ieee80211_send_addba_resp() 220 mgmt->u.action.u.addba_resp.capab = cpu_to_le16(capab); in ieee80211_send_addba_resp() 221 mgmt->u.action.u.addba_resp.timeout = cpu_to_le16(timeout); in ieee80211_send_addba_resp() 222 mgmt->u.action.u.addba_resp.status = cpu_to_le16(status); in ieee80211_send_addba_resp() 238 dialog_token = mgmt->u.action.u.addba_req.dialog_token; in ieee80211_process_addba_request() 239 timeout = le16_to_cpu(mgmt->u.action.u.addba_req.timeout); in ieee80211_process_addba_request() 241 le16_to_cpu(mgmt->u.action.u.addba_req.start_seq_num) >> 4; in ieee80211_process_addba_request() [all …]
|
D | agg-tx.c | 94 skb_put(skb, 1 + sizeof(mgmt->u.action.u.addba_req)); in ieee80211_send_addba_request() 96 mgmt->u.action.category = WLAN_CATEGORY_BACK; in ieee80211_send_addba_request() 97 mgmt->u.action.u.addba_req.action_code = WLAN_ACTION_ADDBA_REQ; in ieee80211_send_addba_request() 99 mgmt->u.action.u.addba_req.dialog_token = dialog_token; in ieee80211_send_addba_request() 104 mgmt->u.action.u.addba_req.capab = cpu_to_le16(capab); in ieee80211_send_addba_request() 106 mgmt->u.action.u.addba_req.timeout = cpu_to_le16(timeout); in ieee80211_send_addba_request() 107 mgmt->u.action.u.addba_req.start_seq_num = in ieee80211_send_addba_request() 260 enum ieee80211_ampdu_mlme_action action; in ___ieee80211_stop_tx_ba_session() local 269 action = IEEE80211_AMPDU_TX_STOP_CONT; in ___ieee80211_stop_tx_ba_session() 272 action = IEEE80211_AMPDU_TX_STOP_FLUSH; in ___ieee80211_stop_tx_ba_session() [all …]
|
D | mesh_plink.c | 63 enum ieee80211_self_protected_actioncode action, 248 enum ieee80211_self_protected_actioncode action, in mesh_plink_frame_tx() argument 258 int hdr_len = offsetof(struct ieee80211_mgmt, u.action.u.self_prot) + in mesh_plink_frame_tx() 259 sizeof(mgmt->u.action.u.self_prot); in mesh_plink_frame_tx() 285 mgmt->u.action.category = WLAN_CATEGORY_SELF_PROTECTED; in mesh_plink_frame_tx() 286 mgmt->u.action.u.self_prot.action_code = action; in mesh_plink_frame_tx() 288 if (action != WLAN_SP_MESH_PEERING_CLOSE) { in mesh_plink_frame_tx() 294 if (action == WLAN_SP_MESH_PEERING_CONFIRM) { in mesh_plink_frame_tx() 312 switch (action) { in mesh_plink_frame_tx() 345 if (action == WLAN_SP_MESH_PEERING_CLOSE) { in mesh_plink_frame_tx() [all …]
|
D | mesh_hwmp.c | 104 static int mesh_path_sel_frame_tx(enum mpath_frame_type action, u8 flags, in mesh_path_sel_frame_tx() argument 117 int hdr_len = offsetof(struct ieee80211_mgmt, u.action.u.mesh_action) + in mesh_path_sel_frame_tx() 118 sizeof(mgmt->u.action.u.mesh_action); in mesh_path_sel_frame_tx() 135 mgmt->u.action.category = WLAN_CATEGORY_MESH_ACTION; in mesh_path_sel_frame_tx() 136 mgmt->u.action.u.mesh_action.action_code = in mesh_path_sel_frame_tx() 139 switch (action) { in mesh_path_sel_frame_tx() 167 if (action == MPATH_PREP) { in mesh_path_sel_frame_tx() 173 if (action == MPATH_PREQ) { in mesh_path_sel_frame_tx() 186 if (action == MPATH_PREQ) { in mesh_path_sel_frame_tx() 193 } else if (action == MPATH_PREP) { in mesh_path_sel_frame_tx() [all …]
|
D | rx.c | 632 category = mgmt->u.action.category; in ieee80211_rx_mesh_check() 2260 if (len < 24 + 1 + sizeof(resp->u.action.u.sa_query)) { in ieee80211_process_sa_query_req() 2277 skb_put(skb, 1 + sizeof(resp->u.action.u.sa_query)); in ieee80211_process_sa_query_req() 2278 resp->u.action.category = WLAN_CATEGORY_SA_QUERY; in ieee80211_process_sa_query_req() 2279 resp->u.action.u.sa_query.action = WLAN_ACTION_SA_QUERY_RESPONSE; in ieee80211_process_sa_query_req() 2280 memcpy(resp->u.action.u.sa_query.trans_id, in ieee80211_process_sa_query_req() 2281 mgmt->u.action.u.sa_query.trans_id, in ieee80211_process_sa_query_req() 2343 if (!rx->sta && mgmt->u.action.category != WLAN_CATEGORY_PUBLIC && in ieee80211_rx_h_action() 2344 mgmt->u.action.category != WLAN_CATEGORY_SELF_PROTECTED) in ieee80211_rx_h_action() 2350 switch (mgmt->u.action.category) { in ieee80211_rx_h_action() [all …]
|
D | status.c | 192 mgmt->u.action.category == WLAN_CATEGORY_HT && in ieee80211_frame_acked() 193 mgmt->u.action.u.ht_smps.action == WLAN_HT_ACTION_SMPS && in ieee80211_frame_acked() 203 switch (mgmt->u.action.u.ht_smps.smps_control) { in ieee80211_frame_acked()
|
/net/sched/ |
D | cls_api.c | 503 if (exts->action) { in tcf_exts_destroy() 504 tcf_action_destroy(exts->action, TCA_ACT_UNBIND); in tcf_exts_destroy() 505 exts->action = NULL; in tcf_exts_destroy() 529 exts->action = act; in tcf_exts_validate() 530 } else if (map->action && tb[map->action]) { in tcf_exts_validate() 531 act = tcf_action_init(net, tb[map->action], rate_tlv, in tcf_exts_validate() 537 exts->action = act; in tcf_exts_validate() 541 if ((map->action && tb[map->action]) || in tcf_exts_validate() 554 if (src->action) { in tcf_exts_change() 557 act = dst->action; in tcf_exts_change() [all …]
|
D | act_gact.c | 114 gact->tcf_action = parm->action; in tcf_gact_init() 141 int action = TC_ACT_SHOT; in tcf_gact() local 146 action = gact_rand[gact->tcfg_ptype](gact); in tcf_gact() 148 action = gact->tcf_action; in tcf_gact() 150 action = gact->tcf_action; in tcf_gact() 154 if (action == TC_ACT_SHOT) in tcf_gact() 159 return action; in tcf_gact() 170 .action = gact->tcf_action, in tcf_gact_dump()
|
D | act_nat.c | 89 p->tcf_action = parm->action; in tcf_nat_init() 115 int action; in tcf_nat() local 126 action = p->tcf_action; in tcf_nat() 132 if (unlikely(action == TC_ACT_SHOT)) in tcf_nat() 260 return action; in tcf_nat() 281 .action = p->tcf_action, in tcf_nat_dump()
|
D | act_csum.c | 91 p->tcf_action = parm->action; in tcf_csum_init() 517 int action; in tcf_csum() local 523 action = p->tcf_action; in tcf_csum() 527 if (unlikely(action == TC_ACT_SHOT)) in tcf_csum() 541 return action; in tcf_csum() 558 .action = p->tcf_action, in tcf_csum_dump()
|
D | act_simple.c | 87 d->tcf_action = p->action; in reset_policy() 141 d->tcf_action = parm->action; in tcf_simp_init() 175 .action = d->tcf_action, in tcf_simp_dump()
|
D | act_skbedit.c | 139 d->tcf_action = parm->action; in tcf_skbedit_init() 166 .action = d->tcf_action, in tcf_skbedit_dump()
|
D | act_police.c | 57 int action; member 256 police->tcf_action = parm->action; in tcf_act_police_locate() 371 .action = police->tcf_action, in tcf_act_police_dump()
|
/net/core/ |
D | fib_rules.c | 35 r->action = FR_ACT_TO_TBL; in fib_default_rule_add() 114 ops->action == NULL) in __fib_rules_register() 252 if (rule->action == FR_ACT_GOTO) { in fib_rules_lookup() 262 } else if (rule->action == FR_ACT_NOP) in fib_rules_lookup() 265 err = ops->action(rule, fl, flags, arg); in fib_rules_lookup() 375 rule->action = frh->action; in fib_nl_newrule() 384 if (rule->action != FR_ACT_GOTO) in fib_nl_newrule() 401 } else if (rule->action == FR_ACT_GOTO) in fib_nl_newrule() 442 if (r->action == FR_ACT_GOTO && in fib_nl_newrule() 452 if (rule->action == FR_ACT_GOTO) in fib_nl_newrule() [all …]
|
/net/bridge/netfilter/ |
D | ebt_mark.c | 25 int action = info->target & -16; in ebt_mark_tg() local 27 if (action == MARK_SET_VALUE) in ebt_mark_tg() 29 else if (action == MARK_OR_VALUE) in ebt_mark_tg() 31 else if (action == MARK_AND_VALUE) in ebt_mark_tg()
|
/net/rds/ |
D | page.c | 183 unsigned long action, void *hcpu) in rds_page_remainder_cpu_notify() argument 190 rdsdebug("cpu %ld action 0x%lx\n", cpu, action); in rds_page_remainder_cpu_notify() 192 switch (action) { in rds_page_remainder_cpu_notify()
|
/net/sunrpc/ |
D | sched.c | 312 int __rpc_wait_for_completion_task(struct rpc_task *task, int (*action)(void *)) in __rpc_wait_for_completion_task() 314 if (action == NULL) in __rpc_wait_for_completion_task() 315 action = rpc_wait_bit_killable; in __rpc_wait_for_completion_task() 317 action, TASK_KILLABLE); in __rpc_wait_for_completion_task() 354 rpc_action action, in __rpc_sleep_on_priority() argument 365 task->tk_callback = action; in __rpc_sleep_on_priority() 370 rpc_action action) in rpc_sleep_on() argument 384 __rpc_sleep_on_priority(q, task, action, task->tk_priority); in rpc_sleep_on() 390 rpc_action action, int priority) in rpc_sleep_on_priority() argument 404 __rpc_sleep_on_priority(q, task, action, priority - RPC_PRIORITY_LOW); in rpc_sleep_on_priority()
|
/net/802/ |
D | garp.c | 31 u8 action; member 35 .action = GARP_ACTION_S_JOIN_IN }, 46 .action = GARP_ACTION_S_JOIN_IN }, 67 .action = GARP_ACTION_S_LEAVE_EMPTY }, 78 .action = GARP_ACTION_S_JOIN_IN }, 89 .action = GARP_ACTION_S_JOIN_IN }, 322 switch (garp_applicant_state_table[attr->state][event].action) { in garp_attr_event()
|
/net/decnet/ |
D | dn_rules.c | 74 switch(rule->action) { in dn_fib_rule_action() 132 if (rule->action == FR_ACT_TO_TBL) { in dn_fib_rule_configure() 227 .action = dn_fib_rule_action,
|
/net/batman-adv/ |
D | sysfs.c | 693 enum batadv_uev_action action, const char *data) in batadv_throw_uevent() argument 711 strlen(batadv_uev_action_str[action]) + 1, in batadv_throw_uevent() 717 batadv_uev_action_str[action]); in batadv_throw_uevent() 720 if (action != BATADV_UEV_DEL) { in batadv_throw_uevent() 739 batadv_uev_action_str[action], in batadv_throw_uevent() 740 (action == BATADV_UEV_DEL ? "NULL" : data), ret); in batadv_throw_uevent()
|
D | sysfs.h | 40 enum batadv_uev_action action, const char *data);
|
/net/ipv4/ |
D | fib_rules.c | 75 switch (rule->action) { in fib4_rule_action() 149 if (rule->action == FR_ACT_TO_TBL) { in fib4_rule_configure() 269 .action = fib4_rule_action,
|
/net/ipv6/ |
D | fib6_rules.c | 59 switch (rule->action) { in fib6_rule_action() 156 if (rule->action == FR_ACT_TO_TBL) { in fib6_rule_configure() 245 .action = fib6_rule_action,
|