Lines Matching refs:group
198 static u32 amt_group_hash(struct amt_tunnel_list *tunnel, union amt_addr *group) in amt_group_hash() argument
200 u32 hash = jhash(group, sizeof(*group), tunnel->amt->hash_seed); in amt_group_hash()
206 union amt_addr *group, in amt_lookup_group() argument
210 u32 hash = amt_group_hash(tunnel, group); in amt_lookup_group()
214 if (amt_addr_equal(&gnode->group_addr, group) && in amt_lookup_group()
465 union amt_addr *group, in amt_add_group() argument
483 gnode->group_addr = *group; in amt_add_group()
493 hash = amt_group_hash(tunnel, group); in amt_add_group()
561 ihv3->group = 0; in amt_build_igmp_gq()
1174 union amt_addr group = {0,}; in amt_dev_xmit() local
1209 group.ip4 = iph->daddr; in amt_dev_xmit()
1233 group.ip6 = ip6h->daddr; in amt_dev_xmit()
1272 hash = amt_group_hash(tunnel, &group); in amt_dev_xmit()
1943 union amt_addr group, host; in amt_igmpv2_report_handler() local
1945 memset(&group, 0, sizeof(union amt_addr)); in amt_igmpv2_report_handler()
1946 group.ip4 = ih->group; in amt_igmpv2_report_handler()
1950 gnode = amt_lookup_group(tunnel, &group, &host, false); in amt_igmpv2_report_handler()
1952 gnode = amt_add_group(amt, tunnel, &group, &host, false); in amt_igmpv2_report_handler()
1980 union amt_addr group, host; in amt_igmpv2_leave_handler() local
1982 memset(&group, 0, sizeof(union amt_addr)); in amt_igmpv2_leave_handler()
1983 group.ip4 = ih->group; in amt_igmpv2_leave_handler()
1987 gnode = amt_lookup_group(tunnel, &group, &host, false); in amt_igmpv2_leave_handler()
2000 union amt_addr group, host; in amt_igmpv3_report_handler() local
2017 memset(&group, 0, sizeof(union amt_addr)); in amt_igmpv3_report_handler()
2018 group.ip4 = grec->grec_mca; in amt_igmpv3_report_handler()
2021 gnode = amt_lookup_group(tunnel, &group, &host, false); in amt_igmpv3_report_handler()
2023 gnode = amt_add_group(amt, tunnel, &group, &host, in amt_igmpv3_report_handler()
2104 union amt_addr group, host; in amt_mldv1_report_handler() local
2106 memcpy(&group.ip6, &mld->mld_mca, sizeof(struct in6_addr)); in amt_mldv1_report_handler()
2109 gnode = amt_lookup_group(tunnel, &group, &host, true); in amt_mldv1_report_handler()
2111 gnode = amt_add_group(amt, tunnel, &group, &host, true); in amt_mldv1_report_handler()
2141 union amt_addr group, host; in amt_mldv1_leave_handler() local
2143 memcpy(&group.ip6, &mld->mld_mca, sizeof(struct in6_addr)); in amt_mldv1_leave_handler()
2147 gnode = amt_lookup_group(tunnel, &group, &host, true); in amt_mldv1_leave_handler()
2162 union amt_addr group, host; in amt_mldv2_report_handler() local
2179 memset(&group, 0, sizeof(union amt_addr)); in amt_mldv2_report_handler()
2180 group.ip6 = grec->grec_mca; in amt_mldv2_report_handler()
2183 gnode = amt_lookup_group(tunnel, &group, &host, true); in amt_mldv2_report_handler()
2185 gnode = amt_add_group(amt, tunnel, &group, &host, in amt_mldv2_report_handler()