Home
last modified time | relevance | path

Searched refs:nl_msg (Results 1 - 25 of 27) sorted by relevance

12

/kernel/linux/linux-6.6/tools/net/ynl/lib/
H A Dynl.py80 def __init__(self, nl_msg):
81 self.nl_msg = nl_msg
84 return f"Netlink error: {os.strerror(-self.nl_msg.error)}\n{self.nl_msg}"
295 for nl_msg in nms:
296 if nl_msg.error:
297 print("Netlink error:", nl_msg.error)
299 if nl_msg.done:
302 gm = GenlMsg(nl_msg)
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A Ddriver_nl80211.h266 struct nl_msg;
269 struct nl_msg *msg, int flags, uint8_t cmd);
270 struct nl_msg * nl80211_cmd_msg(struct i802_bss *bss, int flags, uint8_t cmd);
271 struct nl_msg * nl80211_drv_msg(struct wpa_driver_nl80211_data *drv, int flags,
273 struct nl_msg * nl80211_bss_msg(struct i802_bss *bss, int flags, uint8_t cmd);
274 int send_and_recv_msgs(struct wpa_driver_nl80211_data *drv, struct nl_msg *msg,
275 int (*valid_handler)(struct nl_msg *, void *),
277 int (*ack_handler_custom)(struct nl_msg *, void *),
283 int (*handler)(struct nl_msg *, void *),
317 int process_global_event(struct nl_msg *ms
[all...]
H A Ddriver_nl80211.c208 static int nl80211_put_mesh_config(struct nl_msg *msg,
296 static int ack_handler(struct nl_msg *msg, void *arg) in ack_handler()
310 static int ack_handler_cookie(struct nl_msg *msg, void *arg) in ack_handler_cookie()
340 static int finish_handler(struct nl_msg *msg, void *arg) in finish_handler()
383 static int no_seq_check(struct nl_msg *msg, void *arg) in no_seq_check()
389 static void nl80211_nlmsg_clear(struct nl_msg *msg) in nl80211_nlmsg_clear()
412 struct nl_sock *nl_handle, struct nl_msg *msg, in send_and_recv()
413 int (*valid_handler)(struct nl_msg *, void *), in send_and_recv()
415 int (*ack_handler_custom)(struct nl_msg *, void *), in send_and_recv()
514 struct nl_msg *ms in send_and_recv_msgs()
[all...]
H A Ddriver_nl80211_scan.c35 static int get_noise_for_scan_results(struct nl_msg *msg, void *arg) in get_noise_for_scan_results()
84 struct nl_msg *msg; in nl80211_get_noise_for_scan_results()
96 struct nl_msg *msg; in nl80211_abort_scan()
114 struct nl_msg *msg; in nl80211_abort_vendor_scan()
181 static struct nl_msg *
186 struct nl_msg *msg; in nl80211_scan_common()
333 struct nl_msg *msg = NULL; in wpa_driver_nl80211_scan()
431 struct nl_msg *msg, in nl80211_sched_scan_add_scan_plans()
509 struct nl_msg *msg; in wpa_driver_nl80211_sched_scan()
658 struct nl_msg *ms in wpa_driver_nl80211_stop_sched_scan()
[all...]
H A Ddriver_macsec_linux.c83 static int dump_callback(struct nl_msg *msg, void *argp);
86 static struct nl_msg * msg_prepare(enum macsec_nl_commands cmd, in msg_prepare()
90 struct nl_msg *msg; in msg_prepare()
113 static int nla_put_rxsc_config(struct nl_msg *msg, u64 sci) in nla_put_rxsc_config()
508 static int dump_callback(struct nl_msg *msg, void *argp) in dump_callback()
609 static int nl_send_recv(struct nl_sock *sk, struct nl_msg *msg) in nl_send_recv()
634 struct nl_msg *msg; in do_dump()
703 struct nl_msg *msg; in macsec_drv_set_receive_lowest_pn()
770 struct nl_msg *msg; in macsec_drv_set_transmit_next_pn()
822 struct nl_msg *ms in macsec_drv_create_receive_sc()
[all...]
H A Ddriver_nl80211_capa.c23 static int protocol_feature_handler(struct nl_msg *msg, void *arg) in protocol_feature_handler()
42 struct nl_msg *msg; in get_nl80211_protocol_features()
852 static int wiphy_info_handler(struct nl_msg *msg, void *arg) in wiphy_info_handler()
1089 struct nl_msg *msg; in wpa_driver_nl80211_get_info()
1169 static int dfs_info_handler(struct nl_msg *msg, void *arg) in dfs_info_handler()
1200 struct nl_msg *msg; in qca_nl80211_check_dfs_capa()
1229 static int features_info_handler(struct nl_msg *msg, void *arg) in features_info_handler()
1286 struct nl_msg *msg; in qca_nl80211_get_features()
1965 static int phy_info_handler(struct nl_msg *msg, void *arg) in phy_info_handler()
2303 static int nl80211_get_reg(struct nl_msg *ms
[all...]
H A Ddriver_nl80211_event.c350 static int qca_drv_connect_fail_reason_code_handler(struct nl_msg *msg, in qca_drv_connect_fail_reason_code_handler()
386 struct nl_msg *msg; in drv_get_connect_fail_reason_code()
3564 int process_global_event(struct nl_msg *msg, void *arg)
3620 int process_bss_event(struct nl_msg *msg, void *arg)
/kernel/linux/linux-6.6/tools/lib/thermal/
H A Dthermal_nl.c19 static int nl_seq_check_handler(struct nl_msg *msg, void *arg) in nl_seq_check_handler()
35 static int nl_finish_handler(struct nl_msg *msg, void *arg) in nl_finish_handler()
45 static int nl_ack_handler(struct nl_msg *msg, void *arg) in nl_ack_handler()
55 int nl_send_msg(struct nl_sock *sock, struct nl_cb *cb, struct nl_msg *msg, in nl_send_msg()
56 int (*rx_handler)(struct nl_msg *, void *), void *data) in nl_send_msg()
75 static int nl_family_handler(struct nl_msg *msg, void *arg) in nl_family_handler()
116 struct nl_msg *msg; in nl_get_multicast_id()
H A Dthermal_nl.h15 struct nl_msg *msg;
42 extern int nl_send_msg(struct nl_sock *sock, struct nl_cb *nl_cb, struct nl_msg *msg,
43 int (*rx_handler)(struct nl_msg *, void *),
H A Dsampling.c11 static int handle_thermal_sample(struct nl_msg *n, void *arg) in handle_thermal_sample()
H A Devents.c21 static int handle_thermal_event(struct nl_msg *n, void *arg) in handle_thermal_event()
H A Dcommands.c267 struct nl_msg *msg; in thermal_genl_auto()
/kernel/linux/linux-6.6/tools/power/x86/intel-speed-select/
H A Dhfi-events.c56 static int ack_handler(struct nl_msg *msg, void *arg) in ack_handler()
63 static int finish_handler(struct nl_msg *msg, void *arg) in finish_handler()
78 static int seq_check_handler(struct nl_msg *msg, void *arg) in seq_check_handler()
84 struct nl_msg *msg, in send_and_recv_msgs()
85 int (*valid_handler)(struct nl_msg *, void *), in send_and_recv_msgs()
122 static int family_handler(struct nl_msg *msg, void *arg) in family_handler()
155 struct nl_msg *msg; in nl_get_multicast_id()
190 static int handle_event(struct nl_msg *n, void *arg) in handle_event()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A Ddriver_nl80211.h222 struct nl_msg;
225 struct nl_msg *msg, int flags, uint8_t cmd);
226 struct nl_msg * nl80211_cmd_msg(struct i802_bss *bss, int flags, uint8_t cmd);
227 struct nl_msg * nl80211_drv_msg(struct wpa_driver_nl80211_data *drv, int flags,
229 struct nl_msg * nl80211_bss_msg(struct i802_bss *bss, int flags, uint8_t cmd);
230 int send_and_recv_msgs(struct wpa_driver_nl80211_data *drv, struct nl_msg *msg,
231 int (*valid_handler)(struct nl_msg *, void *),
236 int (*handler)(struct nl_msg *, void *),
271 int process_global_event(struct nl_msg *msg, void *arg);
272 int process_bss_event(struct nl_msg *ms
[all...]
H A Ddriver_nl80211.c235 static int nl80211_put_mesh_config(struct nl_msg *msg,
315 static int ack_handler(struct nl_msg *msg, void *arg) in ack_handler()
322 static int finish_handler(struct nl_msg *msg, void *arg) in finish_handler()
365 static int no_seq_check(struct nl_msg *msg, void *arg) in no_seq_check()
371 static void nl80211_nlmsg_clear(struct nl_msg *msg) in nl80211_nlmsg_clear()
394 struct nl_handle *nl_handle, struct nl_msg *msg, in send_and_recv()
395 int (*valid_handler)(struct nl_msg *, void *), in send_and_recv()
450 struct nl_msg *msg, in send_and_recv_msgs()
451 int (*valid_handler)(struct nl_msg *, void *), in send_and_recv_msgs()
465 static int family_handler(struct nl_msg *ms
[all...]
H A Ddriver_nl80211_scan.c32 static int get_noise_for_scan_results(struct nl_msg *msg, void *arg) in get_noise_for_scan_results()
81 struct nl_msg *msg; in nl80211_get_noise_for_scan_results()
92 struct nl_msg *msg; in nl80211_abort_scan()
110 struct nl_msg *msg; in nl80211_abort_vendor_scan()
180 static struct nl_msg *
185 struct nl_msg *msg; in nl80211_scan_common()
323 struct nl_msg *msg = NULL; in wpa_driver_nl80211_scan()
421 struct nl_msg *msg, in nl80211_sched_scan_add_scan_plans()
499 struct nl_msg *msg; in wpa_driver_nl80211_sched_scan()
648 struct nl_msg *ms in wpa_driver_nl80211_stop_sched_scan()
[all...]
H A Ddriver_macsec_linux.c85 static int dump_callback(struct nl_msg *msg, void *argp);
88 static struct nl_msg * msg_prepare(enum macsec_nl_commands cmd, in msg_prepare()
92 struct nl_msg *msg; in msg_prepare()
115 static int nla_put_rxsc_config(struct nl_msg *msg, u64 sci) in nla_put_rxsc_config()
510 static int dump_callback(struct nl_msg *msg, void *argp) in dump_callback()
611 static int nl_send_recv(struct nl_sock *sk, struct nl_msg *msg) in nl_send_recv()
636 struct nl_msg *msg; in do_dump()
705 struct nl_msg *msg; in macsec_drv_set_receive_lowest_pn()
769 struct nl_msg *msg; in macsec_drv_set_transmit_next_pn()
821 struct nl_msg *ms in macsec_drv_create_receive_sc()
[all...]
H A Ddriver_nl80211_capa.c22 static int protocol_feature_handler(struct nl_msg *msg, void *arg) in protocol_feature_handler()
41 struct nl_msg *msg; in get_nl80211_protocol_features()
623 static int wiphy_info_handler(struct nl_msg *msg, void *arg) in wiphy_info_handler()
837 struct nl_msg *msg; in wpa_driver_nl80211_get_info()
914 static int dfs_info_handler(struct nl_msg *msg, void *arg) in dfs_info_handler()
945 struct nl_msg *msg; in qca_nl80211_check_dfs_capa()
1033 static int get_akm_suites_handler(struct nl_msg *msg, void *arg) in get_akm_suites_handler()
1059 struct nl_msg *msg; in qca_nl80211_get_akm_suites()
1093 static int features_info_handler(struct nl_msg *msg, void *arg) in features_info_handler()
1150 struct nl_msg *ms in qca_nl80211_get_features()
[all...]
H A Ddriver_nl80211_event.c2639 int process_global_event(struct nl_msg *msg, void *arg) in process_global_event()
2688 int process_bss_event(struct nl_msg *msg, void *arg) in process_bss_event()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/
H A Ddriver_nl80211_hisi.c22 int send_and_recv_msgs(struct wpa_driver_nl80211_data *drv, struct nl_msg *msg,
23 int (*valid_handler)(struct nl_msg *, void *),
25 int (*ack_handler_custom)(struct nl_msg *, void *),
43 struct nl_msg *msg; in wpa_driver_set_power_save()
71 static int get_power_mode_handler(struct nl_msg *msg, void *arg) in get_power_mode_handler()
96 struct nl_msg *msg; in wpa_driver_get_power_save()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant_lib/
H A Ddriver_nl80211_hisi.c22 int send_and_recv_msgs(struct wpa_driver_nl80211_data *drv, struct nl_msg *msg,
23 int (*valid_handler)(struct nl_msg *, void *),
41 struct nl_msg *msg; in wpa_driver_set_power_save()
69 static int get_power_mode_handler(struct nl_msg *msg, void *arg) in get_power_mode_handler()
95 struct nl_msg *msg; in wpa_driver_get_power_save()
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Dcore_priv.h114 struct sk_buff *nl_msg; member
H A Duverbs_main.c1018 ret = nla_put_u32(res->nl_msg, RDMA_NLDEV_ATTR_UVERBS_DRIVER_ID, in ib_uverbs_get_nl_info()
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Dcore_priv.h112 struct sk_buff *nl_msg; member
H A Duverbs_main.c1029 ret = nla_put_u32(res->nl_msg, RDMA_NLDEV_ATTR_UVERBS_DRIVER_ID, in ib_uverbs_get_nl_info()

Completed in 47 milliseconds

12