Home
last modified time | relevance | path

Searched refs:NLM_F_ACK (Results 1 – 25 of 26) sorted by relevance

12

/linux/tools/testing/selftests/net/tcp_ao/lib/
H A 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/tools/testing/selftests/net/
H A Dnetlink-dumps.c86 .nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_DUMP,
159 .nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_DUMP,
H A 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 …]
/linux/tools/testing/selftests/net/netfilter/
H A Dconntrack_dump_flush.c156 NLM_F_ACK | NLM_F_EXCL; in conntrack_data_generate_v4()
190 NLM_F_ACK | NLM_F_EXCL; in conntrack_data_generate_v6()
279 nlh->nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in conntrack_flush_zone()
H A Daudit_logread.c55 .nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK, in audit_send()
/linux/drivers/scsi/
H A Dscsi_netlink.c99 if ((err) || (nlh->nlmsg_flags & NLM_F_ACK)) in scsi_nl_rcv_msg()
/linux/tools/lib/thermal/
H A Dcommands.c407 NLM_F_DUMP | NLM_F_ACK, tz);
413 NLM_F_DUMP | NLM_F_ACK, tc);
/linux/tools/testing/selftests/net/openvswitch/
H A 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/tools/net/ynl/lib/
H A 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()
H A Dynl.py40 NLM_F_ACK = 4 variable in Netlink
314 Netlink.NLM_F_REQUEST | Netlink.NLM_F_ACK | Netlink.NLM_F_DUMP,
967 nl_flags = Netlink.NLM_F_REQUEST | Netlink.NLM_F_ACK
/linux/tools/include/uapi/linux/
H A Dnetlink.h56 #define NLM_F_ACK 0x04 /* Reply with ack, with zero or error code */ macro
/linux/net/netfilter/
H A 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/tools/lib/bpf/
H A 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/include/uapi/linux/
H A Dnetlink.h64 #define NLM_F_ACK 0x04 /* Reply with ack, with zero or error code */ macro
/linux/Documentation/userspace-api/netlink/
H A 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/net/l2tp/
H A 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/drivers/infiniband/core/
H A Dnetlink.c244 if (nlh->nlmsg_flags & NLM_F_ACK || err) in rdma_nl_rcv_skb()
/linux/tools/testing/selftests/bpf/
H A Dnetlink_helpers.c169 h->nlmsg_flags |= NLM_F_ACK; in __rtnl_talk_iov()
H A Dxsk.c405 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in xsk_set_mtu()
/linux/Documentation/networking/
H A 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/drivers/net/team/
H A Dteam_core.c2515 NLM_F_ACK, team_nl_send_unicast, in team_nl_options_get_doit()
2801 NLM_F_ACK, team_nl_send_unicast, NULL); in team_nl_port_list_get_doit()
/linux/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c212 nh->nlmsg_flags |= NLM_F_ACK; in do_nl_req()
/linux/kernel/
H A Daudit.c1571 ack = nlh->nlmsg_flags & NLM_F_ACK; in audit_receive()
/linux/net/netlink/
H A Dgenetlink.c1147 if (flags & ~(NLM_F_REQUEST | NLM_F_ACK | NLM_F_ECHO)) { in genl_header_check()
/linux/net/netfilter/ipset/
H A Dip_set_core.c1560 if (nlh->nlmsg_flags & NLM_F_ACK) { in ip_set_dump_start()

12