Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 94) sorted by relevance

1234

/net/mac80211/tests/
A Dmfp.c19 u8 action; member
27 .action = WLAN_PUB_ACTION_DSE_ENABLEMENT,
35 .action = WLAN_PUB_ACTION_DSE_ENABLEMENT,
43 .action = WLAN_PUB_ACTION_DSE_ENABLEMENT,
52 .action = WLAN_PUB_ACTION_DSE_ENABLEMENT,
61 .action = WLAN_PUB_ACTION_DSE_ENABLEMENT,
71 .action = WLAN_PUB_ACTION_DSE_ENABLEMENT,
82 .action = WLAN_PUB_ACTION_DSE_ENABLEMENT,
90 .action = WLAN_PUB_ACTION_DSE_ENABLEMENT,
98 .action = WLAN_PUB_ACTION_DSE_ENABLEMENT,
[all …]
/net/mac80211/
A Ds1g.c27 if (likely(mgmt->u.action.category != WLAN_CATEGORY_S1G)) in ieee80211_s1g_is_twt_setup()
30 return mgmt->u.action.u.s1g.action_code == WLAN_S1G_TWT_SETUP; in ieee80211_s1g_is_twt_setup()
54 mgmt->u.action.category = WLAN_CATEGORY_S1G; in ieee80211_s1g_send_twt_setup()
55 mgmt->u.action.u.s1g.action_code = WLAN_S1G_TWT_SETUP; in ieee80211_s1g_send_twt_setup()
56 memcpy(mgmt->u.action.u.s1g.variable, twt, 3 + twt->length); in ieee80211_s1g_send_twt_setup()
86 mgmt->u.action.category = WLAN_CATEGORY_S1G; in ieee80211_s1g_send_twt_teardown()
87 mgmt->u.action.u.s1g.action_code = WLAN_S1G_TWT_TEARDOWN; in ieee80211_s1g_send_twt_teardown()
88 id = (u8 *)mgmt->u.action.u.s1g.variable; in ieee80211_s1g_send_twt_teardown()
131 mgmt->u.action.u.s1g.variable[0]); in ieee80211_s1g_rx_twt_teardown()
163 switch (mgmt->u.action.u.s1g.action_code) { in ieee80211_s1g_rx_twt_action()
[all …]
A Dmesh_plink.c263 mgmt->u.action.u.self_prot.action_code = action; in mesh_plink_frame_tx()
300 switch (action) { in mesh_plink_frame_tx()
719 action = WLAN_SP_MESH_PEERING_OPEN; in mesh_plink_timer()
730 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_timer()
741 if (action) in mesh_plink_timer()
893 action = WLAN_SP_MESH_PEERING_OPEN; in mesh_plink_fsm()
905 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_fsm()
926 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_fsm()
944 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_fsm()
961 action = WLAN_SP_MESH_PEERING_CLOSE; in mesh_plink_fsm()
[all …]
A Dagg-rx.c65 .action = IEEE80211_AMPDU_RX_STOP, in __ieee80211_stop_rx_ba_session()
251 skb_put(skb, 1 + sizeof(mgmt->u.action.u.addba_resp)); in ieee80211_send_addba_resp()
252 mgmt->u.action.category = WLAN_CATEGORY_BACK; in ieee80211_send_addba_resp()
254 mgmt->u.action.u.addba_resp.dialog_token = dialog_token; in ieee80211_send_addba_resp()
261 mgmt->u.action.u.addba_resp.capab = cpu_to_le16(capab); in ieee80211_send_addba_resp()
263 mgmt->u.action.u.addba_resp.status = cpu_to_le16(status); in ieee80211_send_addba_resp()
281 .action = IEEE80211_AMPDU_RX_START, in __ieee80211_start_rx_ba_session()
477 dialog_token = mgmt->u.action.u.addba_req.dialog_token; in ieee80211_process_addba_request()
482 capab = le16_to_cpu(mgmt->u.action.u.addba_req.capab); in ieee80211_process_addba_request()
489 mgmt->u.action.u.addba_req.variable, in ieee80211_process_addba_request()
[all …]
A Dspectmgmt.c425 skb_put(skb, 1 + sizeof(msr_report->u.action.u.measurement)); in ieee80211_send_refuse_measurement_request()
426 msr_report->u.action.category = WLAN_CATEGORY_SPECTRUM_MGMT; in ieee80211_send_refuse_measurement_request()
427 msr_report->u.action.u.measurement.action_code = in ieee80211_send_refuse_measurement_request()
429 msr_report->u.action.u.measurement.dialog_token = dialog_token; in ieee80211_send_refuse_measurement_request()
432 msr_report->u.action.u.measurement.length = in ieee80211_send_refuse_measurement_request()
435 memset(&msr_report->u.action.u.measurement.msr_elem, 0, in ieee80211_send_refuse_measurement_request()
437 msr_report->u.action.u.measurement.msr_elem.token = request_ie->token; in ieee80211_send_refuse_measurement_request()
438 msr_report->u.action.u.measurement.msr_elem.mode |= in ieee80211_send_refuse_measurement_request()
440 msr_report->u.action.u.measurement.msr_elem.type = request_ie->type; in ieee80211_send_refuse_measurement_request()
457 &mgmt->u.action.u.measurement.msr_elem, in ieee80211_process_measurement_req()
[all …]
A Dht.c472 skb_put(skb, 1 + sizeof(mgmt->u.action.u.delba)); in ieee80211_send_delba()
474 mgmt->u.action.category = WLAN_CATEGORY_BACK; in ieee80211_send_delba()
475 mgmt->u.action.u.delba.action_code = WLAN_ACTION_DELBA; in ieee80211_send_delba()
479 mgmt->u.action.u.delba.params = cpu_to_le16(params); in ieee80211_send_delba()
492 params = le16_to_cpu(mgmt->u.action.u.delba.params); in ieee80211_process_delba()
499 le16_to_cpu(mgmt->u.action.u.delba.reason_code)); in ieee80211_process_delba()
545 action_frame->u.action.category = WLAN_CATEGORY_HT; in ieee80211_send_smps_action()
546 action_frame->u.action.u.ht_smps.action = WLAN_HT_ACTION_SMPS; in ieee80211_send_smps_action()
554 action_frame->u.action.u.ht_smps.smps_control = in ieee80211_send_smps_action()
558 action_frame->u.action.u.ht_smps.smps_control = in ieee80211_send_smps_action()
[all …]
A Dagg-tx.c80 skb_put(skb, 1 + sizeof(mgmt->u.action.u.addba_req)); in ieee80211_send_addba_request()
82 mgmt->u.action.category = WLAN_CATEGORY_BACK; in ieee80211_send_addba_request()
91 mgmt->u.action.u.addba_req.capab = cpu_to_le16(capab); in ieee80211_send_addba_request()
94 mgmt->u.action.u.addba_req.start_seq_num = in ieee80211_send_addba_request()
311 params.action = IEEE80211_AMPDU_TX_STOP_CONT; in __ieee80211_stop_tx_ba_session()
314 params.action = IEEE80211_AMPDU_TX_STOP_FLUSH; in __ieee80211_stop_tx_ba_session()
342 params.action = IEEE80211_AMPDU_TX_STOP_FLUSH_CONT; in __ieee80211_stop_tx_ba_session()
499 .action = IEEE80211_AMPDU_TX_START, in ieee80211_tx_ba_session_handle_start()
758 .action = IEEE80211_AMPDU_TX_OPERATIONAL, in ieee80211_agg_tx_operational()
987 mgmt->u.action.u.addba_resp.variable, in ieee80211_process_addba_resp()
[all …]
A Drx.c266 } __packed __aligned(2) action; in ieee80211_handle_mu_mimo_mon()
280 skb_copy_bits(skb, rtap_space, &action, sizeof(action)); in ieee80211_handle_mu_mimo_mon()
3352 resp->u.action.u.sa_query.action = WLAN_ACTION_SA_QUERY_RESPONSE; in ieee80211_process_sa_query_req()
3522 switch (mgmt->u.action.category) { in ieee80211_rx_h_action()
3539 switch (mgmt->u.action.u.ht_smps.action) { in ieee80211_rx_h_action()
3784 u.action.u.ttlm_req)) in ieee80211_rx_h_action()
3792 u.action.u.ttlm_res)) in ieee80211_rx_h_action()
3820 u.action.u.epcs) + in ieee80211_rx_h_action()
3829 u.action.u.epcs)) in ieee80211_rx_h_action()
3909 switch (mgmt->u.action.category) { in ieee80211_rx_h_action_post_userspace()
[all …]
/net/bridge/
A Dbr_switchdev.c322 unsigned long action; in br_switchdev_fdb_replay() local
441 action, extack); in br_switchdev_vlan_replay_group()
456 unsigned long action; in br_switchdev_vlan_replay() local
468 action = SWITCHDEV_PORT_OBJ_ADD; in br_switchdev_vlan_replay()
470 action = SWITCHDEV_PORT_OBJ_DEL; in br_switchdev_vlan_replay()
473 ctx, action, extack); in br_switchdev_vlan_replay()
482 ctx, action, extack); in br_switchdev_vlan_replay()
607 unsigned long action, in br_switchdev_mdb_queue_one() argument
690 unsigned long action; in br_switchdev_mdb_replay() local
708 action = SWITCHDEV_PORT_OBJ_ADD; in br_switchdev_mdb_replay()
[all …]
/net/sched/
A Dact_ct.c98 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_ipv4() argument
143 struct flow_action *action) in tcf_ct_flow_table_add_action_nat_tcp() argument
218 action); in tcf_ct_flow_table_add_action_nat()
222 action); in tcf_ct_flow_table_add_action_nat()
247 struct flow_action *action = &flow_rule->rule->action; in tcf_ct_flow_table_fill_actions() local
280 memset(&action->entries[i], 0, sizeof(action->entries[i])); in tcf_ct_flow_table_fill_actions()
281 action->num_entries = num_entries; in tcf_ct_flow_table_fill_actions()
937 int err, action = 0; in tcf_ct_act_nat() local
980 retval = p->action; in tcf_ct_act()
1412 params->action = parm->action; in tcf_ct_init()
[all …]
A Dact_nat.c80 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_nat_init()
94 nparm->action = parm->action; in tcf_nat_init()
99 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_nat_init()
127 int action; in tcf_nat_act() local
135 action = parms->action; in tcf_nat_act()
136 if (unlikely(action == TC_ACT_SHOT)) in tcf_nat_act()
260 return action; in tcf_nat_act()
284 opt.action = parms->action; in tcf_nat_dump()
A Dact_vlan.c28 int action; in tcf_vlan_act() local
41 action = READ_ONCE(v->tcf_action); in tcf_vlan_act()
100 return action; in tcf_vlan_act()
130 int action; in tcf_vlan_init() local
217 action = parm->v_action; in tcf_vlan_init()
233 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_vlan_init()
245 p->tcfv_action = action; in tcf_vlan_init()
248 p->tcfv_push_prio_exists = push_prio_exists || action == TCA_VLAN_ACT_PUSH; in tcf_vlan_init()
251 if (action == TCA_VLAN_ACT_PUSH_ETH) { in tcf_vlan_init()
259 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_vlan_init()
[all …]
A Dact_gact.c120 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_gact_init()
126 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_gact_init()
154 int action = READ_ONCE(gact->tcf_action); in tcf_gact_act() local
161 action = gact_rand[ptype](gact); in tcf_gact_act()
165 if (action == TC_ACT_SHOT) in tcf_gact_act()
170 return action; in tcf_gact_act()
177 int action = READ_ONCE(gact->tcf_action); in tcf_gact_stats_update() local
181 action == TC_ACT_SHOT ? packets : drops, hw); in tcf_gact_stats_update()
198 opt.action = gact->tcf_action; in tcf_gact_dump()
A Dact_api.c78 ret = action > TC_ACT_VALUE_MAX ? -EINVAL : 0; in tcf_action_check_ctrlact()
87 chain_index = action & TC_ACT_EXT_VAL_MASK; in tcf_action_check_ctrlact()
109 a->tcfa_action = action; in tcf_action_set_ctrlact()
253 [0] = action, in tcf_action_offload_add_ex()
259 if (tc_act_skip_hw(action->tcfa_flags)) in tcf_action_offload_add_ex()
283 if (skip_sw && !tc_act_in_hw(action)) in tcf_action_offload_add_ex()
320 action->used_hw_stats_valid = true; in tcf_action_update_hw_stats()
337 if (!tc_act_in_hw(action)) in tcf_action_offload_del_ex()
1850 struct tc_action *action) in tcf_reoffload_del_notify_msg() argument
1854 [0] = action, in tcf_reoffload_del_notify_msg()
[all …]
A Dact_bpf.c42 int action, filter_res; in tcf_bpf_act() local
77 action = filter_res; in tcf_bpf_act()
80 action = filter_res; in tcf_bpf_act()
84 action = prog->tcf_action; in tcf_bpf_act()
87 action = TC_ACT_UNSPEC; in tcf_bpf_act()
91 return action; in tcf_bpf_act()
152 opt.action = prog->tcf_action; in tcf_bpf_dump()
331 ret = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_bpf_init()
362 goto_ch = tcf_action_set_ctrlact(*act, parm->action, goto_ch); in tcf_bpf_init()
A Dact_connmark.c91 return parms->action; in tcf_connmark_act()
166 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_connmark_init()
170 nparms->action = parm->action; in tcf_connmark_init()
173 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_connmark_init()
208 opt.action = parms->action; in tcf_connmark_dump()
A Dact_csum.c90 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_csum_init()
102 params_new->action = parm->action; in tcf_csum_init()
105 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_csum_init()
577 int action; in tcf_csum_act() local
584 action = params->action; in tcf_csum_act()
585 if (unlikely(action == TC_ACT_SHOT)) in tcf_csum_act()
624 return action; in tcf_csum_act()
628 action = TC_ACT_SHOT; in tcf_csum_act()
647 opt.action = params->action; in tcf_csum_dump()
A Dact_skbmod.c30 int action, max_edit_len, err; in tcf_skbmod_act() local
37 action = READ_ONCE(d->tcf_action); in tcf_skbmod_act()
38 if (unlikely(action == TC_ACT_SHOT)) in tcf_skbmod_act()
88 return action; in tcf_skbmod_act()
183 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_skbmod_init()
200 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_skbmod_init()
252 opt.action = d->tcf_action; in tcf_skbmod_dump()
A Dact_mirred.c57 static bool tcf_mirred_is_act_redirect(int action) in tcf_mirred_is_act_redirect() argument
59 return action == TCA_EGRESS_REDIR || action == TCA_INGRESS_REDIR; in tcf_mirred_is_act_redirect()
62 static bool tcf_mirred_act_wants_ingress(int action) in tcf_mirred_act_wants_ingress() argument
64 switch (action) { in tcf_mirred_act_wants_ingress()
76 static bool tcf_mirred_can_reinsert(int action) in tcf_mirred_can_reinsert() argument
78 switch (action) { in tcf_mirred_can_reinsert()
211 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_mirred_init()
236 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_mirred_init()
509 opt.action = m->tcf_action; in tcf_mirred_dump()
A Dact_ctinfo.c142 return cp->action; in tcf_ctinfo_act()
232 err = tcf_action_check_ctrlact(actparm->action, tp, &goto_ch, extack); in tcf_ctinfo_init()
259 cp_new->action = actparm->action; in tcf_ctinfo_init()
262 goto_ch = tcf_action_set_ctrlact(*a, actparm->action, goto_ch); in tcf_ctinfo_init()
302 opt.action = cp->action; in tcf_ctinfo_dump()
/net/netfilter/
A Dnf_nat_ovs.c11 enum ip_conntrack_info ctinfo, int *action, in nf_ct_nat_execute() argument
80 *action |= BIT(maniptype); in nf_ct_nat_execute()
86 enum ip_conntrack_info ctinfo, int *action, in nf_ct_nat() argument
90 int err, ct_action = *action; in nf_ct_nat()
92 *action = 0; in nf_ct_nat()
119 err = nf_ct_nat_execute(skb, ct, ctinfo, action, range, maniptype); in nf_ct_nat()
127 err = nf_ct_nat_execute(skb, ct, ctinfo, action, range, in nf_ct_nat()
130 err = nf_ct_nat_execute(skb, ct, ctinfo, action, NULL, in nf_ct_nat()
/net/devlink/
A Ddev.c21 enum devlink_reload_action action; member
28 .action = DEVLINK_RELOAD_ACTION_DRIVER_REINIT,
40 if (devlink_reload_invalid_combinations[i].action == action && in devlink_reload_combination_is_invalid()
49 return test_bit(action, &devlink->ops->reload_actions); in devlink_reload_action_is_supported()
332 int action; in __devlink_reload_stats_update() local
443 enum devlink_reload_action action, in devlink_reload() argument
469 if (action == DEVLINK_RELOAD_ACTION_DRIVER_REINIT) { in devlink_reload()
479 WARN_ON(!(*actions_performed & BIT(action))); in devlink_reload()
522 enum devlink_reload_action action; in devlink_nl_reload_doit() local
577 action != DEVLINK_RELOAD_ACTION_DRIVER_REINIT) { in devlink_nl_reload_doit()
[all …]
/net/ipv6/
A Dseg6_local.c48 int action; member
188 int action; member
475 switch (action) { in seg6_flv_supp_ops_by_action()
745 enum seg6_local_flv_action action; in end_flv8986_core() local
768 switch (action) { in end_flv8986_core()
1473 .action = SEG6_LOCAL_ACTION_END,
1480 .action = SEG6_LOCAL_ACTION_END_X,
1488 .action = SEG6_LOCAL_ACTION_END_T,
1579 if (desc->action == action) in __get_action_desc()
2142 int action = slwt->action; in parse_nla_flavors() local
[all …]
/net/bridge/netfilter/
A Debt_mark.c26 int action = info->target & -16; in ebt_mark_tg() local
28 if (action == MARK_SET_VALUE) in ebt_mark_tg()
30 else if (action == MARK_OR_VALUE) in ebt_mark_tg()
32 else if (action == MARK_AND_VALUE) in ebt_mark_tg()
/net/core/
A Dfib_rules.c66 r->action = FR_ACT_TO_TBL; in fib_default_rule_add()
148 ops->action == NULL) in __fib_rules_register()
326 if (rule->action == FR_ACT_GOTO) { in fib_rules_lookup()
449 if (rule->action && r->action != rule->action) in rule_find()
640 nlrule->action = frh->action; in fib_nl2rule()
782 if (r->action != rule->action) in rule_exists()
956 if (r->action == FR_ACT_GOTO && in fib_newrule()
966 if (rule->action == FR_ACT_GOTO) in fib_newrule()
1065 if (rule->action == FR_ACT_GOTO) { in fib_delrule()
1168 frh->action = rule->action; in fib_nl_fill_rule()
[all …]

Completed in 81 milliseconds

1234