Lines Matching refs:ifindex
110 if (nla_put_nohdr(skb, sizeof(u32), &p->dev->ifindex) || in br_rports_fill_info()
239 int ifindex; in __mdb_fill_info() local
243 ifindex = p->key.port->dev->ifindex; in __mdb_fill_info()
247 ifindex = mp->br->dev->ifindex; in __mdb_fill_info()
252 e.ifindex = ifindex; in __mdb_fill_info()
392 if (bpm->ifindex) { in br_mdb_valid_dump_req()
440 bpm->ifindex = dev->ifindex; in br_mdb_dump()
478 bpm->ifindex = dev->ifindex; in nlmsg_populate_mdb_fill()
584 int ifindex, u16 vid, u32 pid, in nlmsg_populate_rtr_fill() argument
598 bpm->ifindex = dev->ifindex; in nlmsg_populate_rtr_fill()
606 if (nla_put_nohdr(skb, sizeof(u32), &ifindex)) { in nlmsg_populate_rtr_fill()
640 int ifindex; in br_rtr_notify() local
643 ifindex = pmctx ? pmctx->port->dev->ifindex : 0; in br_rtr_notify()
650 err = nlmsg_populate_rtr_fill(skb, dev, ifindex, vid, 0, 0, type, in br_rtr_notify()
667 if (entry->ifindex == 0) { in is_valid_mdb_entry()
772 if (bpm->ifindex == 0) { in br_mdb_parse()
777 dev = __dev_get_by_index(net, bpm->ifindex); in br_mdb_parse()
1009 if (entry->ifindex != br->dev->ifindex) { in br_mdb_add()
1010 pdev = __dev_get_by_index(net, entry->ifindex); in br_mdb_add()
1072 if (entry->ifindex == mp->br->dev->ifindex && mp->host_joined) { in __br_mdb_del()
1084 if (!p->key.port || p->key.port->dev->ifindex != entry->ifindex) in __br_mdb_del()
1119 if (entry->ifindex != br->dev->ifindex) { in br_mdb_del()
1120 pdev = __dev_get_by_index(net, entry->ifindex); in br_mdb_del()