Home
last modified time | relevance | path

Searched refs:CoapCtxType (Results 1 - 10 of 10) sorted by relevance

/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/include/coap_discover/
H A Dcoap_app.h41 } CoapCtxType; typedef
45 CoapCtxType *CoapGetCoapCtxType(const coap_context_t *ctx);
47 CoapCtxType *CoapServerInit(const struct in_addr *ip, void *iface);
48 void CoapServerDestroy(CoapCtxType *ctx, bool moduleDeinit);
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/include/mini_discover/
H A Dcoap_app.h46 } CoapCtxType; typedef
51 CoapCtxType *CoapGetCoapCtxType(void);
53 CoapCtxType *CoapServerInit(const struct in_addr *ip, void *iface);
54 void CoapServerDestroy(CoapCtxType *ctx, bool moduleDeinit);
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/coap_discover/
H A Dcoap_app.c43 static uint32_t GetTimeout(CoapCtxType *ctx, EpollDesc epollfd);
52 static void CoapContextInsert(CoapCtxType *ctx) in CoapContextInsert()
57 static void CoapContextRemove(CoapCtxType *ctx) in CoapContextRemove()
62 CoapCtxType *CoapGetCoapCtxType(const coap_context_t *ctx) in CoapGetCoapCtxType()
66 CoapCtxType *coapCtx = (CoapCtxType *)pos; in CoapGetCoapCtxType()
177 CoapCtxType *ctx = (CoapCtxType *)pos; in CoAPEpollErrorHandle()
197 CoapCtxType *ctx = (CoapCtxType *)po in RegisterCtxTask()
[all...]
H A Dcoap_discover.c153 static int32_t CoapSendRequestEx(CoapCtxType *ctx, uint8_t coapType, const char *url, char *data, size_t dataLen) in CoapSendRequestEx()
210 static int32_t CoapSendRequest(CoapCtxType *ctx, uint8_t coapType, const char *url, char *data, size_t dataLen) in CoapSendRequest()
219 static int32_t CoapResponseService(CoapCtxType *ctx, const char *remoteUrl, uint8_t businessType) in CoapResponseService()
278 CoapCtxType *ctx = CoapGetCoapCtxType(currCtx); in CoapResponseServiceDiscovery()
303 const CoapCtxType *coapCtx = CoapGetCoapCtxType(currCtx); in HndPostServiceDiscoverEx()
602 static int32_t CoapPostServiceDiscoverEx(CoapCtxType *ctx)
633 int ret = CoapPostServiceDiscoverEx((CoapCtxType *)pos);
950 CoapCtxType *ctx = LocalIfaceGetCoapCtxByRemoteIp(remoteIp, msgCtx->type);
983 static int32_t CoapPostServiceNotificationEx(CoapCtxType *ctx)
1013 int32_t ret = CoapPostServiceNotificationEx((CoapCtxType *)po
[all...]
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/include/
H A Dnstackx_device_local.h67 CoapCtxType *LocalIfaceGetCoapCtx(const char *ifname);
69 CoapCtxType *LocalIfaceGetCoapCtxByRemoteIp(const struct in_addr *remoteIp, uint8_t serverType);
H A Dnstackx_device.h148 int32_t UpdateDeviceDb(const CoapCtxType *coapCtx, const DeviceInfo *deviceInfo, uint8_t forceUpdate,
153 int32_t ReportDiscoveredDevice(const CoapCtxType *coapCtx, const DeviceInfo *deviceInfo,
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/mini_discover/
H A Dcoap_app.c55 static CoapCtxType g_coapCtx;
71 CoapCtxType *CoapGetCoapCtxType(void) in CoapGetCoapCtxType()
355 CoapCtxType *CoapServerInit(const struct in_addr *ip, void *iface) in CoapServerInit()
386 void CoapServerDestroy(CoapCtxType *ctx, bool moduleDeinit) in CoapServerDestroy()
H A Dcoap_discover.c151 const CoapCtxType *coapCtx = CoapGetCoapCtxType(); in HndPostServiceDiscoverEx()
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/
H A Dnstackx_device.c110 static int32_t UpdateDeviceDbInDeviceList(const CoapCtxType *coapCtx, const DeviceInfo *deviceInfo, in UpdateDeviceDbInDeviceList()
137 int32_t UpdateDeviceDb(const CoapCtxType *coapCtx, const DeviceInfo *deviceInfo, uint8_t forceUpdate, in UpdateDeviceDb()
149 int32_t ReportDiscoveredDevice(const CoapCtxType *coapCtx, const DeviceInfo *deviceInfo, in ReportDiscoveredDevice()
H A Dnstackx_device_local.c48 CoapCtxType *ctx;
668 CoapCtxType *LocalIfaceGetCoapCtx(const char *ifname) in LocalIfaceGetCoapCtx()
715 CoapCtxType *LocalIfaceGetCoapCtxByRemoteIp(const struct in_addr *remoteIp, uint8_t serverType) in LocalIfaceGetCoapCtxByRemoteIp()

Completed in 8 milliseconds