Lines Matching refs:aInstance
43 otMessage *otUdpNewMessage(otInstance *aInstance, const otMessageSettings *aSettings) in otUdpNewMessage() argument
45 return AsCoreType(aInstance).Get<Ip6::Udp>().NewMessage(0, Message::Settings::From(aSettings)); in otUdpNewMessage()
48 otError otUdpOpen(otInstance *aInstance, otUdpSocket *aSocket, otUdpReceive aCallback, void *aConte… in otUdpOpen() argument
50 return AsCoreType(aInstance).Get<Ip6::Udp>().Open(AsCoreType(aSocket), aCallback, aContext); in otUdpOpen()
53 bool otUdpIsOpen(otInstance *aInstance, const otUdpSocket *aSocket) in otUdpIsOpen() argument
55 return AsCoreType(aInstance).Get<Ip6::Udp>().IsOpen(AsCoreType(aSocket)); in otUdpIsOpen()
58 otError otUdpClose(otInstance *aInstance, otUdpSocket *aSocket) in otUdpClose() argument
60 return AsCoreType(aInstance).Get<Ip6::Udp>().Close(AsCoreType(aSocket)); in otUdpClose()
63 otError otUdpBind(otInstance *aInstance, otUdpSocket *aSocket, const otSockAddr *aSockName, otNetif… in otUdpBind() argument
65 …return AsCoreType(aInstance).Get<Ip6::Udp>().Bind(AsCoreType(aSocket), AsCoreType(aSockName), MapE… in otUdpBind()
68 otError otUdpConnect(otInstance *aInstance, otUdpSocket *aSocket, const otSockAddr *aSockName) in otUdpConnect() argument
70 … return AsCoreType(aInstance).Get<Ip6::Udp>().Connect(AsCoreType(aSocket), AsCoreType(aSockName)); in otUdpConnect()
73 otError otUdpSend(otInstance *aInstance, otUdpSocket *aSocket, otMessage *aMessage, const otMessage… in otUdpSend() argument
75 return AsCoreType(aInstance).Get<Ip6::Udp>().SendTo(AsCoreType(aSocket), AsCoreType(aMessage), in otUdpSend()
79 otUdpSocket *otUdpGetSockets(otInstance *aInstance) { return AsCoreType(aInstance).Get<Ip6::Udp>().… in otUdpGetSockets() argument
82 void otUdpForwardSetForwarder(otInstance *aInstance, otUdpForwarder aForwarder, void *aContext) in otUdpForwardSetForwarder() argument
84 AsCoreType(aInstance).Get<Ip6::Udp>().SetUdpForwarder(aForwarder, aContext); in otUdpForwardSetForwarder()
87 void otUdpForwardReceive(otInstance *aInstance, in otUdpForwardReceive() argument
95 messageInfo.SetSockAddr(AsCoreType(aInstance).Get<Mle::MleRouter>().GetMeshLocal16()); in otUdpForwardReceive()
101 AsCoreType(aInstance).Get<Ip6::Udp>().HandlePayload(AsCoreType(aMessage), messageInfo); in otUdpForwardReceive()
107 otError otUdpAddReceiver(otInstance *aInstance, otUdpReceiver *aUdpReceiver) in otUdpAddReceiver() argument
109 return AsCoreType(aInstance).Get<Ip6::Udp>().AddReceiver(AsCoreType(aUdpReceiver)); in otUdpAddReceiver()
112 otError otUdpRemoveReceiver(otInstance *aInstance, otUdpReceiver *aUdpReceiver) in otUdpRemoveReceiver() argument
114 return AsCoreType(aInstance).Get<Ip6::Udp>().RemoveReceiver(AsCoreType(aUdpReceiver)); in otUdpRemoveReceiver()
117 otError otUdpSendDatagram(otInstance *aInstance, otMessage *aMessage, otMessageInfo *aMessageInfo) in otUdpSendDatagram() argument
119 …return AsCoreType(aInstance).Get<Ip6::Udp>().SendDatagram(AsCoreType(aMessage), AsCoreType(aMessag… in otUdpSendDatagram()
123 bool otUdpIsPortInUse(otInstance *aInstance, uint16_t port) in otUdpIsPortInUse() argument
125 return AsCoreType(aInstance).Get<Ip6::Udp>().IsPortInUse(port); in otUdpIsPortInUse()