Home
last modified time | relevance | path

Searched refs:nlmsg_flags (Results 1 – 25 of 88) sorted by relevance

1234

/openbmc/linux/crypto/
H A Dcrypto_user_stat.c24 u16 nlmsg_flags; member
116 CRYPTO_MSG_GETSTAT, sizeof(*ualg), info->nlmsg_flags); in crypto_reportstat_alg()
161 info.nlmsg_flags = 0; in crypto_reportstat()
H A Dcrypto_user_base.c33 u16 nlmsg_flags; member
164 CRYPTO_MSG_GETALG, sizeof(*ualg), info->nlmsg_flags); in crypto_report_alg()
209 info.nlmsg_flags = 0; in crypto_report()
235 info.nlmsg_flags = NLM_F_MULTI; in crypto_dump_report()
438 (nlh->nlmsg_flags & NLM_F_DUMP))) { in crypto_user_rcv_msg()
/openbmc/phosphor-networkd/test/
H A Dtest_netlink.cpp161 hdr.nlmsg_flags = NLM_F_MULTI; in TEST()
186 hdr.nlmsg_flags = NLM_F_MULTI; in TEST()
198 hdr.nlmsg_flags = 0; in TEST()
211 hdr.nlmsg_flags = NLM_F_MULTI; in TEST()
222 hdr.nlmsg_flags = 0; in TEST()
H A Dmock_syscall.cpp129 hdr.nlmsg_flags = NLM_F_MULTI; in sendmsg_link_dump()
137 hdr.nlmsg_flags = NLM_F_MULTI; in sendmsg_link_dump()
/openbmc/linux/tools/lib/bpf/
H A Dnetlink.c184 if (nh->nlmsg_flags & NLM_F_MULTI) in libbpf_netlink_recv()
272 .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()
692 return __get_tc_info(cookie, tc, tb, nh->nlmsg_flags & NLM_F_ECHO); in get_tc_info()
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()
H A Dnlattr.c170 if (!(nlh->nlmsg_flags & NLM_F_ACK_TLVS)) in libbpf_nla_dump_errormsg()
177 if (!(nlh->nlmsg_flags & NLM_F_CAPPED)) in libbpf_nla_dump_errormsg()
/openbmc/linux/net/ipv4/
H A Dinet_diag.c237 u16 nlmsg_flags, bool net_admin) in inet_sk_diag_fill() argument
253 cb->nlh->nlmsg_type, sizeof(*r), nlmsg_flags); in inet_sk_diag_fill()
417 u16 nlmsg_flags, bool net_admin) in inet_twsk_diag_fill() argument
426 sizeof(*r), nlmsg_flags); in inet_twsk_diag_fill()
457 u16 nlmsg_flags, bool net_admin) in inet_req_diag_fill() argument
465 cb->nlh->nlmsg_type, sizeof(*r), nlmsg_flags); in inet_req_diag_fill()
498 u16 nlmsg_flags, bool net_admin) in sk_diag_fill() argument
501 return inet_twsk_diag_fill(sk, skb, cb, nlmsg_flags, net_admin); in sk_diag_fill()
504 return inet_req_diag_fill(sk, skb, cb, nlmsg_flags, net_admin); in sk_diag_fill()
1315 if (nlh->nlmsg_flags & NLM_F_DUMP) { in inet_diag_rcv_msg_compat()
[all …]
/openbmc/linux/drivers/infiniband/core/
H A Dnetlink.c185 if ((nlh->nlmsg_flags & NLM_F_DUMP) || index == RDMA_NL_IWCM) { in rdma_nl_rcv_msg()
231 if (!(nlh->nlmsg_flags & NLM_F_REQUEST) && in rdma_nl_rcv_skb()
244 if (nlh->nlmsg_flags & NLM_F_ACK || err) in rdma_nl_rcv_skb()
/openbmc/phosphor-networkd/src/
H A Dnetlink.cpp47 if (hdr.nlmsg_flags & NLM_F_MULTI) in processMsg()
74 if (!done && !(hdr.nlmsg_flags & NLM_F_MULTI)) in processMsg()
H A Dnetlink.hpp84 data.hdr.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | flags; in performRequest()
/openbmc/linux/tools/testing/selftests/netfilter/
H A 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()
H A Daudit_logread.c55 .nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK, in audit_send()
/openbmc/linux/net/sched/
H A Dsch_api.c1031 n->nlmsg_flags & NLM_F_ECHO); in qdisc_notify()
1554 n->nlmsg_flags & NLM_F_REPLACE); in req_create_or_replace()
1560 n->nlmsg_flags & NLM_F_EXCL); in req_create_exclusive()
1566 !(n->nlmsg_flags & NLM_F_REPLACE) && in req_change()
1567 !(n->nlmsg_flags & NLM_F_EXCL)); in req_change()
1633 if (n->nlmsg_flags & NLM_F_EXCL) { in tc_modify_qdisc()
1710 if (n->nlmsg_flags & NLM_F_EXCL) { in tc_modify_qdisc()
1950 n->nlmsg_flags & NLM_F_ECHO); in tclass_notify()
1983 n->nlmsg_flags & NLM_F_ECHO); in tclass_del_notify()
2163 !(n->nlmsg_flags & NLM_F_CREATE)) in tc_ctl_tclass()
[all …]
H A Dact_api.c1758 nlh->nlmsg_flags |= NLM_F_ROOT; in tca_action_flush()
1761 n->nlmsg_flags & NLM_F_ECHO); in tca_action_flush()
1921 n->nlmsg_flags & NLM_F_ECHO); in tcf_del_notify()
1940 if (event == RTM_DELACTION && n->nlmsg_flags & NLM_F_ROOT) { in tca_action_gd()
1984 if (tca_get_fill(skb, actions, portid, n->nlmsg_seq, n->nlmsg_flags, in tcf_add_notify()
1992 n->nlmsg_flags & NLM_F_ECHO); in tcf_add_notify()
2062 if (n->nlmsg_flags & NLM_F_REPLACE) in tc_ctl_action()
2182 nlh->nlmsg_flags |= NLM_F_MULTI; in tc_dump_action()
/openbmc/linux/tools/testing/selftests/net/
H A Dipsec.c322 req.nh.nlmsg_flags = flags; in veth_add()
370 req.nh.nlmsg_flags = flags; in ip4_addr_set()
410 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in link_set_up()
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()
1291 req.nh.nlmsg_flags = NLM_F_REQUEST; in xfrm_state_allocspi()
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 …]
/openbmc/linux/net/tipc/
H A Ddiag.c85 if (h->nlmsg_flags & NLM_F_DUMP) { in tipc_sock_diag_handler_dump()
/openbmc/linux/drivers/scsi/
H A Dscsi_netlink.c99 if ((err) || (nlh->nlmsg_flags & NLM_F_ACK)) in scsi_nl_rcv_msg()
/openbmc/linux/tools/bpf/bpftool/
H A Dnet.c177 if (nh->nlmsg_flags & NLM_F_MULTI) in netlink_recv()
229 .nlh.nlmsg_flags = NLM_F_DUMP | NLM_F_REQUEST, in netlink_get_class()
268 .nlh.nlmsg_flags = NLM_F_DUMP | NLM_F_REQUEST, in netlink_get_qdisc()
307 .nlh.nlmsg_flags = NLM_F_DUMP | NLM_F_REQUEST, in netlink_get_filter()
346 .nlh.nlmsg_flags = NLM_F_DUMP | NLM_F_REQUEST, in netlink_get_link()
/openbmc/linux/include/linux/
H A Dinet_diag.h49 u16 nlmsg_flags, bool net_admin);
/openbmc/linux/net/netfilter/
H A Dnfnetlink_acct.c79 if (info->nlh->nlmsg_flags & NLM_F_EXCL) in nfnl_acct_new()
87 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) { in nfnl_acct_new()
282 if (info->nlh->nlmsg_flags & NLM_F_DUMP) { in nfnl_acct_get()
H A Dnfnetlink_cttimeout.c124 if (info->nlh->nlmsg_flags & NLM_F_EXCL) in cttimeout_new_timeout()
132 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) { in cttimeout_new_timeout()
272 if (info->nlh->nlmsg_flags & NLM_F_DUMP) { in cttimeout_get_timeout()
H A Dnfnetlink_osf.c313 if (!(info->nlh->nlmsg_flags & NLM_F_CREATE)) in nfnl_osf_add_callback()
339 if (info->nlh->nlmsg_flags & NLM_F_EXCL) in nfnl_osf_add_callback()
/openbmc/linux/Documentation/userspace-api/netlink/
H A Dintro.rst115 __u16 nlmsg_flags; /* Flags - request or dump */
149 are initiated by the user. :c:member:`nlmsghdr.nlmsg_flags` should
219 is indicated by ``NLM_F_CAPPED`` in :c:member:`nlmsghdr.nlmsg_flags`.
224 :c:member:`nlmsghdr.nlmsg_flags`.
262 __u16 nlmsg_flags: NLM_F_REQUEST | NLM_F_ACK // (2)
292 __u16 nlmsg_flags: 0
330 __u16 nlmsg_flags: NLM_F_CAPPED /* There won't be a payload */
339 __u16 nlmsg_flags: NLM_F_REQUEST | NLM_F_ACK
449 __u16 nlmsg_flags: 0
641 and ``DEL`` requests in the upper byte of nlmsg_flags in struct nlmsghdr.
/openbmc/linux/tools/include/uapi/linux/
H A Dnetlink.h47 __u16 nlmsg_flags; /* Additional flags */ member
/openbmc/linux/include/uapi/linux/
H A Dnetlink.h55 __u16 nlmsg_flags; member

1234