Lines Matching defs:join_state
227 static void adjust_membership(struct mcast_group *group, u8 join_state, int inc)
231 for (i = 0; i < 3; i++, join_state >>= 1)
232 if (join_state & 0x1)
251 return leave_state & group->rec.join_state;
324 /* join_state checked separately, proxy_join ignored */
355 rec.join_state = leave_state;
373 u8 join_state)
376 adjust_membership(group, join_state, 1);
377 group->rec.join_state |= join_state;
379 member->multicast.rec.join_state = join_state;
413 adjust_membership(group, member->multicast.rec.join_state, -1);
425 group->rec.join_state = 0;
437 u8 join_state;
454 join_state = multicast->rec.join_state;
457 if (join_state == (group->rec.join_state & join_state)) {
461 join_group(group, member, join_state);
482 join_state = get_leave_state(group);
483 if (join_state) {
484 group->rec.join_state &= ~join_state;
486 if (send_leave(group, join_state))
671 adjust_membership(group, multicast->rec.join_state, -1);