Home
last modified time | relevance | path

Searched refs:nl_msg (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/tools/net/ynl/lib/
Dynl.py101 def __init__(self, nl_msg): argument
102 self.nl_msg = nl_msg
103 self.error = -nl_msg.error
323 for nl_msg in nms:
324 if nl_msg.error:
325 print("Netlink error:", nl_msg.error)
327 if nl_msg.done:
330 gm = GenlMsg(nl_msg)
356 def __init__(self, nl_msg): argument
357 self.nl = nl_msg
[all …]
/linux-6.12.1/tools/power/x86/intel-speed-select/
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() argument
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()
/linux-6.12.1/tools/lib/thermal/
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() argument
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()
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 *),
Dsampling.c11 static int handle_thermal_sample(struct nl_msg *n, void *arg) in handle_thermal_sample()
Devents.c21 static int handle_thermal_event(struct nl_msg *n, void *arg) in handle_thermal_event()
Dcommands.c267 struct nl_msg *msg; in thermal_genl_auto()
/linux-6.12.1/tools/testing/selftests/drivers/net/
Dstats.py117 ksft_eq(cm.exception.nl_msg.error, -34)
118 ksft_eq(cm.exception.nl_msg.extack['bad-attr'], '.ifindex')
123 ksft_eq(cm.exception.nl_msg.error, -errno.EOPNOTSUPP)
124 ksft_eq(cm.exception.nl_msg.extack['bad-attr'], '.ifindex')
135 ksft_eq(cm.exception.nl_msg.error, -19)
136 ksft_eq(cm.exception.nl_msg.extack['bad-attr'], '.ifindex')
/linux-6.12.1/tools/testing/selftests/drivers/net/hw/
Dpp_alloc_fail.py65 if e.nl_msg.error == -errno.EOPNOTSUPP:
/linux-6.12.1/drivers/infiniband/core/
Dcore_priv.h112 struct sk_buff *nl_msg; member
Duverbs_main.c1025 ret = nla_put_u32(res->nl_msg, RDMA_NLDEV_ATTR_UVERBS_DRIVER_ID, in ib_uverbs_get_nl_info()
Dnldev.c1881 data.nl_msg = msg; in nldev_get_chardev()
/linux-6.12.1/Documentation/userspace-api/
Dvduse.rst54 struct nl_msg *msg;
/linux-6.12.1/Documentation/userspace-api/netlink/
Dintro.rst61 for (nl_msg in buffer) {
62 if (nl_msg.nlmsg_type == NLMSG_DONE)