Home
last modified time | relevance | path

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

/linux/tools/net/ynl/lib/
A 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:
327 if nl_msg.done:
357 self.nl = nl_msg
386 def _decode(self, nl_msg): argument
387 return nl_msg
422 def _decode(self, nl_msg): argument
423 return GenlMsg(nl_msg)
[all …]
/linux/tools/power/x86/intel-speed-select/
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() 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/tools/lib/thermal/
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() 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()
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 *),
A Dsampling.c11 static int handle_thermal_sample(struct nl_msg *n, void *arg) in handle_thermal_sample()
A Devents.c21 static int handle_thermal_event(struct nl_msg *n, void *arg) in handle_thermal_event()
A Dcommands.c267 struct nl_msg *msg; in thermal_genl_auto()
/linux/tools/testing/selftests/drivers/net/
A 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/tools/testing/selftests/drivers/net/hw/
A Dpp_alloc_fail.py65 if e.nl_msg.error == -errno.EOPNOTSUPP:
/linux/drivers/infiniband/core/
A Dcore_priv.h112 struct sk_buff *nl_msg; member
A Duverbs_main.c1025 ret = nla_put_u32(res->nl_msg, RDMA_NLDEV_ATTR_UVERBS_DRIVER_ID, in ib_uverbs_get_nl_info()
A Dnldev.c1881 data.nl_msg = msg; in nldev_get_chardev()
/linux/Documentation/userspace-api/
A Dvduse.rst54 struct nl_msg *msg;
/linux/Documentation/userspace-api/netlink/
A Dintro.rst61 for (nl_msg in buffer) {
62 if (nl_msg.nlmsg_type == NLMSG_DONE)

Completed in 740 milliseconds