| /Linux-v6.6/tools/net/ynl/ |
| D | cli.py | 23 const=Netlink.NLM_F_REPLACE)
|
| /Linux-v6.6/tools/include/uapi/linux/ |
| D | netlink.h | 68 #define NLM_F_REPLACE 0x100 /* Override existing */ macro
|
| /Linux-v6.6/include/uapi/linux/ |
| D | netlink.h | 76 #define NLM_F_REPLACE 0x100 /* Override existing */ macro
|
| /Linux-v6.6/Documentation/userspace-api/netlink/ |
| D | intro.rst | 654 stray from it in one way or another. ``NLM_F_REPLACE`` asks to replace 659 exist, it can be combined with ``NLM_F_REPLACE`` and ``NLM_F_EXCL``. 664 4.4BSD CHANGE NLM_F_REPLACE 666 True CHANGE NLM_F_CREATE|NLM_F_REPLACE 671 ``NLM_F_REPLACE`` without ``NLM_F_CREATE`` was initially used instead
|
| /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() 841 } else if (!(cfg->nlflags & NLM_F_REPLACE)) { in vxlan_mdb_remote_src_add() 1114 if (!(cfg->nlflags & NLM_F_REPLACE)) { in vxlan_mdb_remote_add()
|
| D | vxlan_core.c | 1023 if ((flags & NLM_F_REPLACE)) { in vxlan_fdb_update_existing() 1069 if ((flags & NLM_F_REPLACE) && rc) in vxlan_fdb_update_existing() 1091 if ((flags & NLM_F_REPLACE) && in vxlan_fdb_update_create() 4588 NLM_F_CREATE | NLM_F_REPLACE, in vxlan_fdb_external_learn_add()
|
| /Linux-v6.6/net/bridge/ |
| D | br_mdb.c | 746 if (!(cfg->nlflags & NLM_F_REPLACE)) { in br_mdb_add_group_sg() 837 } else if (!(cfg->nlflags & NLM_F_REPLACE)) { in br_mdb_add_group_src() 971 if (!(cfg->nlflags & NLM_F_REPLACE)) { in br_mdb_add_group_star_g()
|
| /Linux-v6.6/net/sched/ |
| D | sch_api.c | 1025 old ? NLM_F_REPLACE : 0, RTM_NEWQDISC, extack) < 0) in qdisc_notify() 1553 n->nlmsg_flags & NLM_F_REPLACE); in req_create_or_replace() 1565 !(n->nlmsg_flags & NLM_F_REPLACE) && in req_change() 1621 if (q && !(n->nlmsg_flags & NLM_F_REPLACE)) { in tc_modify_qdisc()
|
| D | act_api.c | 2042 if (n->nlmsg_flags & NLM_F_REPLACE) in tc_ctl_action()
|
| /Linux-v6.6/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->ctx.flags & NLM_F_REPLACE || in nft_flow_rule_offload_commit()
|
| D | nf_tables_api.c | 1362 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) in nf_tables_newtable() 2815 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) in nf_tables_newchain() 3412 if (ctx->flags & (NLM_F_APPEND | NLM_F_REPLACE)) in nf_tables_rule_notify() 3875 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) in nf_tables_newrule() 3881 info->nlh->nlmsg_flags & NLM_F_REPLACE) in nf_tables_newrule() 3983 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) { in nf_tables_newrule() 5026 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) in nf_tables_newset() 7492 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) in nf_tables_newobj()
|
| /Linux-v6.6/net/ipv6/ |
| D | addrlabel.c | 423 nlh->nlmsg_flags & NLM_F_REPLACE); in ip6addrlbl_newdel()
|
| D | ip6_fib.c | 1081 (info->nlh->nlmsg_flags & NLM_F_REPLACE)); in fib6_add_rt2node() 1288 inet6_rt_notify(RTM_NEWROUTE, rt, info, NLM_F_REPLACE); in fib6_add_rt2node() 1392 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) in fib6_add()
|
| D | route.c | 5247 (cfg->fc_nlinfo.nlh->nlmsg_flags & NLM_F_REPLACE)); in ip6_route_multipath_add() 5250 nlflags = replace ? NLM_F_REPLACE : NLM_F_CREATE; in ip6_route_multipath_add() 5365 NLM_F_REPLACE); in ip6_route_multipath_add() 6203 RTM_NEWROUTE, info->portid, seq, NLM_F_REPLACE); in fib6_rt_update()
|
| D | ndisc.c | 1409 inet6_rt_notify(RTM_NEWROUTE, rt, &nlinfo, NLM_F_REPLACE); in ndisc_router_discovery()
|
| /Linux-v6.6/net/ipv4/ |
| D | fib_trie.c | 1287 if (cfg->fc_nlflags & NLM_F_REPLACE) { in fib_table_insert() 1291 nlflags |= NLM_F_REPLACE; in fib_table_insert() 2159 info, NLM_F_REPLACE); in __fib_info_notify_update()
|
| D | nexthop.c | 975 RTM_NEWNEXTHOPBUCKET, 0, 0, NLM_F_REPLACE, in nexthop_bucket_notify() 2308 bool replace = !!(cfg->nlflags & NLM_F_REPLACE); in insert_nexthop() 2666 if (cfg->nlflags & NLM_F_REPLACE && !cfg->nh_id) { in nexthop_add()
|
| D | devinet.c | 985 !(nlh->nlmsg_flags & NLM_F_REPLACE)) { in inet_rtm_newaddr()
|
| /Linux-v6.6/tools/net/ynl/lib/ |
| D | ynl.py | 39 NLM_F_REPLACE = 0x100 variable in Netlink
|
| /Linux-v6.6/tools/lib/bpf/ |
| D | netlink.c | 748 flags = (flags & BPF_TC_F_REPLACE) ? NLM_F_REPLACE : NLM_F_EXCL; in bpf_tc_attach()
|
| /Linux-v6.6/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-v6.6/drivers/net/ |
| D | macvlan.c | 1037 if (flags & NLM_F_REPLACE) in macvlan_fdb_add()
|
| D | gtp.c | 1367 if (info->nlhdr->nlmsg_flags & NLM_F_REPLACE) in gtp_pdp_add()
|