Home
last modified time | relevance | path

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

/linux/tools/net/ynl/pyynl/
H A Dcli.py240 nlflags = parser.add_argument_group('Netlink message flags (NLM_F_*)',
244 nlflags.add_argument('--replace', dest='flags', action='append_const',
246 nlflags.add_argument('--excl', dest='flags', action='append_const',
248 nlflags.add_argument('--create', dest='flags', action='append_const',
250 nlflags.add_argument('--append', dest='flags', action='append_const',
/linux/include/linux/
H A Drtnetlink.h213 u32 flags, u32 mask, int nlflags,
238 rtnl_notify_needed(const struct net *net, u16 nlflags, u32 group) in rtnl_notify_needed() argument
240 return (nlflags & NLM_F_ECHO) || rtnl_has_listeners(net, group); in rtnl_notify_needed()
H A Dnetdevice.h1624 int nlflags);
/linux/drivers/net/vxlan/
H A 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/net/bridge/
H A Dbr_mdb.c774 if (!(cfg->nlflags & NLM_F_REPLACE)) { in br_mdb_add_group_sg()
844 sg_cfg.nlflags = cfg->nlflags; in br_mdb_add_group_src_fwd()
865 } else if (!(cfg->nlflags & NLM_F_REPLACE)) { in br_mdb_add_group_src()
999 if (!(cfg->nlflags & NLM_F_REPLACE)) { in br_mdb_add_group_star_g()
1061 if (mp->host_joined && !(cfg->nlflags & NLM_F_REPLACE)) { in br_mdb_add_group()
1240 cfg->nlflags = nlmsg_flags; in br_mdb_config_init()
H A 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()
H A Dbr_private.h110 u16 nlflags; member
2168 u32 filter_mask, int nlflags);
/linux/net/tipc/
H A 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()
H A Dlink.h129 struct tipc_link *link, int nlflags);
H A Dlink.c2670 struct tipc_link *link, int nlflags) in __tipc_nl_add_link() argument
2679 nlflags, TIPC_NL_LINK_GET); in __tipc_nl_add_link()
/linux/net/ipv4/
H A Dfib_trie.c1200 u16 nlflags = NLM_F_EXCL; in fib_table_insert() local
1240 nlflags &= ~NLM_F_EXCL; in fib_table_insert()
1267 nlflags |= NLM_F_REPLACE; in fib_table_insert()
1310 tb->tb_id, &cfg->fc_nlinfo, nlflags); in fib_table_insert()
1328 nlflags |= NLM_F_APPEND; in fib_table_insert()
1336 nlflags |= NLM_F_CREATE; in fib_table_insert()
1381 &cfg->fc_nlinfo, nlflags); in fib_table_insert()
H A Dnexthop.c915 int event, u32 portid, u32 seq, unsigned int nlflags, in nh_fill_node() argument
924 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nhm), nlflags); in nh_fill_node()
1084 unsigned int nlflags = info->nlh ? info->nlh->nlmsg_flags : 0; in nexthop_notify() local
1093 err = nh_fill_node(skb, nh, event, info->portid, seq, nlflags, 0); in nexthop_notify()
1157 unsigned int nlflags, in nh_fill_res_bucket() argument
1165 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nhm), nlflags); in nh_fill_res_bucket()
2605 bool replace = !!(cfg->nlflags & NLM_F_REPLACE); in insert_nexthop()
2606 bool create = !!(cfg->nlflags & NLM_F_CREATE); in insert_nexthop()
3099 cfg->nlflags = nlh->nlmsg_flags; in rtm_to_nh_config()
3285 if (cfg.nlflags & NLM_F_REPLACE && !cfg.nh_id) { in rtm_new_nexthop()
/linux/net/ipv6/
H A Dip6_fib.c1104 u16 nlflags = NLM_F_EXCL; in fib6_add_rt2node() local
1108 nlflags |= NLM_F_APPEND; in fib6_add_rt2node()
1127 nlflags &= ~NLM_F_EXCL; in fib6_add_rt2node()
1243 nlflags |= NLM_F_CREATE; in fib6_add_rt2node()
1288 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in fib6_add_rt2node()
H A Droute.c5347 __u16 nlflags) in ip6_route_mpath_notify() argument
5357 if ((nlflags & NLM_F_APPEND) && rt_last && in ip6_route_mpath_notify()
5365 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in ip6_route_mpath_notify()
5407 __u16 nlflags; in ip6_route_multipath_add() local
5421 nlflags = replace ? NLM_F_REPLACE : NLM_F_CREATE; in ip6_route_multipath_add()
5423 nlflags |= NLM_F_APPEND; in ip6_route_multipath_add()
5545 ip6_route_mpath_notify(rt_notif, rt_last, info, nlflags); in ip6_route_multipath_add()
5554 ip6_route_mpath_notify(rt_notif, rt_last, info, nlflags); in ip6_route_multipath_add()
/linux/include/net/
H A Dnexthop.h55 u32 nlflags; member
/linux/drivers/s390/net/
H A Dqeth_l2_main.c938 int nlflags) in qeth_l2_bridge_getlink() argument
952 nlflags, filter_mask, NULL); in qeth_l2_bridge_getlink()
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_common.c2260 int nlflags) in nfp_net_bridge_getlink() argument
2272 nlflags, filter_mask, NULL); in nfp_net_bridge_getlink()
/linux/net/core/
H A Drtnetlink.c4509 int nlflags, u16 ndm_state) in nlmsg_populate_fdb_fill() argument
4514 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), nlflags); in nlmsg_populate_fdb_fill()
5255 u32 flags, u32 mask, int nlflags, in ndo_dflt_bridge_getlink() argument
5269 nlh = nlmsg_put(skb, pid, seq, RTM_NEWLINK, sizeof(*ifm), nlflags); in ndo_dflt_bridge_getlink()
/linux/Documentation/networking/
H A Dswitchdev.rst370 u32 nlflags;
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c5014 int nlflags) in be_ndo_bridge_getlink() argument
5040 0, 0, nlflags, filter_mask, NULL); in be_ndo_bridge_getlink()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c5214 int nlflags) in mlx5e_bridge_getlink() argument
5225 0, 0, nlflags, filter_mask, NULL); in mlx5e_bridge_getlink()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_main.c8149 struct net_device *dev, u32 filter_mask, int nlflags) in ice_bridge_getlink() argument
8156 return ndo_dflt_bridge_getlink(skb, pid, seq, dev, bmode, 0, 0, nlflags, in ice_bridge_getlink()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c10708 u32 filter_mask, int nlflags) in ixgbe_ndo_bridge_getlink() argument
10716 adapter->bridge_mode, 0, 0, nlflags, in ixgbe_ndo_bridge_getlink()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c13160 int nlflags) in i40e_ndo_bridge_getlink() argument
13177 0, 0, nlflags, filter_mask, NULL); in i40e_ndo_bridge_getlink()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c15833 int nlflags) in bnxt_bridge_getlink() argument
15838 nlflags, filter_mask, NULL); in bnxt_bridge_getlink()