Home
last modified time | relevance | path

Searched full:nlmsg_done (Results 1 – 25 of 25) sorted by relevance

/linux/Documentation/userspace-api/netlink/
H A Dintro.rst62 if (nl_msg.nlmsg_type == NLMSG_DONE)
185 - ``NLMSG_DONE`` - marks the end of a dump;
188 ``NLMSG_ERROR`` and ``NLMSG_DONE`` are of practical importance.
226 ``NLMSG_DONE`` is simpler, the request is never echoed but the extended
237 Note that some implementations may issue custom ``NLMSG_DONE`` messages
361 in ``NLMSG_ERROR`` and ``NLMSG_DONE`` messages. To maintain backward
395 (including the ``NLMSG_DONE`` message) if the dump was interrupted and
444 ``NLMSG_DONE``.
/linux/include/uapi/linux/
H A Dwireguard.h
H A Dnetlink.h63 #define NLM_F_MULTI 0x02 /* Multipart message, terminated by NLMSG_DONE */
114 #define NLMSG_DONE 0x3 /* End of a dump */ macro
/linux/samples/connector/
H A Ducon.c59 nlh->nlmsg_type = NLMSG_DONE; in netlink_send()
221 case NLMSG_DONE: in main()
H A Dcn_test.c59 nlh = nlmsg_put(skb, 0, 0x123, NLMSG_DONE, size - sizeof(*nlh), 0);
/linux/tools/include/uapi/linux/
H A Dnetlink.h55 #define NLM_F_MULTI 0x02 /* Multipart message, terminated by NLMSG_DONE */
104 #define NLMSG_DONE 0x3 /* End of a dump */ macro
/linux/tools/testing/selftests/connector/
H A Dproc_filter.c51 hdr->nlmsg_type = NLMSG_DONE; in send_message()
143 } else if (hdr->nlmsg_type == NLMSG_DONE) { in handle_packet()
/linux/drivers/infiniband/core/
H A Diwpm_util.c627 pr_warn("%s Unable to put NLMSG_DONE\n", __func__); in send_nlmsg_done()
631 nlh->nlmsg_type = NLMSG_DONE; in send_nlmsg_done()
704 /* and leave room for NLMSG_DONE */ in iwpm_send_mapinfo()
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_diag.c325 if (nlh->nlmsg_type == NLMSG_DONE) { in recv_nlmsg()
326 printf("NLMSG_DONE\n"); in recv_nlmsg()
H A Dpm_nl_ctl.c244 if (nh->nlmsg_type == NLMSG_DONE) in do_nl_req()
1091 if (nh->nlmsg_type == NLMSG_DONE) in print_addrs()
1227 if (nh->nlmsg_type == NLMSG_DONE) in print_limits()
/linux/tools/testing/selftests/net/
H A Dnetlink-dumps.c57 else if (nlh->nlmsg_type == NLMSG_DONE) in nl_get_extack()
H A Dipsec.c1055 } else if (answer.nh.nlmsg_type == NLMSG_DONE) { in xfrm_state_check()
/linux/drivers/connector/
H A Dconnector.c101 nlh = nlmsg_put(skb, 0, msg->seq, NLMSG_DONE, size, 0); in cn_netlink_send_mult()
/linux/net/netfilter/
H A Dnfnetlink_log.c365 NLMSG_DONE, in __nfulnl_send()
733 + nla_total_size(sizeof(struct nfgenmsg)); /* NLMSG_DONE */ in nfulnl_log_packet()
/linux/tools/testing/vsock/
H A Dvsock_diag_test.c284 if (h->nlmsg_type == NLMSG_DONE) in read_vsock_stat()
/linux/tools/net/ynl/pyynl/lib/
H A Dynl.py36 NLMSG_DONE = 3
216 elif self.nl_type == Netlink.NLMSG_DONE:
37 NLMSG_DONE = 3 global() variable in Netlink
/linux/samples/bpf/
H A Dxdp_router_ipv4_user.c75 if (nh->nlmsg_type == NLMSG_DONE) in recv_msg()
/linux/tools/testing/selftests/bpf/
H A Dxsk.c379 case NLMSG_DONE: in netlink_recv()
/linux/tools/lib/bpf/
H A Dnetlink.c194 case NLMSG_DONE: in libbpf_netlink_recv()
/linux/tools/bpf/bpftool/
H A Dnet.c193 case NLMSG_DONE: in netlink_recv()
/linux/tools/net/ynl/lib/
H A Dynl.c603 case NLMSG_DONE: in __ynl_sock_read_msgs()
/linux/drivers/net/team/
H A Dteam_core.c2411 nlh = nlmsg_put(skb, portid, seq, NLMSG_DONE, 0, flags | NLM_F_MULTI); in team_nl_send_options_get()
2709 nlh = nlmsg_put(skb, portid, seq, NLMSG_DONE, 0, flags | NLM_F_MULTI); in team_nl_send_port_list_get()
/linux/net/tipc/
H A Dnode.c2339 * handler. Resulting in the NLMSG_DONE message having in tipc_nl_node_dump()
2705 * handler. Resulting in the last NLMSG_DONE message in tipc_nl_node_dump_link()
/linux/tools/testing/selftests/net/ovpn/
H A Dovpn-cli.c1282 if (h->nlmsg_type == NLMSG_DONE) { in ovpn_rt_send()
/linux/kernel/
H A Daudit.c981 int t = done ? NLMSG_DONE : type; in audit_make_reply()