/linux-6.12.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-6.12.1/tools/testing/selftests/net/tcp_ao/lib/ |
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() 351 uint16_t flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_EXCL | NLM_F_CREATE; in __add_vrf()
|
/linux-6.12.1/tools/include/uapi/linux/ |
D | netlink.h | 69 #define NLM_F_EXCL 0x200 /* Do not touch, if it exists */ macro
|
/linux-6.12.1/tools/testing/selftests/net/netfilter/ |
D | conntrack_dump_flush.c | 150 NLM_F_ACK | NLM_F_EXCL; in conntrack_data_generate_v4() 184 NLM_F_ACK | NLM_F_EXCL; in conntrack_data_generate_v6()
|
/linux-6.12.1/include/uapi/linux/ |
D | netlink.h | 77 #define NLM_F_EXCL 0x200 /* Do not touch, if it exists */ macro
|
/linux-6.12.1/tools/net/ynl/ |
D | cli.py | 51 const=Netlink.NLM_F_EXCL)
|
/linux-6.12.1/Documentation/userspace-api/netlink/ |
D | intro.rst | 660 ``NLM_F_EXCL`` has the opposite semantics and only succeeds if object already 663 exist, it can be combined with ``NLM_F_REPLACE`` and ``NLM_F_EXCL``. 667 4.4BSD ADD NLM_F_CREATE|NLM_F_EXCL 672 Check NLM_F_EXCL 677 ``NLM_F_EXCL`` without ``NLM_F_CREATE`` was used to check if object exists
|
/linux-6.12.1/net/sched/ |
D | sch_api.c | 1594 n->nlmsg_flags & NLM_F_EXCL); in req_create_exclusive() 1601 !(n->nlmsg_flags & NLM_F_EXCL)); in req_change() 1667 if (n->nlmsg_flags & NLM_F_EXCL) { in tc_modify_qdisc() 1744 if (n->nlmsg_flags & NLM_F_EXCL) { in tc_modify_qdisc() 2231 if (n->nlmsg_flags & NLM_F_EXCL) in tc_ctl_tclass()
|
D | cls_api.c | 663 tc_chain_notify(chain, NULL, 0, NLM_F_CREATE | NLM_F_EXCL, in __tcf_chain_get() 2381 } else if (n->nlmsg_flags & NLM_F_EXCL) { in tc_new_tfilter() 3169 tc_chain_notify(chain, NULL, 0, NLM_F_CREATE | NLM_F_EXCL, in tc_ctl_chain()
|
/linux-6.12.1/net/netfilter/ |
D | nfnetlink_osf.c | 339 if (info->nlh->nlmsg_flags & NLM_F_EXCL) in nfnl_osf_add_callback()
|
D | nf_tables_api.c | 1087 if (ctx->flags & (NLM_F_CREATE | NLM_F_EXCL)) in nf_tables_table_notify() 1088 flags |= ctx->flags & (NLM_F_CREATE | NLM_F_EXCL); in nf_tables_table_notify() 1454 if (info->nlh->nlmsg_flags & NLM_F_EXCL) { in nf_tables_newtable() 1955 if (ctx->flags & (NLM_F_CREATE | NLM_F_EXCL)) in nf_tables_chain_notify() 1956 flags |= ctx->flags & (NLM_F_CREATE | NLM_F_EXCL); in nf_tables_chain_notify() 2927 if (info->nlh->nlmsg_flags & NLM_F_EXCL) { in nf_tables_newchain() 3539 if (ctx->flags & (NLM_F_CREATE | NLM_F_EXCL)) in nf_tables_rule_notify() 3540 flags |= ctx->flags & (NLM_F_CREATE | NLM_F_EXCL); in nf_tables_rule_notify() 4067 if (info->nlh->nlmsg_flags & NLM_F_EXCL) { in nf_tables_newrule() 4757 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 | 741 flags = NLM_F_CREATE|NLM_F_EXCL; in ctnetlink_conntrack_event() 2468 if (!(info->nlh->nlmsg_flags & NLM_F_EXCL)) { in ctnetlink_new_conntrack() 3113 flags = NLM_F_CREATE|NLM_F_EXCL; in ctnetlink_expect_event() 3681 if (!(info->nlh->nlmsg_flags & NLM_F_EXCL)) in ctnetlink_new_expect()
|
/linux-6.12.1/tools/lib/bpf/ |
D | netlink.c | 608 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-6.12.1/net/ipv6/ |
D | ip6_fib.c | 1094 u16 nlflags = NLM_F_EXCL; in fib6_add_rt2node() 1114 (info->nlh->nlmsg_flags & NLM_F_EXCL)) in fib6_add_rt2node() 1117 nlflags &= ~NLM_F_EXCL; in fib6_add_rt2node()
|
/linux-6.12.1/net/ipv4/ |
D | fib_trie.c | 1222 u16 nlflags = NLM_F_EXCL; in fib_table_insert() 1262 if (cfg->fc_nlflags & NLM_F_EXCL) in fib_table_insert() 1265 nlflags &= ~NLM_F_EXCL; in fib_table_insert()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | tc_netkit.c | 50 req.n.nlmsg_flags = NLM_F_REQUEST | NLM_F_CREATE | NLM_F_EXCL; in create_netkit()
|
D | tc_redirect.c | 180 req.n.nlmsg_flags = NLM_F_REQUEST | NLM_F_CREATE | NLM_F_EXCL; in create_netkit()
|
/linux-6.12.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-6.12.1/tools/net/ynl/lib/ |
D | ynl.py | 42 NLM_F_EXCL = 0x200 variable in Netlink
|
/linux-6.12.1/net/core/ |
D | fib_rules.c | 808 if ((nlh->nlmsg_flags & NLM_F_EXCL) && in fib_nl_newrule()
|
/linux-6.12.1/net/bridge/ |
D | br_fdb.c | 1107 if (flags & NLM_F_EXCL) in fdb_add_entry()
|
/linux-6.12.1/drivers/net/ |
D | vrf.c | 1543 nlh->nlmsg_flags |= NLM_F_EXCL; in vrf_fib_rule()
|