Lines Matching refs:mf6cctl
294 struct mf6cctl mf6cctl; in AddMulticastForwardingCache() local
320 memset(&mf6cctl, 0, sizeof(mf6cctl)); in AddMulticastForwardingCache()
322 …memcpy(mf6cctl.mf6cc_origin.sin6_addr.s6_addr, aSrcAddr.GetBytes(), sizeof(mf6cctl.mf6cc_origin.si… in AddMulticastForwardingCache()
323 memcpy(mf6cctl.mf6cc_mcastgrp.sin6_addr.s6_addr, aGroupAddr.GetBytes(), in AddMulticastForwardingCache()
324 sizeof(mf6cctl.mf6cc_mcastgrp.sin6_addr.s6_addr)); in AddMulticastForwardingCache()
325 mf6cctl.mf6cc_parent = aIif; in AddMulticastForwardingCache()
329 IF_SET(forwardMif, &mf6cctl.mf6cc_ifset); in AddMulticastForwardingCache()
336 …rExit(0 == setsockopt(mMulticastRouterSock, IPPROTO_IPV6, MRT6_ADD_MFC, &mf6cctl, sizeof(mf6cctl)), in AddMulticastForwardingCache()
350 struct mf6cctl mf6cctl; in UnblockInboundMulticastForwardingCache() local
352 memset(&mf6cctl, 0, sizeof(mf6cctl)); in UnblockInboundMulticastForwardingCache()
353 memcpy(mf6cctl.mf6cc_mcastgrp.sin6_addr.s6_addr, aGroupAddr.GetBytes(), in UnblockInboundMulticastForwardingCache()
354 sizeof(mf6cctl.mf6cc_mcastgrp.sin6_addr.s6_addr)); in UnblockInboundMulticastForwardingCache()
355 mf6cctl.mf6cc_parent = kMifIndexBackbone; in UnblockInboundMulticastForwardingCache()
356 IF_SET(kMifIndexThread, &mf6cctl.mf6cc_ifset); in UnblockInboundMulticastForwardingCache()
369 memcpy(mf6cctl.mf6cc_origin.sin6_addr.s6_addr, mfc.mSrcAddr.GetBytes(), in UnblockInboundMulticastForwardingCache()
370 sizeof(mf6cctl.mf6cc_origin.sin6_addr.s6_addr)); in UnblockInboundMulticastForwardingCache()
372 …or = (0 == setsockopt(mMulticastRouterSock, IPPROTO_IPV6, MRT6_ADD_MFC, &mf6cctl, sizeof(mf6cctl))) in UnblockInboundMulticastForwardingCache()
399 struct mf6cctl mf6cctl; in ExpireMulticastForwardingCache() local
405 memset(&mf6cctl, 0, sizeof(mf6cctl)); in ExpireMulticastForwardingCache()
591 struct mf6cctl mf6cctl; in RemoveMulticastForwardingCache() local
593 memset(&mf6cctl, 0, sizeof(mf6cctl)); in RemoveMulticastForwardingCache()
595 memcpy(mf6cctl.mf6cc_origin.sin6_addr.s6_addr, aMfc.mSrcAddr.GetBytes(), in RemoveMulticastForwardingCache()
596 sizeof(mf6cctl.mf6cc_origin.sin6_addr.s6_addr)); in RemoveMulticastForwardingCache()
597 memcpy(mf6cctl.mf6cc_mcastgrp.sin6_addr.s6_addr, aMfc.mGroupAddr.GetBytes(), in RemoveMulticastForwardingCache()
598 sizeof(mf6cctl.mf6cc_mcastgrp.sin6_addr.s6_addr)); in RemoveMulticastForwardingCache()
600 mf6cctl.mf6cc_parent = aMfc.mIif; in RemoveMulticastForwardingCache()
602 …or = (0 == setsockopt(mMulticastRouterSock, IPPROTO_IPV6, MRT6_DEL_MFC, &mf6cctl, sizeof(mf6cctl))) in RemoveMulticastForwardingCache()