Searched refs:nl_msg (Results 1 – 13 of 13) sorted by relevance
| /tools/testing/selftests/net/ovpn/ |
| A D | ovpn-cli.c | 70 struct nl_msg *nl_msg; member 203 ctx->nl_msg = nlmsg_alloc(); in nl_ctx_alloc_flags() 204 if (!ctx->nl_msg) { in nl_ctx_alloc_flags() 225 nlmsg_free(ctx->nl_msg); in nl_ctx_alloc_flags() 244 nlmsg_free(ctx->nl_msg); in nl_ctx_free() 665 NLA_PUT_U32(ctx->nl_msg, in ovpn_new_peer() 695 nla_nest_end(ctx->nl_msg, attr); in ovpn_new_peer() 719 nla_nest_end(ctx->nl_msg, attr); in ovpn_set_peer() 739 nla_nest_end(ctx->nl_msg, attr); in ovpn_del_peer() 1052 nla_nest_end(ctx->nl_msg, kc); in ovpn_swap_keys() [all …]
|
| /tools/lib/thermal/ |
| A D | thermal_nl.h | 15 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 D | thermal_nl.c | 19 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 D | commands.c | 350 typedef int (*cmd_cb_t)(struct nl_msg *, struct cmd_param *); 352 static int thermal_genl_tz_id_encode(struct nl_msg *msg, struct cmd_param *p) in thermal_genl_tz_id_encode() 360 static int thermal_genl_threshold_encode(struct nl_msg *msg, struct cmd_param *p) in thermal_genl_threshold_encode() 379 struct nl_msg *msg; in thermal_genl_auto()
|
| A D | sampling.c | 11 static int handle_thermal_sample(struct nl_msg *n, void *arg) in handle_thermal_sample()
|
| A D | events.c | 21 static int handle_thermal_event(struct nl_msg *n, void *arg) in handle_thermal_event()
|
| /tools/power/x86/intel-speed-select/ |
| A D | hfi-events.c | 56 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()
|
| /tools/net/ynl/pyynl/lib/ |
| A D | ynl.py | 104 def __init__(self, nl_msg): argument 105 self.nl_msg = nl_msg 106 self.error = -nl_msg.error 331 for nl_msg in nms: 335 if nl_msg.done: 365 self.nl = nl_msg 394 def _decode(self, nl_msg): argument 395 return nl_msg 430 def _decode(self, nl_msg): argument 431 return GenlMsg(nl_msg) [all …]
|
| /tools/testing/selftests/drivers/net/ |
| A D | stats.py | 148 ksft_eq(cm.exception.nl_msg.error, -34) 149 ksft_eq(cm.exception.nl_msg.extack['bad-attr'], '.ifindex') 154 ksft_eq(cm.exception.nl_msg.error, -errno.EOPNOTSUPP) 155 ksft_eq(cm.exception.nl_msg.extack['bad-attr'], '.ifindex') 166 ksft_eq(cm.exception.nl_msg.error, -19) 167 ksft_eq(cm.exception.nl_msg.extack['bad-attr'], '.ifindex')
|
| A D | queues.py | 109 ksft_eq(cm.exception.nl_msg.error, -errno.ENOENT) 114 ksft_eq(cm.exception.nl_msg.error, -errno.ENOENT)
|
| A D | hds.py | 171 ksft_eq(e.exception.nl_msg.error, -errno.EINVAL)
|
| /tools/testing/selftests/drivers/net/hw/ |
| A D | pp_alloc_fail.py | 65 if e.nl_msg.error == -errno.EOPNOTSUPP:
|
| A D | rss_api.py | 218 ksft_eq(cm.exception.nl_msg.extack['bad-attr'], '.hkey') 414 ksft_eq(cm.exception.nl_msg.error, -errno.EBUSY)
|
Completed in 17 milliseconds