FreeBSD/sys/netinet/in_mcast.c
/*
 * Mark socket-layer filter set deltas as committed.
 */
Mark socket-layer filter set deltas as committed.
Mark socket - layer filter set deltas as committed .
static void
imf_commit(struct in_mfilter *imf)
{
	struct ip_msource	*ims;
	struct in_msource	*lims;
	RB_FOREACH(ims, ip_msource_tree, &imf->imf_sources) {
		lims = (struct in_msource *)ims;
		lims->imsl_st[0] = lims->imsl_st[1];
	}
	imf->imf_st[0] = imf->imf_st[1];
}
static void imf_commit ( struct in_mfilter * imf ) { struct ip_msource * ims ; struct in_msource * lims ; RB_FOREACH ( ims , ip_msource_tree , & imf -> imf_sources ) { lims = ( struct in_msource * ) ims ; lims -> imsl_st [ 0 ] = lims -> imsl_st [ 1 ] ; } imf -> imf_st [ 0 ] = imf -> imf_st [ 1 ] ; }
Mark socket-layer filter set deltas as committed.
Mark socket - layer filter set deltas as committed .