Home
last modified time | relevance | path

Searched refs:NLM_F_ACK (Results 1 – 25 of 28) 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/testing/selftests/net/netfilter/
Dconntrack_dump_flush.c150 NLM_F_ACK | NLM_F_EXCL; in conntrack_data_generate_v4()
184 NLM_F_ACK | NLM_F_EXCL; in conntrack_data_generate_v6()
273 nlh->nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in conntrack_flush_zone()
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()
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()
1384 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in xfrm_monitor_acquire()
1462 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in xfrm_expire_state()
[all …]
Dnetlink-dumps.c30 .nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_DUMP,
/linux-6.12.1/drivers/scsi/
Dscsi_netlink.c99 if ((err) || (nlh->nlmsg_flags & NLM_F_ACK)) in scsi_nl_rcv_msg()
/linux-6.12.1/tools/lib/thermal/
Dcommands.c293 NLM_F_DUMP | NLM_F_ACK, tz); in thermal_cmd_get_tz()
299 NLM_F_DUMP | NLM_F_ACK, tc); in thermal_cmd_get_cdev()
/linux-6.12.1/tools/testing/selftests/net/openvswitch/
Dovs-dpctl.py25 from pyroute2.netlink import NLM_F_ACK
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
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,
2437 msg_flags = NLM_F_REQUEST | NLM_F_ACK
/linux-6.12.1/tools/include/uapi/linux/
Dnetlink.h56 #define NLM_F_ACK 0x04 /* Reply with ack, with zero or error code */ 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.py37 NLM_F_ACK = 4 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/net/netfilter/
Dnfnetlink.c430 if (nlh->nlmsg_flags & NLM_F_ACK) { in nfnetlink_rcv_batch()
536 if (nlh->nlmsg_flags & NLM_F_ACK || err) { in nfnetlink_rcv_batch()
581 } else if (nlh->nlmsg_flags & NLM_F_ACK) { in nfnetlink_rcv_batch()
/linux-6.12.1/tools/lib/bpf/
Dnetlink.c295 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in __bpf_set_link_xdp_fd_replace()
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()
/linux-6.12.1/include/uapi/linux/
Dnetlink.h64 #define NLM_F_ACK 0x04 /* Reply with ack, with zero or error code */ macro
/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``
190 the ``NLM_F_ACK`` flag is set on the request Netlink will not respond
192 this quirk it is recommended to always set ``NLM_F_ACK``.
266 __u16 nlmsg_flags: NLM_F_REQUEST | NLM_F_ACK // (2)
328 And the error code (success) since ``NLM_F_ACK`` had been set on the request::
343 __u16 nlmsg_flags: NLM_F_REQUEST | NLM_F_ACK
/linux-6.12.1/drivers/infiniband/core/
Dnetlink.c244 if (nlh->nlmsg_flags & NLM_F_ACK || err) in rdma_nl_rcv_skb()
/linux-6.12.1/net/l2tp/
Dl2tp_netlink.c116 NLM_F_ACK, tunnel, cmd); in l2tp_tunnel_notify()
144 NLM_F_ACK, session, cmd); in l2tp_session_notify()
478 NLM_F_ACK, tunnel, L2TP_CMD_TUNNEL_GET); in l2tp_nl_cmd_tunnel_get()
/linux-6.12.1/tools/testing/selftests/bpf/
Dnetlink_helpers.c169 h->nlmsg_flags |= NLM_F_ACK; in __rtnl_talk_iov()
Dxsk.c405 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in xsk_set_mtu()
/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;
/linux-6.12.1/net/devlink/
Dhealth.c1098 &devlink_nl_family, NLM_F_ACK | NLM_F_MULTI, cmd); in devlink_fmsg_dumpit()
Dregion.c981 &devlink_nl_family, NLM_F_ACK | NLM_F_MULTI, in devlink_nl_region_read_dumpit()
/linux-6.12.1/drivers/net/team/
Dteam_core.c2511 NLM_F_ACK, team_nl_send_unicast, in team_nl_options_get_doit()
2797 NLM_F_ACK, team_nl_send_unicast, NULL); in team_nl_port_list_get_doit()
/linux-6.12.1/tools/testing/selftests/net/mptcp/
Dpm_nl_ctl.c212 nh->nlmsg_flags |= NLM_F_ACK; in do_nl_req()
/linux-6.12.1/kernel/
Daudit.c1570 ack = nlh->nlmsg_flags & NLM_F_ACK; in audit_receive()

12