/linux-6.12.1/tools/include/uapi/linux/ |
D | netlink.h | 68 #define NLM_F_REPLACE 0x100 /* Override existing */ macro
|
/linux-6.12.1/include/uapi/linux/ |
D | netlink.h | 76 #define NLM_F_REPLACE 0x100 /* Override existing */ macro
|
/linux-6.12.1/tools/net/ynl/ |
D | cli.py | 49 const=Netlink.NLM_F_REPLACE)
|
/linux-6.12.1/Documentation/userspace-api/netlink/ |
D | intro.rst | 658 stray from it in one way or another. ``NLM_F_REPLACE`` asks to replace 663 exist, it can be combined with ``NLM_F_REPLACE`` and ``NLM_F_EXCL``. 668 4.4BSD CHANGE NLM_F_REPLACE 670 True CHANGE NLM_F_CREATE|NLM_F_REPLACE 675 ``NLM_F_REPLACE`` without ``NLM_F_CREATE`` was initially used instead
|
/linux-6.12.1/net/sched/ |
D | sch_api.c | 1053 old ? NLM_F_REPLACE : 0, RTM_NEWQDISC, extack) < 0) in qdisc_notify() 1588 n->nlmsg_flags & NLM_F_REPLACE); in req_create_or_replace() 1600 !(n->nlmsg_flags & NLM_F_REPLACE) && in req_change() 1656 if (q && !(n->nlmsg_flags & NLM_F_REPLACE)) { in tc_modify_qdisc()
|
D | act_api.c | 2137 if (n->nlmsg_flags & NLM_F_REPLACE) in tc_ctl_action()
|
/linux-6.12.1/net/bridge/ |
D | br_mdb.c | 756 if (!(cfg->nlflags & NLM_F_REPLACE)) { in br_mdb_add_group_sg() 847 } else if (!(cfg->nlflags & NLM_F_REPLACE)) { in br_mdb_add_group_src() 981 if (!(cfg->nlflags & NLM_F_REPLACE)) { in br_mdb_add_group_star_g()
|
/linux-6.12.1/drivers/net/vxlan/ |
D | vxlan_mdb.c | 626 if ((nlmsg_flags & (NLM_F_CREATE | NLM_F_REPLACE)) && in vxlan_mdb_config_init() 847 } else if (!(cfg->nlflags & NLM_F_REPLACE)) { in vxlan_mdb_remote_src_add() 1130 if (!(cfg->nlflags & NLM_F_REPLACE)) { in vxlan_mdb_remote_add()
|
D | vxlan_core.c | 1022 if ((flags & NLM_F_REPLACE)) { in vxlan_fdb_update_existing() 1068 if ((flags & NLM_F_REPLACE) && rc) in vxlan_fdb_update_existing() 1090 if ((flags & NLM_F_REPLACE) && in vxlan_fdb_update_create() 4718 NLM_F_CREATE | NLM_F_REPLACE, in vxlan_fdb_external_learn_add()
|
/linux-6.12.1/net/netfilter/ |
D | nfnetlink_acct.c | 87 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) { in nfnl_acct_new()
|
D | nfnetlink_cttimeout.c | 132 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) { in cttimeout_new_timeout()
|
D | nf_tables_offload.c | 592 if (trans->flags & NLM_F_REPLACE || in nft_flow_rule_offload_commit()
|
D | nf_tables_api.c | 1458 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) in nf_tables_newtable() 2931 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) in nf_tables_newchain() 3537 if (ctx->flags & (NLM_F_APPEND | NLM_F_REPLACE)) in nf_tables_rule_notify() 4071 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) in nf_tables_newrule() 4077 info->nlh->nlmsg_flags & NLM_F_REPLACE) in nf_tables_newrule() 4179 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) { in nf_tables_newrule() 5243 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) in nf_tables_newset() 7860 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) in nf_tables_newobj()
|
/linux-6.12.1/net/ipv6/ |
D | addrlabel.c | 424 nlh->nlmsg_flags & NLM_F_REPLACE); in ip6addrlbl_newdel()
|
D | ip6_fib.c | 1088 (info->nlh->nlmsg_flags & NLM_F_REPLACE)); in fib6_add_rt2node() 1297 inet6_rt_notify(RTM_NEWROUTE, rt, info, NLM_F_REPLACE); in fib6_add_rt2node() 1404 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) in fib6_add()
|
D | route.c | 5263 (cfg->fc_nlinfo.nlh->nlmsg_flags & NLM_F_REPLACE)); in ip6_route_multipath_add() 5266 nlflags = replace ? NLM_F_REPLACE : NLM_F_CREATE; in ip6_route_multipath_add() 5375 NLM_F_REPLACE); in ip6_route_multipath_add() 6211 RTM_NEWROUTE, info->portid, seq, NLM_F_REPLACE); in fib6_rt_update()
|
D | ndisc.c | 1416 inet6_rt_notify(RTM_NEWROUTE, rt, &nlinfo, NLM_F_REPLACE); in ndisc_router_discovery()
|
/linux-6.12.1/net/ipv4/ |
D | fib_trie.c | 1288 if (cfg->fc_nlflags & NLM_F_REPLACE) { in fib_table_insert() 1292 nlflags |= NLM_F_REPLACE; in fib_table_insert() 2160 info, NLM_F_REPLACE); in __fib_info_notify_update()
|
D | nexthop.c | 1203 RTM_NEWNEXTHOPBUCKET, 0, 0, NLM_F_REPLACE, in nexthop_bucket_notify() 2548 bool replace = !!(cfg->nlflags & NLM_F_REPLACE); in insert_nexthop() 2918 if (cfg->nlflags & NLM_F_REPLACE && !cfg->nh_id) { in nexthop_add()
|
/linux-6.12.1/tools/lib/bpf/ |
D | netlink.c | 748 flags = (flags & BPF_TC_F_REPLACE) ? NLM_F_REPLACE : NLM_F_EXCL; in bpf_tc_attach()
|
/linux-6.12.1/net/mpls/ |
D | af_mpls.c | 547 unsigned nlm_flags = (old && new) ? NLM_F_REPLACE : 0; in mpls_notify_route() 1000 if (!(cfg->rc_nlflags & NLM_F_REPLACE) && old) in mpls_route_add()
|
/linux-6.12.1/tools/net/ynl/lib/ |
D | ynl.py | 41 NLM_F_REPLACE = 0x100 variable in Netlink
|
/linux-6.12.1/drivers/net/ |
D | macvlan.c | 1039 if (flags & NLM_F_REPLACE) in macvlan_fdb_add()
|
D | gtp.c | 1889 if (info->nlhdr->nlmsg_flags & NLM_F_REPLACE) in gtp_pdp_add()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | tc_links.c | 1810 req.n.nlmsg_flags = NLM_F_CREATE | NLM_F_REPLACE | NLM_F_REQUEST; in qdisc_replace()
|