Searched refs:multicast_ctx (Results 1 – 8 of 8) sorted by relevance
/linux/net/bridge/ |
H A D | br_sysfs_br.c | 390 return sprintf(buf, "%d\n", br->multicast_ctx.multicast_router); in multicast_router_show() 396 return br_multicast_set_router(&br->multicast_ctx, val); in set_multicast_router() 453 return sprintf(buf, "%d\n", br->multicast_ctx.multicast_querier); in multicast_querier_show() 459 return br_multicast_set_querier(&br->multicast_ctx, val); in set_multicast_querier() 520 return sprintf(buf, "%u\n", br->multicast_ctx.multicast_igmp_version); in multicast_igmp_version_show() 526 return br_multicast_set_igmp_version(&br->multicast_ctx, val); in set_multicast_igmp_version() 542 return sprintf(buf, "%u\n", br->multicast_ctx.multicast_last_member_count); in multicast_last_member_count_show() 548 br->multicast_ctx.multicast_last_member_count = val; in set_last_member_count() 564 return sprintf(buf, "%u\n", br->multicast_ctx.multicast_startup_query_count); in multicast_startup_query_count_show() 570 br->multicast_ctx.multicast_startup_query_count = val; in set_startup_query_count() [all …]
|
H A D | br_netlink.c | 303 p->multicast_ctx.multicast_router) || in br_port_fill_attrs() 309 br_multicast_ngroups_get(&p->multicast_ctx)) || in br_port_fill_attrs() 311 br_multicast_ngroups_get_max(&p->multicast_ctx))) in br_port_fill_attrs() 1027 err = br_multicast_set_port_router(&p->multicast_ctx, in br_setport() 1046 br_multicast_ngroups_set_max(&p->multicast_ctx, max_groups); in br_setport() 1404 err = br_multicast_set_router(&br->multicast_ctx, in br_changelink() 1428 err = br_multicast_set_querier(&br->multicast_ctx, in br_changelink() 1444 br->multicast_ctx.multicast_last_member_count = val; in br_changelink() 1450 br->multicast_ctx.multicast_startup_query_count = val; in br_changelink() 1456 br->multicast_ctx.multicast_last_member_interval = clock_t_to_jiffies(val); in br_changelink() [all …]
|
H A D | br_multicast.c | 212 struct net_bridge_mcast_port *pmctx = &pg->key.port->multicast_ctx; in br_multicast_pg_to_port_ctx() 732 err = br_multicast_port_ngroups_inc_one(&port->multicast_ctx, extack, in br_multicast_port_ngroups_inc() 758 br_multicast_port_ngroups_dec_one(&port->multicast_ctx); in br_multicast_port_ngroups_inc() 773 br_multicast_port_ngroups_dec_one(&port->multicast_ctx); in br_multicast_port_ngroups_dec() 2028 br_multicast_port_ctx_init(port, NULL, &port->multicast_ctx); in br_multicast_add_port() 2056 br_multicast_port_ctx_deinit(&port->multicast_ctx); in br_multicast_del_port() 2113 __br_multicast_enable_port_ctx(&port->multicast_ctx); in br_multicast_enable_port() 2143 __br_multicast_disable_port_ctx(&port->multicast_ctx); in br_multicast_disable_port() 4084 br_multicast_ctx_init(br, NULL, &br->multicast_ctx); in br_multicast_init() 4196 __br_multicast_open(&br->multicast_ctx); in br_multicast_open() [all …]
|
H A D | br_mdb.c | 97 pmctx = &p->multicast_ctx; in br_rports_fill_info() 114 p->multicast_ctx.multicast_router) || in br_rports_fill_info() 278 dump_srcs_mode = !!(mp->br->multicast_ctx.multicast_igmp_version == 3); in __mdb_fill_info() 288 dump_srcs_mode = !!(mp->br->multicast_ctx.multicast_mld_version == 2); in __mdb_fill_info() 403 err = br_rports_fill_info(skb, &br->multicast_ctx); in br_mdb_dump() 474 if (pg->key.port->br->multicast_ctx.multicast_igmp_version == 2) in rtnl_mdb_nlmsg_pg_size() 483 if (pg->key.port->br->multicast_ctx.multicast_mld_version == 1) in rtnl_mdb_nlmsg_pg_size() 698 brmctx = &br->multicast_ctx; in __br_mdb_choose_context()
|
H A D | br_sysfs_if.c | 247 return sprintf(buf, "%d\n", p->multicast_ctx.multicast_router); in show_multicast_router() 253 return br_multicast_set_port_router(&p->multicast_ctx, v); in store_multicast_router()
|
H A D | br_input.c | 105 brmctx = &p->br->multicast_ctx; in br_handle_frame_finish() 106 pmctx = &p->multicast_ctx; in br_handle_frame_finish()
|
H A D | br_device.c | 33 struct net_bridge_mcast *brmctx = &br->multicast_ctx; in br_dev_xmit()
|
H A D | br_private.h | 415 struct net_bridge_mcast_port multicast_ctx; member 536 struct net_bridge_mcast multicast_ctx; member 1247 return &pmctx->port->br->multicast_ctx; in br_multicast_port_ctx_get_global()
|