Lines Matching refs:bpm
387 struct br_port_msg *bpm; in br_mdb_dump() local
392 cb->nlh->nlmsg_seq, RTM_GETMDB, sizeof(*bpm), in br_mdb_dump()
397 bpm = nlmsg_data(nlh); in br_mdb_dump()
398 memset(bpm, 0, sizeof(*bpm)); in br_mdb_dump()
399 bpm->ifindex = dev->ifindex; in br_mdb_dump()
423 struct br_port_msg *bpm; in nlmsg_populate_mdb_fill() local
426 nlh = nlmsg_put(skb, 0, 0, type, sizeof(*bpm), 0); in nlmsg_populate_mdb_fill()
430 bpm = nlmsg_data(nlh); in nlmsg_populate_mdb_fill()
431 memset(bpm, 0, sizeof(*bpm)); in nlmsg_populate_mdb_fill()
432 bpm->family = AF_BRIDGE; in nlmsg_populate_mdb_fill()
433 bpm->ifindex = dev->ifindex; in nlmsg_populate_mdb_fill()
543 struct br_port_msg *bpm; in nlmsg_populate_rtr_fill() local
546 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*bpm), 0); in nlmsg_populate_rtr_fill()
550 bpm = nlmsg_data(nlh); in nlmsg_populate_rtr_fill()
551 memset(bpm, 0, sizeof(*bpm)); in nlmsg_populate_rtr_fill()
552 bpm->family = AF_BRIDGE; in nlmsg_populate_rtr_fill()
553 bpm->ifindex = dev->ifindex; in nlmsg_populate_rtr_fill()