| /linux/tools/net/ynl/pyynl/ |
| H A D | cli.py | 214 nlflags = parser.add_argument_group('Netlink message flags (NLM_F_*)', 218 nlflags.add_argument('--replace', dest='flags', action='append_const', 220 nlflags.add_argument('--excl', dest='flags', action='append_const', 222 nlflags.add_argument('--create', dest='flags', action='append_const', 224 nlflags.add_argument('--append', dest='flags', action='append_const',
|
| /linux/include/linux/ |
| H A D | rtnetlink.h | 221 u32 flags, u32 mask, int nlflags, 246 rtnl_notify_needed(const struct net *net, u16 nlflags, u32 group) in rtnl_notify_needed() argument 248 return (nlflags & NLM_F_ECHO) || rtnl_has_listeners(net, group); in rtnl_notify_needed()
|
| H A D | netdevice.h | 1659 int nlflags);
|
| /linux/net/bridge/ |
| H A D | br_mdb.c | 774 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 D | br_private.h | 110 u16 nlflags; member 2175 u32 filter_mask, int nlflags);
|
| /linux/drivers/net/vxlan/ |
| H A D | vxlan_mdb.c | 72 u16 nlflags; member 613 cfg->nlflags = nlmsg_flags; in vxlan_mdb_config_init() 805 sg_cfg.nlflags = cfg->nlflags; in vxlan_mdb_remote_src_fwd_add() 849 } else if (!(cfg->nlflags & NLM_F_REPLACE)) { in vxlan_mdb_remote_src_add() 1136 if (!(cfg->nlflags & NLM_F_REPLACE)) { in vxlan_mdb_remote_add() 1143 if (!(cfg->nlflags & NLM_F_CREATE)) { in vxlan_mdb_remote_add()
|
| /linux/net/tipc/ |
| H A D | link.h | 129 struct tipc_link *link, int nlflags);
|
| H A D | bearer.c | 825 struct tipc_bearer *bearer, int nlflags) in __tipc_nl_add_bearer() 832 nlflags, TIPC_NL_BEARER_GET); in __tipc_nl_add_bearer() 1187 struct tipc_media *media, int nlflags) in __tipc_nl_add_media() 1194 nlflags, TIPC_NL_MEDIA_GET); in __tipc_nl_add_media() 824 __tipc_nl_add_bearer(struct tipc_nl_msg * msg,struct tipc_bearer * bearer,int nlflags) __tipc_nl_add_bearer() argument 1186 __tipc_nl_add_media(struct tipc_nl_msg * msg,struct tipc_media * media,int nlflags) __tipc_nl_add_media() argument
|
| H A D | link.c | 2670 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 D | fib_trie.c | 1200 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 D | nexthop.c | 916 int event, u32 portid, u32 seq, unsigned int nlflags, in nh_fill_node() argument 925 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nhm), nlflags); in nh_fill_node() 1091 unsigned int nlflags = info->nlh ? info->nlh->nlmsg_flags : 0; in nexthop_notify() local 1100 err = nh_fill_node(skb, nh, event, info->portid, seq, nlflags, 0); in nexthop_notify() 1164 unsigned int nlflags, in nh_fill_res_bucket() argument 1172 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nhm), nlflags); in nh_fill_res_bucket() 2641 bool replace = !!(cfg->nlflags & NLM_F_REPLACE); in insert_nexthop() 2642 bool create = !!(cfg->nlflags & NLM_F_CREATE); in insert_nexthop() 3143 cfg->nlflags = nlh->nlmsg_flags; in rtm_to_nh_config() 3338 if (cfg.nlflags & NLM_F_REPLACE && !cfg.nh_id) { in rtm_new_nexthop()
|
| /linux/net/ipv6/ |
| H A D | ip6_fib.c | 1105 u16 nlflags = NLM_F_EXCL; in fib6_add_rt2node() local 1109 nlflags |= NLM_F_APPEND; in fib6_add_rt2node() 1128 nlflags &= ~NLM_F_EXCL; in fib6_add_rt2node() 1244 nlflags |= NLM_F_CREATE; in fib6_add_rt2node() 1289 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in fib6_add_rt2node()
|
| H A D | route.c | 5378 __u16 nlflags) in ip6_route_mpath_notify() argument 5388 if ((nlflags & NLM_F_APPEND) && rt_last && in ip6_route_mpath_notify() 5396 inet6_rt_notify(RTM_NEWROUTE, rt, info, nlflags); in ip6_route_mpath_notify() 5438 __u16 nlflags; in ip6_route_multipath_add() local 5452 nlflags = replace ? NLM_F_REPLACE : NLM_F_CREATE; in ip6_route_multipath_add() 5454 nlflags |= NLM_F_APPEND; in ip6_route_multipath_add() 5576 ip6_route_mpath_notify(rt_notif, rt_last, info, nlflags); in ip6_route_multipath_add() 5585 ip6_route_mpath_notify(rt_notif, rt_last, info, nlflags); in ip6_route_multipath_add()
|
| /linux/include/net/ |
| H A D | nexthop.h | 56 u32 nlflags; member
|
| /linux/drivers/s390/net/ |
| H A D | qeth_l2_main.c | 938 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 D | nfp_net_common.c | 2260 int nlflags) in nfp_net_bridge_getlink() argument 2272 nlflags, filter_mask, NULL); in nfp_net_bridge_getlink()
|
| /linux/net/core/ |
| H A D | rtnetlink.c | 4646 int nlflags, u16 ndm_state) in nlmsg_populate_fdb_fill() argument 4651 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), nlflags); in nlmsg_populate_fdb_fill() 5392 u32 flags, u32 mask, int nlflags, in ndo_dflt_bridge_getlink() argument 5406 nlh = nlmsg_put(skb, pid, seq, RTM_NEWLINK, sizeof(*ifm), nlflags); in ndo_dflt_bridge_getlink()
|
| /linux/Documentation/networking/ |
| H A D | switchdev.rst | 370 u32 nlflags;
|
| /linux/drivers/net/ethernet/emulex/benet/ |
| H A D | be_main.c | 5014 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 D | en_main.c | 5280 int nlflags) in mlx5e_bridge_getlink() argument 5291 0, 0, nlflags, filter_mask, NULL); in mlx5e_bridge_getlink()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_main.c | 8094 struct net_device *dev, u32 filter_mask, int nlflags) in ice_bridge_getlink() argument 8101 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 D | ixgbe_main.c | 10729 u32 filter_mask, int nlflags) in ixgbe_ndo_bridge_getlink() argument 10737 adapter->bridge_mode, 0, 0, nlflags, in ixgbe_ndo_bridge_getlink()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_main.c | 13157 int nlflags) in i40e_ndo_bridge_getlink() argument 13174 0, 0, nlflags, filter_mask, NULL); in i40e_ndo_bridge_getlink()
|