xnu-4903.241.1/bsd/netinet6/in6_mcast.c
/*
 * Mark socket-layer filter set deltas as committed.
 *
 * Caller is expected to be holding im6o_lock.
 */
Mark socket-layer filter set deltas as committed.
Caller is expected to be holding im6o_lock.
Mark socket - layer filter set deltas as committed . Caller is expected to be holding im6o_lock .
static void
im6f_commit(struct in6_mfilter *imf)
{
	struct ip6_msource	*ims;
	struct in6_msource	*lims;
	RB_FOREACH(ims, ip6_msource_tree, &imf->im6f_sources) {
		lims = (struct in6_msource *)ims;
		lims->im6sl_st[0] = lims->im6sl_st[1];
	}
	imf->im6f_st[0] = imf->im6f_st[1];
}
static void im6f_commit ( struct in6_mfilter * imf ) { struct ip6_msource * ims ; struct in6_msource * lims ; RB_FOREACH ( ims , ip6_msource_tree , & imf -> im6f_sources ) { lims = ( struct in6_msource * ) ims ; lims -> im6sl_st [ 0 ] = lims -> im6sl_st [ 1 ] ; } imf -> im6f_st [ 0 ] = imf -> im6f_st [ 1 ] ; }
Mark socket-layer filter set deltas as committed.
Mark socket - layer filter set deltas as committed .