Lines Matching refs:instance

50     Instance &instance = *static_cast<Instance *>(aInstance);  in otIp6SetEnabled()  local
53 VerifyOrExit(!instance.Get<Mac::LinkRaw>().IsEnabled(), error = kErrorInvalidState); in otIp6SetEnabled()
58 instance.Get<ThreadNetif>().Up(); in otIp6SetEnabled()
62 instance.Get<ThreadNetif>().Down(); in otIp6SetEnabled()
73 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6IsEnabled() local
75 return instance.Get<ThreadNetif>().IsUp(); in otIp6IsEnabled()
80 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6GetUnicastAddresses() local
82 return instance.Get<ThreadNetif>().GetUnicastAddresses().GetHead(); in otIp6GetUnicastAddresses()
87 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6AddUnicastAddress() local
89 return instance.Get<ThreadNetif>().AddExternalUnicastAddress( in otIp6AddUnicastAddress()
95 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6RemoveUnicastAddress() local
97 …return instance.Get<ThreadNetif>().RemoveExternalUnicastAddress(*static_cast<const Ip6::Address *>… in otIp6RemoveUnicastAddress()
102 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6GetMulticastAddresses() local
104 return instance.Get<ThreadNetif>().GetMulticastAddresses().GetHead(); in otIp6GetMulticastAddresses()
109 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6SubscribeMulticastAddress() local
111 …return instance.Get<ThreadNetif>().SubscribeExternalMulticast(*static_cast<const Ip6::Address *>(a… in otIp6SubscribeMulticastAddress()
116 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6UnsubscribeMulticastAddress() local
118 …return instance.Get<ThreadNetif>().UnsubscribeExternalMulticast(*static_cast<const Ip6::Address *>… in otIp6UnsubscribeMulticastAddress()
123 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6IsMulticastPromiscuousEnabled() local
125 return instance.Get<ThreadNetif>().IsMulticastPromiscuousEnabled(); in otIp6IsMulticastPromiscuousEnabled()
130 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6SetMulticastPromiscuousEnabled() local
132 instance.Get<ThreadNetif>().SetMulticastPromiscuous(aEnabled); in otIp6SetMulticastPromiscuousEnabled()
137 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6SetReceiveCallback() local
139 instance.Get<Ip6::Ip6>().SetReceiveDatagramCallback(aCallback, aCallbackContext); in otIp6SetReceiveCallback()
144 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6SetAddressCallback() local
146 instance.Get<ThreadNetif>().SetAddressCallback(aCallback, aCallbackContext); in otIp6SetAddressCallback()
151 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6IsReceiveFilterEnabled() local
153 return instance.Get<Ip6::Ip6>().IsReceiveIp6FilterEnabled(); in otIp6IsReceiveFilterEnabled()
158 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6SetReceiveFilterEnabled() local
160 instance.Get<Ip6::Ip6>().SetReceiveIp6FilterEnabled(aEnabled); in otIp6SetReceiveFilterEnabled()
165 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6Send() local
167 return instance.Get<Ip6::Ip6>().SendRaw(*static_cast<Message *>(aMessage)); in otIp6Send()
172 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6NewMessage() local
174 return instance.Get<Ip6::Ip6>().NewMessage(0, Message::Settings(aSettings)); in otIp6NewMessage()
182 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6NewMessageFromBuffer() local
187 … message = instance.Get<Ip6::Ip6>().NewMessage(aData, aDataLength, Message::Settings(aSettings)); in otIp6NewMessageFromBuffer()
191 message = instance.Get<Ip6::Ip6>().NewMessage(aData, aDataLength); in otIp6NewMessageFromBuffer()
199 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6AddUnsecurePort() local
201 return instance.Get<Ip6::Filter>().AddUnsecurePort(aPort); in otIp6AddUnsecurePort()
206 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6RemoveUnsecurePort() local
208 return instance.Get<Ip6::Filter>().RemoveUnsecurePort(aPort); in otIp6RemoveUnsecurePort()
213 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6RemoveAllUnsecurePorts() local
215 instance.Get<Ip6::Filter>().RemoveAllUnsecurePorts(); in otIp6RemoveAllUnsecurePorts()
220 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6GetUnsecurePorts() local
222 return instance.Get<Ip6::Filter>().GetUnsecurePorts(*aNumEntries); in otIp6GetUnsecurePorts()
270 Instance & instance = *static_cast<Instance *>(aInstance); in otIp6SelectSourceAddress() local
273 …netifAddr = instance.Get<Ip6::Ip6>().SelectSourceAddress(*static_cast<Ip6::MessageInfo *>(aMessage… in otIp6SelectSourceAddress()
289 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6RegisterMulticastListeners() local
291 …return instance.Get<MlrManager>().RegisterMulticastListeners(aAddresses, aAddressNum, aTimeout, aC… in otIp6RegisterMulticastListeners()
305 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6SetSlaacEnabled() local
309 instance.Get<Utils::Slaac>().Enable(); in otIp6SetSlaacEnabled()
313 instance.Get<Utils::Slaac>().Disable(); in otIp6SetSlaacEnabled()
319 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6SetSlaacPrefixFilter() local
321 instance.Get<Utils::Slaac>().SetFilter(aFilter); in otIp6SetSlaacPrefixFilter()
330 Instance &instance = *static_cast<Instance *>(aInstance); in otIp6SetMeshLocalIid() local
332 …return instance.Get<Mle::MleRouter>().SetMeshLocalIid(static_cast<const Ip6::InterfaceIdentifier &… in otIp6SetMeshLocalIid()