/Linux-v6.1/net/ieee802154/ |
D | nl-mac.c | 887 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.1/tools/include/uapi/linux/ |
D | netlink.h | 69 #define NLM_F_EXCL 0x200 /* Do not touch, if it exists */ macro
|
/Linux-v6.1/include/uapi/linux/ |
D | netlink.h | 77 #define NLM_F_EXCL 0x200 /* Do not touch, if it exists */ macro
|
/Linux-v6.1/Documentation/userspace-api/netlink/ |
D | intro.rst | 654 ``NLM_F_EXCL`` has the opposite semantics and only succeeds if object already 657 exist, it can be combined with ``NLM_F_REPLACE`` and ``NLM_F_EXCL``. 661 4.4BSD ADD NLM_F_CREATE|NLM_F_EXCL 666 Check NLM_F_EXCL 671 ``NLM_F_EXCL`` without ``NLM_F_CREATE`` was used to check if object exists
|
/Linux-v6.1/tools/lib/bpf/ |
D | netlink.c | 501 return tc_qdisc_modify(hook, RTM_NEWQDISC, NLM_F_CREATE | NLM_F_EXCL); in tc_qdisc_create_excl() 641 flags = (flags & BPF_TC_F_REPLACE) ? NLM_F_REPLACE : NLM_F_EXCL; in bpf_tc_attach()
|
/Linux-v6.1/net/netfilter/ |
D | nfnetlink_osf.c | 331 if (info->nlh->nlmsg_flags & NLM_F_EXCL) in nfnl_osf_add_callback()
|
D | nf_tables_api.c | 862 if (ctx->flags & (NLM_F_CREATE | NLM_F_EXCL)) in nf_tables_table_notify() 863 flags |= ctx->flags & (NLM_F_CREATE | NLM_F_EXCL); in nf_tables_table_notify() 1192 if (info->nlh->nlmsg_flags & NLM_F_EXCL) { in nf_tables_newtable() 1676 if (ctx->flags & (NLM_F_CREATE | NLM_F_EXCL)) in nf_tables_chain_notify() 1677 flags |= ctx->flags & (NLM_F_CREATE | NLM_F_EXCL); in nf_tables_chain_notify() 2583 if (info->nlh->nlmsg_flags & NLM_F_EXCL) { in nf_tables_newchain() 3079 if (ctx->flags & (NLM_F_CREATE | NLM_F_EXCL)) in nf_tables_rule_notify() 3080 flags |= ctx->flags & (NLM_F_CREATE | NLM_F_EXCL); in nf_tables_rule_notify() 3447 if (info->nlh->nlmsg_flags & NLM_F_EXCL) { in nf_tables_newrule() 4113 if (ctx->flags & (NLM_F_CREATE | NLM_F_EXCL)) in nf_tables_set_notify() [all …]
|
D | nfnetlink_acct.c | 79 if (info->nlh->nlmsg_flags & NLM_F_EXCL) in nfnl_acct_new()
|
D | nfnetlink_cttimeout.c | 124 if (info->nlh->nlmsg_flags & NLM_F_EXCL) in cttimeout_new_timeout()
|
D | nfnetlink_cthelper.c | 450 if (info->nlh->nlmsg_flags & NLM_F_EXCL) in nfnl_cthelper_new()
|
D | nf_conntrack_netlink.c | 737 flags = NLM_F_CREATE|NLM_F_EXCL; in ctnetlink_conntrack_event() 2469 if (!(info->nlh->nlmsg_flags & NLM_F_EXCL)) { in ctnetlink_new_conntrack() 3112 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.1/net/sched/ |
D | sch_api.c | 1575 if (n->nlmsg_flags & NLM_F_EXCL) { in tc_modify_qdisc() 1616 ((n->nlmsg_flags & NLM_F_EXCL) || in tc_modify_qdisc() 1635 if (n->nlmsg_flags & NLM_F_EXCL) { in tc_modify_qdisc() 2088 if (n->nlmsg_flags & NLM_F_EXCL) in tc_ctl_tclass()
|
D | cls_api.c | 522 tc_chain_notify(chain, NULL, 0, NLM_F_CREATE | NLM_F_EXCL, in __tcf_chain_get() 2129 } else if (n->nlmsg_flags & NLM_F_EXCL) { in tc_new_tfilter() 2902 tc_chain_notify(chain, NULL, 0, NLM_F_CREATE | NLM_F_EXCL, in tc_ctl_chain()
|
/Linux-v6.1/net/ipv4/ |
D | fib_trie.c | 1221 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()
|
D | devinet.c | 967 if (nlh->nlmsg_flags & NLM_F_EXCL || in inet_rtm_newaddr()
|
/Linux-v6.1/net/ipv6/ |
D | ip6_fib.c | 1083 u16 nlflags = NLM_F_EXCL; in fib6_add_rt2node() 1103 (info->nlh->nlmsg_flags & NLM_F_EXCL)) in fib6_add_rt2node() 1106 nlflags &= ~NLM_F_EXCL; in fib6_add_rt2node()
|
/Linux-v6.1/tools/testing/selftests/net/ |
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()
|
/Linux-v6.1/net/bridge/ |
D | br_fdb.c | 1053 if (flags & NLM_F_EXCL) in fdb_add_entry()
|
/Linux-v6.1/net/core/ |
D | fib_rules.c | 808 if ((nlh->nlmsg_flags & NLM_F_EXCL) && in fib_nl_newrule()
|
/Linux-v6.1/drivers/net/ |
D | vrf.c | 1584 nlh->nlmsg_flags |= NLM_F_EXCL; in vrf_fib_rule()
|
D | gtp.c | 1361 if (info->nlhdr->nlmsg_flags & NLM_F_EXCL) in gtp_pdp_add()
|
/Linux-v6.1/drivers/block/drbd/ |
D | drbd_nl.c | 4218 if (info->nlhdr->nlmsg_flags & NLM_F_EXCL) { in drbd_adm_new_resource() 4280 if (info->nlhdr->nlmsg_flags & NLM_F_EXCL) in drbd_adm_new_minor()
|
/Linux-v6.1/drivers/net/vxlan/ |
D | vxlan_core.c | 1099 if (flags & NLM_F_EXCL) { in vxlan_fdb_update() 1461 NLM_F_EXCL|NLM_F_CREATE, in vxlan_snoop()
|
/Linux-v6.1/net/mpls/ |
D | af_mpls.c | 995 if ((cfg->rc_nlflags & NLM_F_EXCL) && old) in mpls_route_add()
|
/Linux-v6.1/net/netfilter/ipset/ |
D | ip_set_core.c | 959 return nlh->nlmsg_flags & NLM_F_EXCL ? 0 : IPSET_FLAG_EXIST; in flag_exist()
|