Home
last modified time | relevance | path

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

/net/bridge/
Dbr_mdb.c346 struct switchdev_obj_port_mdb mdb = { in br_mdb_switchdev_host_port() local
355 ip_eth_mc_map(entry->addr.u.ip4, mdb.addr); in br_mdb_switchdev_host_port()
358 ipv6_eth_mc_map(&entry->addr.u.ip6, mdb.addr); in br_mdb_switchdev_host_port()
361 mdb.obj.orig_dev = dev; in br_mdb_switchdev_host_port()
364 switchdev_port_obj_add(lower_dev, &mdb.obj, NULL); in br_mdb_switchdev_host_port()
367 switchdev_port_obj_del(lower_dev, &mdb.obj); in br_mdb_switchdev_host_port()
386 struct switchdev_obj_port_mdb mdb = { in __br_mdb_notify() local
400 ip_eth_mc_map(entry->addr.u.ip4, mdb.addr); in __br_mdb_notify()
403 ipv6_eth_mc_map(&entry->addr.u.ip6, mdb.addr); in __br_mdb_notify()
406 mdb.obj.orig_dev = port_dev; in __br_mdb_notify()
[all …]
/net/dsa/
Ddsa_priv.h51 const struct switchdev_obj_port_mdb *mdb; member
150 const struct switchdev_obj_port_mdb *mdb,
153 const struct switchdev_obj_port_mdb *mdb);
Dport.c339 const struct switchdev_obj_port_mdb *mdb, in dsa_port_mdb_add() argument
346 .mdb = mdb, in dsa_port_mdb_add()
353 const struct switchdev_obj_port_mdb *mdb) in dsa_port_mdb_del() argument
358 .mdb = mdb, in dsa_port_mdb_del()
Dswitch.c153 err = ds->ops->port_mdb_prepare(ds, port, info->mdb); in dsa_switch_mdb_prepare()
175 ds->ops->port_mdb_add(ds, port, info->mdb); in dsa_switch_mdb_add()
187 return ds->ops->port_mdb_del(ds, info->port, info->mdb); in dsa_switch_mdb_del()