Home
last modified time | relevance | path

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

/linux-6.12.1/net/bridge/
Dbr_mdb.c150 struct nlattr **mdb_attrs) in __mdb_entry_to_br_ip() argument
158 if (mdb_attrs && mdb_attrs[MDBE_ATTR_SOURCE]) in __mdb_entry_to_br_ip()
159 ip->src.ip4 = nla_get_in_addr(mdb_attrs[MDBE_ATTR_SOURCE]); in __mdb_entry_to_br_ip()
164 if (mdb_attrs && mdb_attrs[MDBE_ATTR_SOURCE]) in __mdb_entry_to_br_ip()
165 ip->src.ip6 = nla_get_in6_addr(mdb_attrs[MDBE_ATTR_SOURCE]); in __mdb_entry_to_br_ip()
1149 struct nlattr *mdb_attrs[MDBE_ATTR_MAX + 1]; in br_mdb_config_attrs_init() local
1152 err = nla_parse_nested(mdb_attrs, MDBE_ATTR_MAX, set_attrs, in br_mdb_config_attrs_init()
1157 if (mdb_attrs[MDBE_ATTR_SOURCE] && in br_mdb_config_attrs_init()
1158 !is_valid_mdb_source(mdb_attrs[MDBE_ATTR_SOURCE], in br_mdb_config_attrs_init()
1162 __mdb_entry_to_br_ip(cfg->entry, &cfg->group, mdb_attrs); in br_mdb_config_attrs_init()
[all …]