Lines Matching refs:bpm
386 struct br_port_msg *bpm;
391 cb->nlh->nlmsg_seq, RTM_GETMDB, sizeof(*bpm),
396 bpm = nlmsg_data(nlh);
397 memset(bpm, 0, sizeof(*bpm));
398 bpm->ifindex = dev->ifindex;
422 struct br_port_msg *bpm;
425 nlh = nlmsg_put(skb, 0, 0, type, sizeof(*bpm), 0);
429 bpm = nlmsg_data(nlh);
430 memset(bpm, 0, sizeof(*bpm));
431 bpm->family = AF_BRIDGE;
432 bpm->ifindex = dev->ifindex;
571 struct br_port_msg *bpm;
574 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*bpm), 0);
578 bpm = nlmsg_data(nlh);
579 memset(bpm, 0, sizeof(*bpm));
580 bpm->family = AF_BRIDGE;
581 bpm->ifindex = dev->ifindex;
1628 struct br_port_msg *bpm;
1632 nlh = nlmsg_put(skb, portid, seq, RTM_NEWMDB, sizeof(*bpm), 0);
1636 bpm = nlmsg_data(nlh);
1637 memset(bpm, 0, sizeof(*bpm));
1638 bpm->family = AF_BRIDGE;
1639 bpm->ifindex = mp->br->dev->ifindex;