Home
last modified time | relevance | path

Searched refs:NLM_F_REQUEST (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.12.1/tools/testing/selftests/net/tcp_ao/lib/
Dnetlink.c137 uint16_t flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_EXCL | NLM_F_CREATE; in __add_veth()
200 uint16_t flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_EXCL | NLM_F_CREATE; in __ip_addr_add()
260 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_CREATE; in __ip_route_add()
319 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in __link_set_up()
351 uint16_t flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_EXCL | NLM_F_CREATE; in __add_vrf()
/linux-6.12.1/tools/lib/bpf/
Dnetlink.c272 .nh.nlmsg_flags = NLM_F_REQUEST, in libbpf_netlink_resolve_genl_family_id()
295 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in __bpf_set_link_xdp_fd_replace()
436 .nh.nlmsg_flags = NLM_F_DUMP | NLM_F_REQUEST, in bpf_xdp_query()
485 req.nh.nlmsg_flags = NLM_F_REQUEST; in bpf_xdp_query()
594 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | flags; in tc_qdisc_modify()
753 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_CREATE | in bpf_tc_attach()
830 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in __bpf_tc_detach()
897 req.nh.nlmsg_flags = NLM_F_REQUEST; in bpf_tc_query()
/linux-6.12.1/tools/testing/selftests/net/netfilter/
Dconntrack_dump_flush.c149 nlh->nlmsg_flags = NLM_F_REQUEST | NLM_F_CREATE | in conntrack_data_generate_v4()
183 nlh->nlmsg_flags = NLM_F_REQUEST | NLM_F_CREATE | in conntrack_data_generate_v6()
226 nlh->nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP; in conntracK_count_zone()
273 nlh->nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in conntrack_flush_zone()
Dnf_queue.c131 nlh->nlmsg_flags = NLM_F_REQUEST; in nfq_build_cfg_request()
155 nlh->nlmsg_flags = NLM_F_REQUEST; in nfq_build_cfg_params()
179 nlh->nlmsg_flags = NLM_F_REQUEST; in nfq_build_verdict()
Daudit_logread.c55 .nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK, in audit_send()
/linux-6.12.1/tools/testing/selftests/net/
Dipsec.c310 uint16_t flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_EXCL | NLM_F_CREATE; in veth_add()
360 uint16_t flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_EXCL | NLM_F_CREATE; in ip4_addr_set()
410 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in link_set_up()
438 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_CREATE; in ip4_route_set()
927 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in xfrm_state_add()
1026 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP; in xfrm_state_check()
1111 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in xfrm_policy_add()
1184 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in xfrm_policy_del()
1235 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in xfrm_state_del()
1291 req.nh.nlmsg_flags = NLM_F_REQUEST; in xfrm_state_allocspi()
[all …]
Dnetlink-dumps.c30 .nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_DUMP,
Dtap.c103 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_CREATE; in dev_create()
160 req.nh.nlmsg_flags = NLM_F_REQUEST; in dev_delete()
Dtun.c85 req.nh.nlmsg_flags = NLM_F_REQUEST; in tun_delete()
/linux-6.12.1/tools/testing/selftests/net/openvswitch/
Dovs-dpctl.py27 from pyroute2.netlink import NLM_F_REQUEST
1937 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST
1980 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
2001 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
2099 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST
2157 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
2185 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
2203 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
2386 msg_flags=NLM_F_REQUEST | NLM_F_ACK,
2412 msg_flags=NLM_F_REQUEST | NLM_F_ACK,
[all …]
/linux-6.12.1/tools/testing/selftests/nci/
Dnci_dev.c173 &nla_get_family_len, NLM_F_REQUEST); in send_get_nfc_family()
248 &nla_type, &nla_data, &nla_len, NLM_F_REQUEST); in send_cmd_with_idx()
597 nla_start_poll_data, nla_start_poll_len, NLM_F_REQUEST); in start_polling()
662 &tagid_type_data, &tagid_len, NLM_F_REQUEST | NLM_F_DUMP); in get_taginfo()
/linux-6.12.1/tools/bpf/bpftool/
Dnet.c235 .nlh.nlmsg_flags = NLM_F_DUMP | NLM_F_REQUEST, in netlink_get_class()
274 .nlh.nlmsg_flags = NLM_F_DUMP | NLM_F_REQUEST, in netlink_get_qdisc()
313 .nlh.nlmsg_flags = NLM_F_DUMP | NLM_F_REQUEST, in netlink_get_filter()
352 .nlh.nlmsg_flags = NLM_F_DUMP | NLM_F_REQUEST, in netlink_get_link()
/linux-6.12.1/tools/include/uapi/linux/
Dnetlink.h54 #define NLM_F_REQUEST 0x01 /* It is request message. */ macro
/linux-6.12.1/tools/net/ynl/lib/
Dynl.c456 ynl_msg_start(ys, id, NLM_F_REQUEST | NLM_F_ACK); in ynl_msg_start_req()
461 ynl_msg_start(ys, id, NLM_F_REQUEST | NLM_F_ACK | NLM_F_DUMP); in ynl_msg_start_dump()
467 return ynl_gemsg_start(ys, id, NLM_F_REQUEST | NLM_F_ACK, cmd, version); in ynl_gemsg_start_req()
473 return ynl_gemsg_start(ys, id, NLM_F_REQUEST | NLM_F_ACK | NLM_F_DUMP, in ynl_gemsg_start_dump()
Dynl.py36 NLM_F_REQUEST = 1 variable in Netlink
311 Netlink.NLM_F_REQUEST | Netlink.NLM_F_ACK | Netlink.NLM_F_DUMP,
945 nl_flags = Netlink.NLM_F_REQUEST | Netlink.NLM_F_ACK
/linux-6.12.1/include/uapi/linux/
Dnetlink.h62 #define NLM_F_REQUEST 0x01 /* It is request message. */ macro
/linux-6.12.1/tools/testing/selftests/net/af_unix/
Ddiag_uid.c87 .nlmsg_flags = NLM_F_REQUEST in send_request()
/linux-6.12.1/drivers/infiniband/core/
Dnetlink.c231 if (!(nlh->nlmsg_flags & NLM_F_REQUEST) && in rdma_nl_rcv_skb()
Daddr.c136 if ((nlh->nlmsg_flags & NLM_F_REQUEST) || in ib_nl_handle_ip_res_resp()
174 RDMA_NL_LS_OP_IP_RESOLVE, NLM_F_REQUEST); in ib_nl_ip_send_msg()
/linux-6.12.1/samples/bpf/
Dxdp_router_ipv4_user.c281 req.nl.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP; in get_route_table()
417 req.nl.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP; in get_arp_table()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dxfrm_info.c219 nh->nlmsg_flags |= NLM_F_CREATE | NLM_F_REQUEST; in setup_xfrmi_external_dev()
/linux-6.12.1/tools/accounting/
Dprocacct.c138 msg.n.nlmsg_flags = NLM_F_REQUEST; in send_cmd()
/linux-6.12.1/tools/testing/vsock/
Dvsock_diag_test.c178 .nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP, in send_req()
/linux-6.12.1/Documentation/userspace-api/netlink/
Dintro.rst152 - for ``do``: ``NLM_F_REQUEST | NLM_F_ACK``
153 - for ``dump``: ``NLM_F_REQUEST | NLM_F_ACK | NLM_F_DUMP``
266 __u16 nlmsg_flags: NLM_F_REQUEST | NLM_F_ACK // (2)
343 __u16 nlmsg_flags: NLM_F_REQUEST | NLM_F_ACK
/linux-6.12.1/Documentation/networking/
Dl2tp.rst278 nlh->nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK;
299 nlh->nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK;
323 nlh->nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK;
341 nlh->nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK;

12