/linux/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | netlink.c | 137 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 D | netlink-dumps.c | 86 .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 D | ipsec.c | 310 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 D | conntrack_dump_flush.c | 156 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 D | audit_logread.c | 55 .nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK, in audit_send()
|
/linux/drivers/scsi/ |
H A D | scsi_netlink.c | 99 if ((err) || (nlh->nlmsg_flags & NLM_F_ACK)) in scsi_nl_rcv_msg()
|
/linux/tools/lib/thermal/ |
H A D | commands.c | 407 NLM_F_DUMP | NLM_F_ACK, tz); 413 NLM_F_DUMP | NLM_F_ACK, tc);
|
/linux/tools/testing/selftests/net/openvswitch/ |
H A D | ovs-dpctl.py | 25 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 D | ynl.c | 456 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 D | ynl.py | 40 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 D | netlink.h | 56 #define NLM_F_ACK 0x04 /* Reply with ack, with zero or error code */ macro
|
/linux/net/netfilter/ |
H A D | nfnetlink.c | 430 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 D | netlink.c | 295 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 D | netlink.h | 64 #define NLM_F_ACK 0x04 /* Reply with ack, with zero or error code */ macro
|
/linux/Documentation/userspace-api/netlink/ |
H A D | intro.rst | 152 - 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 D | l2tp_netlink.c | 116 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 D | netlink.c | 244 if (nlh->nlmsg_flags & NLM_F_ACK || err) in rdma_nl_rcv_skb()
|
/linux/tools/testing/selftests/bpf/ |
H A D | netlink_helpers.c | 169 h->nlmsg_flags |= NLM_F_ACK; in __rtnl_talk_iov()
|
H A D | xsk.c | 405 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in xsk_set_mtu()
|
/linux/Documentation/networking/ |
H A D | l2tp.rst | 278 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 D | team_core.c | 2515 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 D | pm_nl_ctl.c | 212 nh->nlmsg_flags |= NLM_F_ACK; in do_nl_req()
|
/linux/kernel/ |
H A D | audit.c | 1571 ack = nlh->nlmsg_flags & NLM_F_ACK; in audit_receive()
|
/linux/net/netlink/ |
H A D | genetlink.c | 1147 if (flags & ~(NLM_F_REQUEST | NLM_F_ACK | NLM_F_ECHO)) { in genl_header_check()
|
/linux/net/netfilter/ipset/ |
H A D | ip_set_core.c | 1560 if (nlh->nlmsg_flags & NLM_F_ACK) { in ip_set_dump_start()
|