Home
last modified time | relevance | path

Searched refs:NLM_F_EXCL (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v6.6/net/ieee802154/
Dnl-mac.c887 if ((info->nlhdr->nlmsg_flags & (NLM_F_CREATE | NLM_F_EXCL)) != in ieee802154_llsec_add_key()
888 (NLM_F_CREATE | NLM_F_EXCL)) in ieee802154_llsec_add_key()
1022 if ((info->nlhdr->nlmsg_flags & (NLM_F_CREATE | NLM_F_EXCL)) != in ieee802154_llsec_add_dev()
1023 (NLM_F_CREATE | NLM_F_EXCL)) in ieee802154_llsec_add_dev()
1127 if ((info->nlhdr->nlmsg_flags & (NLM_F_CREATE | NLM_F_EXCL)) != in ieee802154_llsec_add_devkey()
1128 (NLM_F_CREATE | NLM_F_EXCL)) in ieee802154_llsec_add_devkey()
1261 if ((info->nlhdr->nlmsg_flags & (NLM_F_CREATE | NLM_F_EXCL)) != in ieee802154_llsec_add_seclevel()
1262 (NLM_F_CREATE | NLM_F_EXCL)) in ieee802154_llsec_add_seclevel()
/Linux-v6.6/tools/net/ynl/
Dcli.py25 const=Netlink.NLM_F_EXCL)
/Linux-v6.6/tools/include/uapi/linux/
Dnetlink.h69 #define NLM_F_EXCL 0x200 /* Do not touch, if it exists */ macro
/Linux-v6.6/include/uapi/linux/
Dnetlink.h77 #define NLM_F_EXCL 0x200 /* Do not touch, if it exists */ macro
/Linux-v6.6/Documentation/userspace-api/netlink/
Dintro.rst656 ``NLM_F_EXCL`` has the opposite semantics and only succeeds if object already
659 exist, it can be combined with ``NLM_F_REPLACE`` and ``NLM_F_EXCL``.
663 4.4BSD ADD NLM_F_CREATE|NLM_F_EXCL
668 Check NLM_F_EXCL
673 ``NLM_F_EXCL`` without ``NLM_F_CREATE`` was used to check if object exists
/Linux-v6.6/net/sched/
Dsch_api.c1559 n->nlmsg_flags & NLM_F_EXCL); in req_create_exclusive()
1566 !(n->nlmsg_flags & NLM_F_EXCL)); in req_change()
1632 if (n->nlmsg_flags & NLM_F_EXCL) { in tc_modify_qdisc()
1709 if (n->nlmsg_flags & NLM_F_EXCL) { in tc_modify_qdisc()
2168 if (n->nlmsg_flags & NLM_F_EXCL) in tc_ctl_tclass()
Dcls_api.c626 tc_chain_notify(chain, NULL, 0, NLM_F_CREATE | NLM_F_EXCL, in __tcf_chain_get()
2291 } else if (n->nlmsg_flags & NLM_F_EXCL) { in tc_new_tfilter()
3074 tc_chain_notify(chain, NULL, 0, NLM_F_CREATE | NLM_F_EXCL, in tc_ctl_chain()
/Linux-v6.6/net/netfilter/
Dnfnetlink_osf.c339 if (info->nlh->nlmsg_flags & NLM_F_EXCL) in nfnl_osf_add_callback()
Dnf_tables_api.c1024 if (ctx->flags & (NLM_F_CREATE | NLM_F_EXCL)) in nf_tables_table_notify()
1025 flags |= ctx->flags & (NLM_F_CREATE | NLM_F_EXCL); in nf_tables_table_notify()
1358 if (info->nlh->nlmsg_flags & NLM_F_EXCL) { in nf_tables_newtable()
1858 if (ctx->flags & (NLM_F_CREATE | NLM_F_EXCL)) in nf_tables_chain_notify()
1859 flags |= ctx->flags & (NLM_F_CREATE | NLM_F_EXCL); in nf_tables_chain_notify()
2811 if (info->nlh->nlmsg_flags & NLM_F_EXCL) { in nf_tables_newchain()
3414 if (ctx->flags & (NLM_F_CREATE | NLM_F_EXCL)) in nf_tables_rule_notify()
3415 flags |= ctx->flags & (NLM_F_CREATE | NLM_F_EXCL); in nf_tables_rule_notify()
3871 if (info->nlh->nlmsg_flags & NLM_F_EXCL) { in nf_tables_newrule()
4560 if (ctx->flags & (NLM_F_CREATE | NLM_F_EXCL)) in nf_tables_set_notify()
[all …]
Dnfnetlink_acct.c79 if (info->nlh->nlmsg_flags & NLM_F_EXCL) in nfnl_acct_new()
Dnfnetlink_cttimeout.c124 if (info->nlh->nlmsg_flags & NLM_F_EXCL) in cttimeout_new_timeout()
Dnfnetlink_cthelper.c450 if (info->nlh->nlmsg_flags & NLM_F_EXCL) in nfnl_cthelper_new()
Dnf_conntrack_netlink.c743 flags = NLM_F_CREATE|NLM_F_EXCL; in ctnetlink_conntrack_event()
2465 if (!(info->nlh->nlmsg_flags & NLM_F_EXCL)) { in ctnetlink_new_conntrack()
3110 flags = NLM_F_CREATE|NLM_F_EXCL; in ctnetlink_expect_event()
3677 if (!(info->nlh->nlmsg_flags & NLM_F_EXCL)) in ctnetlink_new_expect()
/Linux-v6.6/tools/lib/bpf/
Dnetlink.c608 return tc_qdisc_modify(hook, RTM_NEWQDISC, NLM_F_CREATE | NLM_F_EXCL); in tc_qdisc_create_excl()
748 flags = (flags & BPF_TC_F_REPLACE) ? NLM_F_REPLACE : NLM_F_EXCL; in bpf_tc_attach()
/Linux-v6.6/net/ipv6/
Dip6_fib.c1087 u16 nlflags = NLM_F_EXCL; in fib6_add_rt2node()
1107 (info->nlh->nlmsg_flags & NLM_F_EXCL)) in fib6_add_rt2node()
1110 nlflags &= ~NLM_F_EXCL; in fib6_add_rt2node()
/Linux-v6.6/net/ipv4/
Dfib_trie.c1221 u16 nlflags = NLM_F_EXCL; in fib_table_insert()
1261 if (cfg->fc_nlflags & NLM_F_EXCL) in fib_table_insert()
1264 nlflags &= ~NLM_F_EXCL; in fib_table_insert()
Ddevinet.c984 if (nlh->nlmsg_flags & NLM_F_EXCL || in inet_rtm_newaddr()
/Linux-v6.6/tools/net/ynl/lib/
Dynl.py40 NLM_F_EXCL = 0x200 variable in Netlink
/Linux-v6.6/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()
/Linux-v6.6/net/core/
Dfib_rules.c808 if ((nlh->nlmsg_flags & NLM_F_EXCL) && in fib_nl_newrule()
/Linux-v6.6/net/bridge/
Dbr_fdb.c1065 if (flags & NLM_F_EXCL) in fdb_add_entry()
/Linux-v6.6/drivers/net/
Dvrf.c1582 nlh->nlmsg_flags |= NLM_F_EXCL; in vrf_fib_rule()
Dgtp.c1365 if (info->nlhdr->nlmsg_flags & NLM_F_EXCL) in gtp_pdp_add()
/Linux-v6.6/drivers/block/drbd/
Ddrbd_nl.c4241 if (info->nlhdr->nlmsg_flags & NLM_F_EXCL) { in drbd_adm_new_resource()
4303 if (info->nlhdr->nlmsg_flags & NLM_F_EXCL) in drbd_adm_new_minor()
/Linux-v6.6/drivers/net/vxlan/
Dvxlan_core.c1127 if (flags & NLM_F_EXCL) { in vxlan_fdb_update()
1489 NLM_F_EXCL|NLM_F_CREATE, in vxlan_snoop()

12