/openbmc/linux/crypto/ |
H A D | crypto_user_stat.c | 24 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 D | crypto_user_base.c | 33 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 D | test_netlink.cpp | 161 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 D | mock_syscall.cpp | 129 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 D | netlink.c | 184 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 D | nlattr.c | 170 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/drivers/infiniband/core/ |
H A D | netlink.c | 185 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/linux/net/ipv4/ |
H A D | inet_diag.c | 237 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() 506 return inet_sk_diag_fill(sk, inet_csk(sk), skb, cb, r, nlmsg_flags, in sk_diag_fill() [all …]
|
/openbmc/linux/net/sched/ |
H A D | sch_api.c | 1030 n->nlmsg_flags & NLM_F_ECHO); in qdisc_notify() 1558 return (n->nlmsg_flags & NLM_F_CREATE && in req_create_or_replace() 1559 n->nlmsg_flags & NLM_F_REPLACE); in req_create_or_replace() 1564 return (n->nlmsg_flags & NLM_F_CREATE && in req_create_exclusive() 1565 n->nlmsg_flags & NLM_F_EXCL); in req_create_exclusive() 1570 return (!(n->nlmsg_flags & NLM_F_CREATE) && in req_change() 1571 !(n->nlmsg_flags & NLM_F_REPLACE) && in req_change() 1572 !(n->nlmsg_flags & NLM_F_EXCL)); in req_change() 1627 if (q && !(n->nlmsg_flags & NLM_F_REPLACE)) { in tc_modify_qdisc() 1642 if (n->nlmsg_flags & NLM_F_EXCL) { in tc_modify_qdisc() [all …]
|
H A D | act_api.c | 1779 nlh->nlmsg_flags |= NLM_F_ROOT; in tca_action_flush() 1782 n->nlmsg_flags & NLM_F_ECHO); in tca_action_flush() 1942 n->nlmsg_flags & NLM_F_ECHO); in tcf_del_notify() 1961 if (event == RTM_DELACTION && n->nlmsg_flags & NLM_F_ROOT) { in tca_action_gd() 2005 if (tca_get_fill(skb, actions, portid, n->nlmsg_seq, n->nlmsg_flags, in tcf_add_notify() 2013 n->nlmsg_flags & NLM_F_ECHO); in tcf_add_notify() 2083 if (n->nlmsg_flags & NLM_F_REPLACE) in tc_ctl_action() 2203 nlh->nlmsg_flags |= NLM_F_MULTI; in tc_dump_action()
|
/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | nf-queue.c | 131 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 D | audit_logread.c | 55 .nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK, in audit_send()
|
/openbmc/phosphor-networkd/src/ |
H A D | netlink.cpp | 47 if (hdr.nlmsg_flags & NLM_F_MULTI) in processMsg() 74 if (!done && !(hdr.nlmsg_flags & NLM_F_MULTI)) in processMsg()
|
H A D | netlink.hpp | 84 data.hdr.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | flags; in performRequest()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | ipsec.c | 323 req.nh.nlmsg_flags = flags; in veth_add() 371 req.nh.nlmsg_flags = flags; in ip4_addr_set() 411 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in link_set_up() 439 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_CREATE; in ip4_route_set() 928 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in xfrm_state_add() 1027 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP; in xfrm_state_check() 1112 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in xfrm_policy_add() 1185 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in xfrm_policy_del() 1236 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in xfrm_state_del() 1292 req.nh.nlmsg_flags = NLM_F_REQUEST; in xfrm_state_allocspi() [all …]
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | net.c | 177 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/net/tipc/ |
H A D | diag.c | 85 if (h->nlmsg_flags & NLM_F_DUMP) { in tipc_sock_diag_handler_dump()
|
/openbmc/linux/Documentation/userspace-api/netlink/ |
H A D | intro.rst | 115 __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/net/netfilter/ |
H A D | nfnetlink_acct.c | 79 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 D | nfnetlink_cttimeout.c | 124 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 D | nfnetlink_osf.c | 313 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/drivers/scsi/ |
H A D | scsi_netlink.c | 99 if ((err) || (nlh->nlmsg_flags & NLM_F_ACK)) in scsi_nl_rcv_msg()
|
/openbmc/linux/include/linux/ |
H A D | inet_diag.h | 49 u16 nlmsg_flags, bool net_admin);
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | netlink.h | 47 __u16 nlmsg_flags; /* Additional flags */ member
|
/openbmc/linux/include/uapi/linux/ |
H A D | netlink.h | 55 __u16 nlmsg_flags; member
|