Home
last modified time | relevance | path

Searched refs:nlflags (Results 1 – 24 of 24) sorted by relevance

/linux-6.12.1/include/linux/
Drtnetlink.h148 u32 flags, u32 mask, int nlflags,
173 rtnl_notify_needed(const struct net *net, u16 nlflags, u32 group) in rtnl_notify_needed() argument
175 return (nlflags & NLM_F_ECHO) || rtnl_has_listeners(net, group); in rtnl_notify_needed()
Dnetdevice.h1558 int nlflags);
/linux-6.12.1/drivers/net/vxlan/
Dvxlan_mdb.c71 u16 nlflags; member
612 cfg->nlflags = nlmsg_flags; in vxlan_mdb_config_init()
804 sg_cfg.nlflags = cfg->nlflags; in vxlan_mdb_remote_src_fwd_add()
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()
1137 if (!(cfg->nlflags & NLM_F_CREATE)) { in vxlan_mdb_remote_add()
/linux-6.12.1/net/bridge/
Dbr_mdb.c756 if (!(cfg->nlflags & NLM_F_REPLACE)) { in br_mdb_add_group_sg()
826 sg_cfg.nlflags = cfg->nlflags; in br_mdb_add_group_src_fwd()
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()
1222 cfg->nlflags = nlmsg_flags; in br_mdb_config_init()
Dbr_netlink.c677 struct net_device *dev, u32 filter_mask, int nlflags) in br_getlink() argument
688 return br_fill_ifinfo(skb, port, pid, seq, RTM_NEWLINK, nlflags, in br_getlink()
Dbr_private.h108 u16 nlflags; member
2107 u32 filter_mask, int nlflags);
/linux-6.12.1/net/tipc/
Dlink.h129 struct tipc_link *link, int nlflags);
Dbearer.c824 struct tipc_bearer *bearer, int nlflags) in __tipc_nl_add_bearer() argument
831 nlflags, TIPC_NL_BEARER_GET); in __tipc_nl_add_bearer()
1186 struct tipc_media *media, int nlflags) in __tipc_nl_add_media() argument
1193 nlflags, TIPC_NL_MEDIA_GET); in __tipc_nl_add_media()
Dlink.c2671 struct tipc_link *link, int nlflags) in __tipc_nl_add_link() argument
2680 nlflags, TIPC_NL_LINK_GET); in __tipc_nl_add_link()
/linux-6.12.1/net/ipv4/
Dnexthop.c918 int event, u32 portid, u32 seq, unsigned int nlflags, in nh_fill_node() argument
927 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nhm), nlflags); in nh_fill_node()
1072 unsigned int nlflags = info->nlh ? info->nlh->nlmsg_flags : 0; in nexthop_notify() local
1081 err = nh_fill_node(skb, nh, event, info->portid, seq, nlflags, 0); in nexthop_notify()
1145 unsigned int nlflags, in nh_fill_res_bucket() argument
1153 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nhm), nlflags); in nh_fill_res_bucket()
2548 bool replace = !!(cfg->nlflags & NLM_F_REPLACE); in insert_nexthop()
2549 bool create = !!(cfg->nlflags & NLM_F_CREATE); in insert_nexthop()
2918 if (cfg->nlflags & NLM_F_REPLACE && !cfg->nh_id) { in nexthop_add()
3056 cfg->nlflags = nlh->nlmsg_flags; in rtm_to_nh_config()
Dfib_trie.c1222 u16 nlflags = NLM_F_EXCL; in fib_table_insert() local
1265 nlflags &= ~NLM_F_EXCL; in fib_table_insert()
1292 nlflags |= NLM_F_REPLACE; in fib_table_insert()
1335 tb->tb_id, &cfg->fc_nlinfo, nlflags); in fib_table_insert()
1353 nlflags |= NLM_F_APPEND; in fib_table_insert()
1361 nlflags |= NLM_F_CREATE; in fib_table_insert()
1406 &cfg->fc_nlinfo, nlflags); in fib_table_insert()
/linux-6.12.1/net/ipv6/
Dip6_fib.c1094 u16 nlflags = NLM_F_EXCL; in fib6_add_rt2node() local
1098 nlflags |= NLM_F_APPEND; in fib6_add_rt2node()
1117 nlflags &= ~NLM_F_EXCL; in fib6_add_rt2node()
1224 nlflags |= NLM_F_CREATE; in fib6_add_rt2node()
1266 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in fib6_add_rt2node()
Droute.c5190 __u16 nlflags) in ip6_route_mpath_notify() argument
5198 if ((nlflags & NLM_F_APPEND) && rt_last && rt_last->fib6_nsiblings) { in ip6_route_mpath_notify()
5205 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in ip6_route_mpath_notify()
5257 __u16 nlflags; in ip6_route_multipath_add() local
5266 nlflags = replace ? NLM_F_REPLACE : NLM_F_CREATE; in ip6_route_multipath_add()
5268 nlflags |= NLM_F_APPEND; in ip6_route_multipath_add()
5405 ip6_route_mpath_notify(rt_notif, rt_last, info, nlflags); in ip6_route_multipath_add()
5414 ip6_route_mpath_notify(rt_notif, rt_last, info, nlflags); in ip6_route_multipath_add()
/linux-6.12.1/include/net/
Dnexthop.h55 u32 nlflags; member
/linux-6.12.1/drivers/s390/net/
Dqeth_l2_main.c937 int nlflags) in qeth_l2_bridge_getlink() argument
951 nlflags, filter_mask, NULL); in qeth_l2_bridge_getlink()
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c2260 int nlflags) in nfp_net_bridge_getlink() argument
2272 nlflags, filter_mask, NULL); in nfp_net_bridge_getlink()
/linux-6.12.1/net/core/
Drtnetlink.c4165 int nlflags, u16 ndm_state) in nlmsg_populate_fdb_fill() argument
4170 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), nlflags); in nlmsg_populate_fdb_fill()
4926 u32 flags, u32 mask, int nlflags, in ndo_dflt_bridge_getlink() argument
4940 nlh = nlmsg_put(skb, pid, seq, RTM_NEWLINK, sizeof(*ifm), nlflags); in ndo_dflt_bridge_getlink()
/linux-6.12.1/Documentation/networking/
Dswitchdev.rst370 u32 nlflags;
/linux-6.12.1/drivers/net/ethernet/emulex/benet/
Dbe_main.c5015 int nlflags) in be_ndo_bridge_getlink() argument
5041 0, 0, nlflags, filter_mask, NULL); in be_ndo_bridge_getlink()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c5095 int nlflags) in mlx5e_bridge_getlink() argument
5108 0, 0, nlflags, filter_mask, NULL); in mlx5e_bridge_getlink()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_main.c8068 struct net_device *dev, u32 filter_mask, int nlflags) in ice_bridge_getlink() argument
8077 return ndo_dflt_bridge_getlink(skb, pid, seq, dev, bmode, 0, 0, nlflags, in ice_bridge_getlink()
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c10076 u32 filter_mask, int nlflags) in ixgbe_ndo_bridge_getlink() argument
10084 adapter->bridge_mode, 0, 0, nlflags, in ixgbe_ndo_bridge_getlink()
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_main.c13229 int nlflags) in i40e_ndo_bridge_getlink() argument
13246 0, 0, nlflags, filter_mask, NULL); in i40e_ndo_bridge_getlink()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c14884 int nlflags) in bnxt_bridge_getlink() argument
14889 nlflags, filter_mask, NULL); in bnxt_bridge_getlink()