Lines Matching refs:aInfraIfIndex

92 static void OpenIp4Socket(uint32_t aInfraIfIndex)  in OpenIp4Socket()  argument
94 OT_UNUSED_VARIABLE(aInfraIfIndex); in OpenIp4Socket()
110 ifname = if_indextoname(aInfraIfIndex, nameBuffer); in OpenIp4Socket()
117 value = aInfraIfIndex; in OpenIp4Socket()
140 mreqn.imr_ifindex = aInfraIfIndex; in OpenIp4Socket()
157 static void JoinOrLeaveIp4MulticastGroup(bool aJoin, uint32_t aInfraIfIndex) in JoinOrLeaveIp4MulticastGroup() argument
164 mreqn.imr_ifindex = aInfraIfIndex; in JoinOrLeaveIp4MulticastGroup()
177 static void OpenIp6Socket(uint32_t aInfraIfIndex) in OpenIp6Socket() argument
179 OT_UNUSED_VARIABLE(aInfraIfIndex); in OpenIp6Socket()
194 ifname = if_indextoname(aInfraIfIndex, nameBuffer); in OpenIp6Socket()
201 value = aInfraIfIndex; in OpenIp6Socket()
217 value = aInfraIfIndex; in OpenIp6Socket()
237 static void JoinOrLeaveIp6MulticastGroup(bool aJoin, uint32_t aInfraIfIndex) in JoinOrLeaveIp6MulticastGroup() argument
245 mreq6.ipv6mr_interface = (int)aInfraIfIndex; in JoinOrLeaveIp6MulticastGroup()
258 otError otPlatMdnsSetListeningEnabled(otInstance *aInstance, bool aEnable, uint32_t aInfraIfIndex) in otPlatMdnsSetListeningEnabled() argument
266 OpenIp4Socket(aInfraIfIndex); in otPlatMdnsSetListeningEnabled()
267 JoinOrLeaveIp4MulticastGroup(/* aJoin */ true, aInfraIfIndex); in otPlatMdnsSetListeningEnabled()
268 OpenIp6Socket(aInfraIfIndex); in otPlatMdnsSetListeningEnabled()
269 JoinOrLeaveIp6MulticastGroup(/* aJoin */ true, aInfraIfIndex); in otPlatMdnsSetListeningEnabled()
272 sInfraIfIndex = aInfraIfIndex; in otPlatMdnsSetListeningEnabled()
278 JoinOrLeaveIp4MulticastGroup(/* aJoin */ false, aInfraIfIndex); in otPlatMdnsSetListeningEnabled()
279 JoinOrLeaveIp6MulticastGroup(/* aJoin */ false, aInfraIfIndex); in otPlatMdnsSetListeningEnabled()
289 void otPlatMdnsSendMulticast(otInstance *aInstance, otMessage *aMessage, uint32_t aInfraIfIndex) in otPlatMdnsSendMulticast() argument
292 OT_UNUSED_VARIABLE(aInfraIfIndex); in otPlatMdnsSendMulticast()
533 otError otPlatMdnsSetListeningEnabled(otInstance *aInstance, bool aEnable, uint32_t aInfraIfIndex) in otPlatMdnsSetListeningEnabled() argument
537 OT_UNUSED_VARIABLE(aInfraIfIndex); in otPlatMdnsSetListeningEnabled()
542 void otPlatMdnsSendMulticast(otInstance *aInstance, otMessage *aMessage, uint32_t aInfraIfIndex) in otPlatMdnsSendMulticast() argument
545 OT_UNUSED_VARIABLE(aInfraIfIndex); in otPlatMdnsSendMulticast()