Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/bridge/
Dbr_mdb.c72 struct nlattr **mdb_attrs) in __mdb_entry_to_br_ip() argument
80 if (mdb_attrs && mdb_attrs[MDBE_ATTR_SOURCE]) in __mdb_entry_to_br_ip()
81 ip->src.ip4 = nla_get_in_addr(mdb_attrs[MDBE_ATTR_SOURCE]); in __mdb_entry_to_br_ip()
86 if (mdb_attrs && mdb_attrs[MDBE_ATTR_SOURCE]) in __mdb_entry_to_br_ip()
87 ip->src.ip6 = nla_get_in6_addr(mdb_attrs[MDBE_ATTR_SOURCE]); in __mdb_entry_to_br_ip()
759 struct nlattr **mdb_attrs, struct netlink_ext_ack *extack) in br_mdb_parse() argument
807 err = nla_parse_nested(mdb_attrs, MDBE_ATTR_MAX, in br_mdb_parse()
812 if (mdb_attrs[MDBE_ATTR_SOURCE] && in br_mdb_parse()
813 !is_valid_mdb_source(mdb_attrs[MDBE_ATTR_SOURCE], in br_mdb_parse()
817 memset(mdb_attrs, 0, in br_mdb_parse()
[all …]