/linux/tools/include/uapi/linux/ |
H A D | netlink.h | 68 #define NLM_F_REPLACE 0x100 /* Override existing */ macro
|
/linux/include/uapi/linux/ |
H A D | netlink.h | 76 #define NLM_F_REPLACE 0x100 /* Override existing */ macro
|
/linux/Documentation/userspace-api/netlink/ |
H A 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/net/sched/ |
H A 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()
|
/linux/net/bridge/ |
H A 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/net/netfilter/ |
H A D | nfnetlink_acct.c | 87 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) { in nfnl_acct_new()
|
H A D | nfnetlink_cttimeout.c | 132 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) { in cttimeout_new_timeout()
|
H A D | nf_tables_offload.c | 592 if (trans->flags & NLM_F_REPLACE || in nft_flow_rule_offload_commit()
|
H A D | nf_tables_api.c | 1557 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) in nf_tables_newtable() 3035 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) in nf_tables_newchain() 3656 if (ctx->flags & (NLM_F_APPEND | NLM_F_REPLACE)) in nf_tables_rule_notify() 4194 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) in nf_tables_newrule() 4200 info->nlh->nlmsg_flags & NLM_F_REPLACE) in nf_tables_newrule() 4302 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) { in nf_tables_newrule() 5386 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) in nf_tables_newset() 8179 if (info->nlh->nlmsg_flags & NLM_F_REPLACE) in nf_tables_newobj()
|
/linux/tools/lib/bpf/ |
H A D | netlink.c | 748 flags = (flags & BPF_TC_F_REPLACE) ? NLM_F_REPLACE : NLM_F_EXCL; in bpf_tc_attach()
|
/linux/net/mpls/ |
H A 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/net/ipv4/ |
H A 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()
|
H A D | devinet.c | 1018 !(nlh->nlmsg_flags & NLM_F_REPLACE)) { in inet_rtm_newaddr()
|
/linux/drivers/net/vxlan/ |
H A 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() 4803 NLM_F_CREATE | NLM_F_REPLACE, in vxlan_fdb_external_learn_add()
|
/linux/net/ipv6/ |
H A D | route.c | 5279 (cfg->fc_nlinfo.nlh->nlmsg_flags & NLM_F_REPLACE)); in ip6_route_multipath_add() 5282 nlflags = replace ? NLM_F_REPLACE : NLM_F_CREATE; in ip6_route_multipath_add() 5391 NLM_F_REPLACE); in ip6_route_multipath_add() 6249 RTM_NEWROUTE, info->portid, seq, NLM_F_REPLACE); in fib6_rt_update()
|
H A D | ndisc.c | 1418 inet6_rt_notify(RTM_NEWROUTE, rt, &nlinfo, NLM_F_REPLACE); in ndisc_router_discovery()
|
H A D | addrconf.c | 5062 !(nlh->nlmsg_flags & NLM_F_REPLACE)) { in inet6_rtm_newaddr()
|
/linux/drivers/net/ |
H A D | macvlan.c | 1039 if (flags & NLM_F_REPLACE) in macvlan_fdb_add()
|
H A D | gtp.c | 1886 if (info->nlhdr->nlmsg_flags & NLM_F_REPLACE) in gtp_pdp_add()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_links.c | 1810 req.n.nlmsg_flags = NLM_F_CREATE | NLM_F_REPLACE | NLM_F_REQUEST; in qdisc_replace()
|
/linux/net/core/ |
H A D | neighbour.c | 2041 if (!(nlh->nlmsg_flags & NLM_F_REPLACE)) in neigh_add()
|
H A D | rtnetlink.c | 3686 if (nlh->nlmsg_flags & NLM_F_REPLACE) in rtnl_changelink()
|