Searched refs:br_mdb_entry (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/net/bridge/ |
D | br_mdb.c | 135 static void __mdb_entry_fill_flags(struct br_mdb_entry *e, unsigned char flags) in __mdb_entry_fill_flags() 149 static void __mdb_entry_to_br_ip(struct br_mdb_entry *entry, struct br_ip *ip, in __mdb_entry_to_br_ip() 237 struct br_mdb_entry e; in __mdb_fill_info() 506 nla_total_size(sizeof(struct br_mdb_entry)) + in rtnl_mdb_nlmsg_size() 666 static bool is_valid_mdb_entry(struct br_mdb_entry *entry, in is_valid_mdb_entry() 758 struct net_device **pdev, struct br_mdb_entry **pentry, in br_mdb_parse() 762 struct br_mdb_entry *entry; in br_mdb_parse() 796 if (nla_len(tb[MDBA_SET_ENTRY]) != sizeof(struct br_mdb_entry)) { in br_mdb_parse() 826 const struct br_mdb_entry *entry, in __br_mdb_choose_context() 857 struct br_mdb_entry *entry, in br_mdb_add_group() [all …]
|
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/ |
D | prestera_switchdev.c | 1498 struct prestera_br_mdb_entry *br_mdb_entry; in prestera_br_mdb_entry_create() local 1501 br_mdb_entry = kzalloc(sizeof(*br_mdb_entry), GFP_KERNEL); in prestera_br_mdb_entry_create() 1502 if (!br_mdb_entry) in prestera_br_mdb_entry_create() 1509 br_mdb_entry->mdb = mdb_entry; in prestera_br_mdb_entry_create() 1510 br_mdb_entry->bridge = br_dev; in prestera_br_mdb_entry_create() 1511 br_mdb_entry->enabled = true; in prestera_br_mdb_entry_create() 1512 INIT_LIST_HEAD(&br_mdb_entry->br_mdb_port_list); in prestera_br_mdb_entry_create() 1514 list_add(&br_mdb_entry->br_mdb_entry_node, &br_dev->br_mdb_entry_list); in prestera_br_mdb_entry_create() 1516 return br_mdb_entry; in prestera_br_mdb_entry_create() 1519 kfree(br_mdb_entry); in prestera_br_mdb_entry_create()
|
/linux-6.1.9/include/uapi/linux/ |
D | if_bridge.h | 689 struct br_mdb_entry { struct
|