/Linux-v6.6/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.6/tools/net/ynl/ |
D | cli.py | 27 const=Netlink.NLM_F_CREATE)
|
/Linux-v6.6/tools/include/uapi/linux/ |
D | netlink.h | 70 #define NLM_F_CREATE 0x400 /* Create, if it does not exist */ macro
|
/Linux-v6.6/include/uapi/linux/ |
D | netlink.h | 78 #define NLM_F_CREATE 0x400 /* Create, if it does not exist */ macro
|
/Linux-v6.6/Documentation/userspace-api/netlink/ |
D | intro.rst | 658 ``NLM_F_CREATE`` asks for the object to be created if it does not 663 4.4BSD ADD NLM_F_CREATE|NLM_F_EXCL 666 True CHANGE NLM_F_CREATE|NLM_F_REPLACE 667 Append NLM_F_CREATE 671 ``NLM_F_REPLACE`` without ``NLM_F_CREATE`` was initially used instead 673 ``NLM_F_EXCL`` without ``NLM_F_CREATE`` was used to check if object exists
|
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | xfrm_info.c | 219 nh->nlmsg_flags |= NLM_F_CREATE | NLM_F_REQUEST; in setup_xfrmi_external_dev()
|
/Linux-v6.6/net/sched/ |
D | sch_api.c | 1552 return (n->nlmsg_flags & NLM_F_CREATE && in req_create_or_replace() 1558 return (n->nlmsg_flags & NLM_F_CREATE && in req_create_exclusive() 1564 return (!(n->nlmsg_flags & NLM_F_CREATE) && in req_change() 1723 if (!(n->nlmsg_flags & NLM_F_CREATE)) { in tc_modify_qdisc() 2162 !(n->nlmsg_flags & NLM_F_CREATE)) in tc_ctl_tclass()
|
D | cls_api.c | 626 tc_chain_notify(chain, NULL, 0, NLM_F_CREATE | NLM_F_EXCL, in __tcf_chain_get() 2166 if (n->nlmsg_flags & NLM_F_CREATE) { in tc_new_tfilter() 2248 if (!(n->nlmsg_flags & NLM_F_CREATE)) { in tc_new_tfilter() 2286 if (!(n->nlmsg_flags & NLM_F_CREATE)) { in tc_new_tfilter() 2305 if (!(n->nlmsg_flags & NLM_F_CREATE)) in tc_new_tfilter() 3034 if (!(n->nlmsg_flags & NLM_F_CREATE)) { in tc_ctl_chain() 3074 tc_chain_notify(chain, NULL, 0, NLM_F_CREATE | NLM_F_EXCL, in tc_ctl_chain()
|
/Linux-v6.6/net/netfilter/ |
D | nfnetlink_osf.c | 313 if (!(info->nlh->nlmsg_flags & NLM_F_CREATE)) in nfnl_osf_add_callback()
|
D | nf_tables_api.c | 1024 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() 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() 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() 3880 if (!(info->nlh->nlmsg_flags & NLM_F_CREATE) || in nf_tables_newrule() 4560 if (ctx->flags & (NLM_F_CREATE | NLM_F_EXCL)) in nf_tables_set_notify() 4561 flags |= ctx->flags & (NLM_F_CREATE | NLM_F_EXCL); in nf_tables_set_notify() 5051 if (!(info->nlh->nlmsg_flags & NLM_F_CREATE)) in nf_tables_newset() [all …]
|
D | nf_conntrack_netlink.c | 743 flags = NLM_F_CREATE|NLM_F_EXCL; in ctnetlink_conntrack_event() 2423 if (info->nlh->nlmsg_flags & NLM_F_CREATE) { in ctnetlink_new_conntrack() 3110 flags = NLM_F_CREATE|NLM_F_EXCL; in ctnetlink_expect_event() 3668 if (info->nlh->nlmsg_flags & NLM_F_CREATE) { in ctnetlink_new_expect()
|
/Linux-v6.6/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() 753 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_CREATE | in bpf_tc_attach()
|
/Linux-v6.6/tools/testing/selftests/net/ |
D | tap.c | 103 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_CREATE; in dev_create()
|
D | udpgso.c | 381 nh->nlmsg_flags = NLM_F_REQUEST | NLM_F_CREATE; in set_route_mtu()
|
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() 438 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_CREATE; in ip4_route_set()
|
/Linux-v6.6/drivers/net/vxlan/ |
D | vxlan_mdb.c | 620 if ((nlmsg_flags & (NLM_F_CREATE | NLM_F_REPLACE)) && in vxlan_mdb_config_init() 1121 if (!(cfg->nlflags & NLM_F_CREATE)) { in vxlan_mdb_remote_add()
|
D | vxlan_vnifilter.c | 490 NLM_F_APPEND | NLM_F_CREATE, in vxlan_update_default_fdb_entry()
|
D | vxlan_core.c | 1137 if (!(flags & NLM_F_CREATE)) in vxlan_fdb_update() 1489 NLM_F_EXCL|NLM_F_CREATE, in vxlan_snoop() 4248 NLM_F_APPEND | NLM_F_CREATE, in vxlan_changelink() 4588 NLM_F_CREATE | NLM_F_REPLACE, in vxlan_fdb_external_learn_add()
|
/Linux-v6.6/net/ipv4/ |
D | fib_frontend.c | 511 cfg->fc_nlflags = NLM_F_CREATE; in rtentry_to_fib_config() 1083 .fc_nlflags = NLM_F_CREATE | NLM_F_APPEND, in fib_magic()
|
D | fib_trie.c | 1357 if (!(cfg->fc_nlflags & NLM_F_CREATE)) in fib_table_insert() 1360 nlflags |= NLM_F_CREATE; in fib_table_insert()
|
/Linux-v6.6/net/ipv6/ |
D | ip6_fib.c | 1083 (info->nlh->nlmsg_flags & NLM_F_CREATE)); in fib6_add_rt2node() 1215 nlflags |= NLM_F_CREATE; in fib6_add_rt2node() 1390 if (!(info->nlh->nlmsg_flags & NLM_F_CREATE)) in fib6_add()
|
D | route.c | 3735 !(cfg->fc_nlinfo.nlh->nlmsg_flags & NLM_F_CREATE)) { in ip6_route_info_create() 5250 nlflags = replace ? NLM_F_REPLACE : NLM_F_CREATE; in ip6_route_multipath_add() 5366 cfg->fc_nlinfo.nlh->nlmsg_flags |= NLM_F_CREATE; in ip6_route_multipath_add()
|
/Linux-v6.6/tools/net/ynl/lib/ |
D | ynl.py | 41 NLM_F_CREATE = 0x400 variable in Netlink
|
/Linux-v6.6/net/mpls/ |
D | af_mpls.c | 979 (cfg->rc_nlflags & NLM_F_CREATE)) { in mpls_route_add() 1004 if (!(cfg->rc_nlflags & NLM_F_CREATE) && !old) in mpls_route_add()
|
/Linux-v6.6/net/bridge/ |
D | br_fdb.c | 1056 if (!(flags & NLM_F_CREATE)) in fdb_add_entry()
|