Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/vxlan/
H A Dvxlan_mdb.c71 u16 nlflags; member
606 cfg->nlflags = nlmsg_flags; in vxlan_mdb_config_init()
798 sg_cfg.nlflags = cfg->nlflags; in vxlan_mdb_remote_src_fwd_add()
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()
1121 if (!(cfg->nlflags & NLM_F_CREATE)) { in vxlan_mdb_remote_add()
/openbmc/linux/net/bridge/
H A Dbr_mdb.c746 if (!(cfg->nlflags & NLM_F_REPLACE)) { in br_mdb_add_group_sg()
816 sg_cfg.nlflags = cfg->nlflags; in br_mdb_add_group_src_fwd()
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()
1212 cfg->nlflags = nlmsg_flags; in br_mdb_config_init()
H A Dbr_private.h108 u16 nlflags; member
2083 u32 filter_mask, int nlflags);
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()
/openbmc/linux/include/linux/
H A Drtnetlink.h125 u32 flags, u32 mask, int nlflags,
H A Dnetdevice.h1601 int nlflags);
/openbmc/linux/net/tipc/
H A Dlink.h129 struct tipc_link *link, int nlflags);
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()
1189 struct tipc_media *media, int nlflags) in __tipc_nl_add_media() argument
1196 nlflags, TIPC_NL_MEDIA_GET); in __tipc_nl_add_media()
H A Dlink.c2693 struct tipc_link *link, int nlflags) in __tipc_nl_add_link() argument
2702 nlflags, TIPC_NL_LINK_GET); in __tipc_nl_add_link()
/openbmc/linux/net/ipv4/
H A Dnexthop.c695 int event, u32 portid, u32 seq, unsigned int nlflags) in nh_fill_node() argument
703 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nhm), nlflags); in nh_fill_node()
844 unsigned int nlflags = info->nlh ? info->nlh->nlmsg_flags : 0; in nexthop_notify() local
853 err = nh_fill_node(skb, nh, event, info->portid, seq, nlflags); in nexthop_notify()
918 unsigned int nlflags, in nh_fill_res_bucket() argument
926 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nhm), nlflags); in nh_fill_res_bucket()
2309 bool replace = !!(cfg->nlflags & NLM_F_REPLACE); in insert_nexthop()
2310 bool create = !!(cfg->nlflags & NLM_F_CREATE); in insert_nexthop()
2667 if (cfg->nlflags & NLM_F_REPLACE && !cfg->nh_id) { in nexthop_add()
2805 cfg->nlflags = nlh->nlmsg_flags; in rtm_to_nh_config()
H A Dfib_trie.c1221 u16 nlflags = NLM_F_EXCL; in fib_table_insert() local
1264 nlflags &= ~NLM_F_EXCL; in fib_table_insert()
1291 nlflags |= NLM_F_REPLACE; in fib_table_insert()
1334 tb->tb_id, &cfg->fc_nlinfo, nlflags); in fib_table_insert()
1352 nlflags |= NLM_F_APPEND; in fib_table_insert()
1360 nlflags |= NLM_F_CREATE; in fib_table_insert()
1405 &cfg->fc_nlinfo, nlflags); in fib_table_insert()
/openbmc/linux/net/ipv6/
H A Dip6_fib.c1086 u16 nlflags = NLM_F_EXCL; in fib6_add_rt2node() local
1090 nlflags |= NLM_F_APPEND; in fib6_add_rt2node()
1109 nlflags &= ~NLM_F_EXCL; in fib6_add_rt2node()
1213 nlflags |= NLM_F_CREATE; in fib6_add_rt2node()
1255 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in fib6_add_rt2node()
H A Droute.c5186 __u16 nlflags) in ip6_route_mpath_notify() argument
5196 if ((nlflags & NLM_F_APPEND) && rt_last && rt_last->fib6_nsiblings) { in ip6_route_mpath_notify()
5203 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()
/openbmc/linux/include/net/
H A Dnexthop.h53 u32 nlflags; member
/openbmc/linux/drivers/s390/net/
H A Dqeth_l2_main.c937 int nlflags) in qeth_l2_bridge_getlink() argument
951 nlflags, filter_mask, NULL); in qeth_l2_bridge_getlink()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_common.c2075 int nlflags) in nfp_net_bridge_getlink() argument
2087 nlflags, filter_mask, NULL); in nfp_net_bridge_getlink()
/openbmc/linux/net/core/
H A Drtnetlink.c4127 int nlflags, u16 ndm_state) in nlmsg_populate_fdb_fill() argument
4132 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), nlflags); in nlmsg_populate_fdb_fill()
4895 u32 flags, u32 mask, int nlflags, in ndo_dflt_bridge_getlink() argument
4909 nlh = nlmsg_put(skb, pid, seq, RTM_NEWLINK, sizeof(*ifm), nlflags); in ndo_dflt_bridge_getlink()
/openbmc/linux/Documentation/networking/
H A Dswitchdev.rst370 u32 nlflags;
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c5018 int nlflags) in be_ndo_bridge_getlink() argument
5044 0, 0, nlflags, filter_mask, NULL); in be_ndo_bridge_getlink()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c4889 int nlflags) in mlx5e_bridge_getlink() argument
4902 0, 0, nlflags, filter_mask, NULL); in mlx5e_bridge_getlink()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_main.c7744 struct net_device *dev, u32 filter_mask, int nlflags) in ice_bridge_getlink() argument
7753 return ndo_dflt_bridge_getlink(skb, pid, seq, dev, bmode, 0, 0, nlflags, in ice_bridge_getlink()
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c10054 u32 filter_mask, int nlflags) in ixgbe_ndo_bridge_getlink() argument
10062 adapter->bridge_mode, 0, 0, nlflags, in ixgbe_ndo_bridge_getlink()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c13286 int nlflags) in i40e_ndo_bridge_getlink() argument
13308 0, 0, nlflags, filter_mask, NULL); in i40e_ndo_bridge_getlink()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c13114 int nlflags) in bnxt_bridge_getlink() argument
13119 nlflags, filter_mask, NULL); in bnxt_bridge_getlink()